Skip to main content

build_wave_mask

Function build_wave_mask 

Source
fn build_wave_mask(
    plan: &WaveletPlan,
    imag: &[f64],
    mask: &[f64],
    have_mag: bool,
    wave_pec: f64,
    n: usize,
) -> Vec<bool>
Expand description

Build the morphology mask: coefficients whose magnitude exceeds a cumulative-energy threshold of the magnitude image’s wavelet coefficients.