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:
- File →
load_tiff_stack(multi-frame TIFF) - Directory →
load_tiff_directory(one file per frame)
§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.