Skip to main content

calculate_weights_romeo_configurable

Function calculate_weights_romeo_configurable 

Source
pub fn calculate_weights_romeo_configurable(
    phase: &[f64],
    mag: &[f64],
    phase2: Option<&[f64]>,
    te1: f64,
    te2: f64,
    mask: &[u8],
    nx: usize,
    ny: usize,
    nz: usize,
    use_phase_gradient_coherence: bool,
    use_mag_coherence: bool,
    use_mag_weight: bool,
) -> Vec<u8> 
Expand description

Calculate ROMEO edge weights with configurable weight components.

Legacy 3-flag interface for backward compatibility.