Пример #1
0
 public ImageGridBuilder(int sectorRows, int sectorCols, Bitmap image)
 {
     this.sectorRows = sectorRows;
     this.sectorCols = sectorCols;
     this.image      = image;
     ColorStats      = new ImageStats(image.Width * image.Height);
     sectorWidth     = image.Width / sectorCols;
     sectorHeight    = image.Height / sectorRows;
 }
Пример #2
0
 public ImageData(ImageSource source, ImageStats imageStats)
 {
     Source = source;
     Stats  = imageStats;
 }
Пример #3
0
 public RegionProcessor(ImageStats stats)
 {
     _averageImageColorValue = stats.CalculateAverageValue();
 }