Esempio n. 1
0
        public Clarity(Canman canman, Size ImageSize)
        {
            _curves = new Curves(new[] {0, 1, 2},
                new[] {new PointF(5, 0), new PointF(130, 150), new PointF(190, 220), new PointF(250, 255)});

            _sharpen = new Sharpen(50);
            _vignette = new Vignette(ImageSize, 60, 35);
            _satutation = new Saturation(0);
            canman.Add(_sharpen);
        }
Esempio n. 2
0
 public CrossProcess(Size ImageSize)
 {
     _exposure = new Exposure(5);
     _colorize = new Colorize(Color.FromArgb(255, 232, 123, 34), 4);
     _sepia = new Sepia(5);
     _channel = new Channels(Color.FromArgb(255, 3, 0, 8));
     _curves = new Curves(new[] {2},
         new[] {new PointF(0, 0), new PointF(100, 150), new PointF(180, 180), new PointF(255, 255)});
     _contract = new Contracts(15);
     _gamma = new Gamma(1.6F);
 }
Esempio n. 3
0
        public Exposure(float Adjust)
        {
            float p = Math.Abs(Adjust)/100;
            var ctr1 = new PointF(0.0F, 255.0F*p);
            var ctr2 = new PointF(255 - (255*p), 255);

            if (Adjust < 0)
            {
                ctr1 = new PointF(ctr1.Y, ctr1.X);
                ctr2 = new PointF(ctr2.Y, ctr2.X);
            }
            _curves = new Curves(new[] {0, 1, 2}, new[] {new PointF(0, 0), ctr1, ctr2, new PointF(255, 255)});
        }
Esempio n. 4
0
        public Lomo(SizeF imageSizeF)
        {
            _brightness15 = new Brightness(15);
            _exposure = new Exposure(15);

            _curves = new Curves(new[] {0, 1, 2},
                new[] {new PointF(0, 0), new PointF(200, 0), new PointF(155, 255), new PointF(255, 255)});

            _saturation = new Saturation(-20);
            _gamma = new Gamma(1.8F);
            _vignette = new Vignette(imageSizeF,50,60);
            _brightness5 = new Brightness(5);
        }