Skip to main content

load_tiff_stack

Function load_tiff_stack 

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

Load a multi-frame TIFF into a 3D array (n_frames, height, width).

Each TIFF frame becomes one slice along the first axis. Data is converted to f64 regardless of the source pixel type.

§Arguments

  • path — Path to the multi-frame TIFF file.

§Returns

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