SciFiReaders.readers.generic.image.read_image

Contents

SciFiReaders.readers.generic.image.read_image#

SciFiReaders.readers.generic.image.read_image(image_path, *args, **kwargs)[source]#

Read the image file at image_path into a numpy array either via numpy (.txt) or via tiffifle(.tif) or via pillow (.jpg, etc.)

Parameters:

image_path (str) – Path to the image file

Returns:

image – Array containing the image from the file image_path.

Return type:

numpy.ndarray