Access as a stack of 2D arrays of pixels.
Access as a stack of 2D arrays of pixels. The first index is the color plane (0 = red, 1 = green, 2 = blue), the next two indices are the row and column of the pixel, respectively.
Access as a 2D array of grayscale pixels, each pixel in [0.0, 1.0]
Get an iterator over the grayscale pixels in an image in row-major order.
Get an iterator over the grayscale pixels in an image in row-major order.
Iterator over pixels
Reads standard image files (.jpeg, .gif, .png, .bmp, .wbmp) and provides access to the pixels in the image. The "grayscale" method converts the image to a 2D pixel array with each pixel scaled to the interval [0, 1]; this method uses the green channel information as an approximation of black and white.