Function pyr_down
pub fn pyr_down<T, const CHANNELS: usize>(
input: ImageView<'_, T, CHANNELS>,
border: BorderMode<T, CHANNELS>,
) -> Result<Image<T, CHANNELS>, VisionError>where
T: PixelComponent,Expand description
Reduces each dimension by approximately two using the canonical 5×5 kernel.