Skip to main content

wavelet_transform_f32

Function wavelet_transform_f32 

Source
pub fn wavelet_transform_f32(data: &mut [f32], h: &[f32]) -> Status
Expand description

Performs a full multi-level fast wavelet transform (Ch. 27): repeatedly applies wavelet_step_f32 to the lower half of the array, halving the active block length each time, stopping once the block would be smaller than the filter itself (mirroring the Haar transform’s pyramid structure).

data.len() must be a power of 2 and >= h.len().