pub fn build_mask_section(
section: &MaskSection,
phases: &[&[f64]],
magnitudes: &[&[f64]],
metadata: &ScanMetadata,
) -> Result<Vec<u8>, PipelineError>Expand description
Build a mask from a single section (generator + refinements). The section builds its own input and magnitude from the echoes (see the module docs).
§Arguments
section- Mask section config (input type, generator, refinements)phases- Per-echo wrapped phase (forMaskingInput::PhaseQuality)magnitudes- Per-echo magnitude, all echoes (optionally homogeneity-corrected)metadata- Scan metadata