Exemplo n.º 1
0
 private void CreatePixels(ImageData source)
 {
     pixelErrorDatas = new PixelErrorData[source.Width, source.Height];
     foreach (var point in source.GetPoints())
     {
         this[point] = new PixelErrorData(point, source);
         TotalError += this[point].GetError(polygonOrder);
     }
 }
Exemplo n.º 2
0
 private void CreatePixels(ImageData source)
 {
     pixelErrorDatas = new PixelErrorData[source.Width,source.Height];
     foreach (var point in source.GetPoints())
     {
         this[point] = new PixelErrorData(point, source);
         TotalError += this[point].GetError(polygonOrder);
     }
 }