pub fn compute_canopy_height_model_zero_heap(
dsm_m: &[f32],
bare_earth_dem_m: &[f32],
out_chm_m: &mut [f32],
) -> usizeExpand description
Computes clamped non-negative canopy height model: CHM = (DSM - DEM).max(0.0).
Drives space_colonization_3d tree height envelopes without heap allocation.