Skip to main content

pyr_down

Function pyr_down 

Source
pub fn pyr_down<T: PixelComponent, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    border: BorderMode<T, CHANNELS>,
) -> VisionResult<Image<T, CHANNELS>>
Expand description

Reduces each dimension by approximately two using the canonical 5×5 kernel.