machinevisiontoolbox.Image.bgr

property Image.bgr

Image as NumPy array in BGR color order

Raises:

ValueError – image is greyscale

Returns:

image as a NumPy array in BGR color order

Return type:

ndarray(H,W,3)

The image is guaranteed to be in BGR (OpenCV standard) order irrespective of current color order.

Seealso:

image rgb colororder