pub fn create_mip(data: &[f64], grid: &Grid, 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)grid- Volume grid (dimensions and voxel sizes)window- Number of slices in the projection window
§Returns
MIP volume with dimensions nx × ny × (nz - window + 1).
Returns empty vec if window > nz.