pub fn resolve_masking_input(
input: MaskingInput,
phases: &[&[f64]],
magnitudes: &[&[f64]],
metadata: &ScanMetadata,
) -> Result<Vec<f64>, PipelineError>Expand description
The image a section with this input thresholds (see the module docs).
§Arguments
input- Which data source to usephases- Per-echo wrapped phase (forMaskingInput::PhaseQuality)magnitudes- Per-echo magnitude, all echoes (optionally homogeneity-corrected)metadata- Scan metadata
§Errors
PipelineError::InvalidInput if the input needs data that was not supplied, or a volume
does not match the grid.