OpNavImage.load_image

giant.image:

static OpNavImage.load_image(image_path)[source]

This method reads in a number of standard image formats using OpenCV and pyfits and converts it to grayscale if it is in color.

Parameters:

image_path (str) – The path to the image file to be read.

Returns:

The illumination data from the image file

Return type:

np.ndarray