GammaModification::GammaModification(float value_):Transformation(transformation_name, getReadableName()) { value = value_; }
ColorVisionDeficiency::ColorVisionDeficiency(DeficiencyType type_, float strength_):Transformation(transformation_name, getReadableName()) { type = type_; strength = strength_; }
GammaModification::GammaModification():Transformation(transformation_name, getReadableName()) { value = 1; }
ColorVisionDeficiency::ColorVisionDeficiency():Transformation(transformation_name, getReadableName()) { type = PROTANOMALY; strength = 0.5; }