Skip to main content

load_tiff_auto

Function load_tiff_auto 

Source
pub fn load_tiff_auto(path: &Path) -> Result<Array3<f64>, IoError>
Expand description

Load TIFF data from either a single multi-frame file or a directory.

Auto-detects based on whether path is a file or directory:

§Arguments

  • path — Path to either a multi-frame TIFF file or a directory of TIFFs.

§Returns

3D array with shape (n_frames, height, width) and f64 values.