Skip to main content

pyr_up

Function pyr_up 

pub fn pyr_up<T, const CHANNELS: usize>(
    input: ImageView<'_, T, CHANNELS>,
    border: BorderMode<T, CHANNELS>,
) -> Result<Image<T, CHANNELS>, VisionError>
where T: PixelComponent,
Expand description

Doubles each dimension using zero insertion and the canonical 5×5 kernel.