Tiff
Functions to read tiff images.
read_tiff(file_path, *args, **kwargs)
Read a tiff file and return a numpy array.
Parameters:
-
file_path(Path) –Path to a file.
-
*args(list, default:()) –Additional arguments.
-
**kwargs(dict, default:{}) –Additional keyword arguments.
Returns:
-
ndarray–Resulting array.
Raises:
-
ValueError–If the file failed to open.
-
OSError–If the file failed to open.
-
ValueError–If the file is not a valid tiff.
-
ValueError–If the data dimensions are incorrect.
-
ValueError–If the axes length is incorrect.