Function crop
pub fn crop<T, const CHANNELS: usize>(
input: ImageView<'_, T, CHANNELS>,
region: ImageRegion,
) -> Result<Image<T, CHANNELS>, VisionError>where
T: PixelComponent,Expand description
Copies a checked rectangular region into a packed image.