Skip to main content

temporal_bandpass_planes

Function temporal_bandpass_planes 

Source
pub fn temporal_bandpass_planes(
    frames: &[f32],
    n_frames: usize,
    plane_elems: usize,
    bp: &BandpassIir,
    state_lo: &mut [f32],
    state_hi: &mut [f32],
    out: &mut [f32],
) -> Result<(), CvError>
Expand description

Band-pass every temporal series along frame axis for a packed buffer.

Layout: frames length ≥ n_frames * plane_elems, frame-major. state_lo / state_hi each length ≥ plane_elems (initialized to first frame).