Exemple #1
0
 private void StampOutHistogram(float[,] histogram, float[,] stamp, double[] xArr, double[] yArr, CustomCancellationToken token)
 {
     for (int p = 0; p < xArr.Length; p++)
     {
         ThreadingHelper.CheckCanceled(token);
         int x = (int)xArr[p];
         int y = (int)yArr[p];
         Stamp(histogram, stamp, x, y);
     }
 }