Example #1
0
 private void LoadPicture(Bitmap bmp)
 {
     originalPhoto            = Convertors.Bitmap2Photo(bmp);
     pictureBoxOriginal.Image = bmp;
     pictureBoxResult.Image   = null;
 }
Example #2
0
 public abstract Photo Process(Photo original, IParameters parameters);
Example #3
0
        private void SavePicture(Photo photo, string filename)
        {
            var bmp = Convertors.Photo2Bitmap(photo);

            bmp.Save(filename, System.Drawing.Imaging.ImageFormat.Jpeg);
        }
Example #4
0
 public Photo Process(Photo original, double[] values)
 {
     parameters.SetValues(values);
     return(Process(original, parameters));
 }