Skip to main content

create_mip

Function create_mip 

Source
pub fn create_mip(
    data: &[f64],
    nx: usize,
    ny: usize,
    nz: usize,
    window: usize,
) -> Vec<f64>
Expand description

Minimum intensity projection along the z-axis

For each (x, y) position, takes the minimum value over a sliding window of window slices along z.

§Arguments

  • data - 3D volume (Fortran order)
  • nx, ny, nz - Array dimensions
  • window - Number of slices in the projection window

§Returns

MIP volume with dimensions nx × ny × (nz - window + 1). Returns empty vec if window > nz.