Skip to main content

homogeneity_masks

Function homogeneity_masks 

Source
pub fn homogeneity_masks(
    local_field: &[f64],
    mask: &[u8],
    grid: &Grid,
    params: &HeidiParams,
) -> HomogeneityMasks
Expand description

Build the three per-direction homogeneity weights from the field map.

Public so callers can inspect or reuse the weighting; heidi calls it itself.