pysdic.get_lena_image#

get_lena_image()[source]#

Get the Lena image as a numpy array. This function loads the Lena image from the package resources and returns it as a numpy array that can be used as a texture in visualizations.

Note

This function requires OpenCV (cv2) to read the image.

Lena image
Returns:

The Lena image as a numpy array with shape (474, 474) and dtype uint8.

Return type:

numpy.ndarray

Raises: