Lets say that we copy the pixels of an image to an array as follows:
//Copy the pixels to the array
ImgSource.CopyPixels(PixelData, Stride, 0);
Now we have the image as a one dimensional array in PixelData. Is there a way to find out the (x,y) coordinate of each element in this array ?
I need this in order to determine which points in the array are within a specific x,y region.
View Complete Post