loaders module

loaders.load_mat(path)

Loads a .mat file using the scipy.io.loadmat() function

Parameters:path (str) – The path of the .mat file to load.
Returns:A dictionary with the image as a matrix and where the key is whatever the variable name was saved as in Matlab.
Return type:ndarray
loaders.load_tiff(path)

Loads a .tiff file using the scikit-image io.imread() function

Parameters:path (str) – The path of the .tiff file to load.
Returns:A dictionary with the image as a matrix under the im key.
Return type:ndarray