pub fn mip_project_axis(
voxels: &[f32],
width: usize,
height: usize,
depth: usize,
axis: MipAxis,
out: &mut [f32],
) -> Result<(usize, usize), MedicalError>Expand description
Max-intensity project a 3D volume of f32 voxels.
Layout: voxels[z * height * width + y * width + x].
out must hold the full projected plane (size depends on axis).
Returns (out_width, out_height) of the projection.