Image.array#
- property Image.array: ndarray[source]#
Image as NumPy array
- Returns:
image as a NumPy array
- Return type:
ndarray(H,W) or ndarray(H,W,3)
Return a read-only view of the encapsulated NumPy array that holds the pixel values.
Examples
Note
For a color image the color plane order is given by the colororder dictionary.
See also