Get pixel values.
For any image img, or indexed image ind with colormap map, returns the pixel values at the image coordinates x and y.
The 2 element vectors xdata and ydata can be used to set an alternative coordinate system.
If more than one output argument is requested, also returns the x and y coordinates for the image.
Package: image