is indexed as follows: The pixel value for (x, y, channelIdx) is at y + x.metadata.yDim + channelIdx*metadata.yDim*metadata.xDim
Image metadata.
An inefficient implementation of equals().
An inefficient implementation of equals(). Subclasses should override this if they can implement it more cheaply and anyone cares about such things.
Get the pixel value at (x, y, channelIdx).
Get the pixel value at (x, y, channelIdx). Channels are indexed as follows:
Image metadata.
Image metadata.
Put a pixel value at (x, y, channelIdx).
Put a pixel value at (x, y, channelIdx).
Returns a flat version of the image, represented as a single array.
Returns a flat version of the image, represented as a single array. It is indexed as follows: The pixel value for (x, y, channelIdx) is at channelIdx + x*numChannels + y*numChannels*xDim.
This implementation works for arbitrary image formats but it is inefficient.
is indexed as follows: The pixel value for (x, y, channelIdx) is at y + x.
is indexed as follows: The pixel value for (x, y, channelIdx) is at y + x.metadata.yDim + channelIdx*metadata.yDim*metadata.xDim
Wraps a double array.
is indexed as follows: The pixel value for (x, y, channelIdx) is at y + x.metadata.yDim + channelIdx*metadata.yDim*metadata.xDim
Image metadata.