Beispiel #1
0
 public Correction(ICorrection ic)
 {
     _blue = new ColorValue(ic.Blue);
     _green = new ColorValue(ic.Green);
     _red = new ColorValue(ic.Red);
     _black = new LevelsValue(ic.Black);
     _shadow = new LevelsValue(ic.Shadow);
     _highlight = new LevelsValue(ic.Highlight);
     _white = new LevelsValue(ic.White);
     _midpoint = new MidtoneValue(ic.Midpoint);
     _contrast = new ContrastValue(ic.Contrast);
     _saturation = new SaturationValue(ic.Saturation);
     _rotate = new RotationValue(ic.Rotate);
 }
Beispiel #2
0
 public Correction()
 {
     _blue = new ColorValue();
     _green = new ColorValue();
     _red = new ColorValue();
     _black = new LevelsValue();
     _shadow = new LevelsValue();
     _highlight = new LevelsValue(1);
     _white = new LevelsValue(1);
     _midpoint = new MidtoneValue();
     _contrast = new ContrastValue();
     _saturation = new SaturationValue();
     _rotate = new RotationValue();
 }