Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public ImageData(ImageSource source, ImageStats imageStats)
 {
     Source = source;
     Stats  = imageStats;
 }
Ejemplo n.º 3
0
 public RegionProcessor(ImageStats stats)
 {
     _averageImageColorValue = stats.CalculateAverageValue();
 }