PixelArrays
PixelArrays are a fundamental data structure used to represent digital images as a grid of pixels. Each element in a PixelArray corresponds to a single pixel position, and may store one or more color channels or intensity values. PixelArrays are used across image processing, computer vision, and computer graphics as the canonical in-memory representation of image data.
In gray-scale images, a PixelArray typically has one value per position. Color images may store three channels
PixelArrays support indexing and slicing to access or modify pixels, as well as operations such as cropping,
In practice, PixelArrays underlie many APIs and file formats, and are implemented as multi-dimensional arrays in