pub fn pad<T: PixelComponent, const CHANNELS: usize>(
input: ImageView<'_, T, CHANNELS>,
padding: Padding,
value: [T; CHANNELS],
) -> VisionResult<Image<T, CHANNELS>>Expand description
Pads an image with a constant pixel value.
pub fn pad<T: PixelComponent, const CHANNELS: usize>(
input: ImageView<'_, T, CHANNELS>,
padding: Padding,
value: [T; CHANNELS],
) -> VisionResult<Image<T, CHANNELS>>Pads an image with a constant pixel value.