In PixelValue, the values of x range from to w+0.5, and the values of y range from to h+0.5 for an image of width w and height h.
Integer coordinates correspond to the centers of the pixels. Position represents the center of the pixel at the bottom-left corner.
PixelValue gives the value of the pixel nearest to .
Use ImageValue to extract interpolated values at in the image coordinate where x runs from to width and y runs from to height. Position corresponds to the bottom-left corner of the image.
PixelValue can be used to get pixel values for multiple positions.
PixelValue by default returns values between 0 and 1. Using PixelValue, pixel value is returned in the range specified by . See the reference page for Image for a list of all possible data types.