pysdic.Image.to_array#

Image.to_array()[source]#

Get a copy of the image data as a numpy array.

Returns:

The image data as a numpy array, or None if no image is set.

Return type:

Optional[numpy.ndarray]