machinevisiontoolbox.Image.rgb

property Image.rgb

Image as NumPy array in RGB color order

Raises:

ValueError – image is greyscale

Returns:

image as a NumPy array in RGB color order

Return type:

ndarray(H,W,3)

The image is guaranteed to be in RGB order irrespective of current color order.

Seealso:

image bgr colororder