Skip to main content

load_tiff_folder_with_options

Function load_tiff_folder_with_options 

Source
pub fn load_tiff_folder_with_options(
    dir: &Path,
    pattern: Option<&str>,
    options: &TiffFolderOptions,
) -> Result<(Array3<f64>, TiffLoadInfo), IoError>
Expand description

Load a directory of TIFFs matching a glob pattern, returning provenance metadata.

Behaves like load_tiff_folder (same extension guard and glob pattern semantics), with two additions:

§Arguments

  • dir — Path to the directory containing TIFF files.
  • pattern — Optional glob pattern to filter filenames.
  • options — Loading options (chunk summing).

§Returns

(stack, info) where stack has shape (n_frames, height, width).

§Errors