Function extract_channel

Source
pub fn extract_channel(
    image: &DynamicImage,
    channel: usize,
) -> ImageBuffer<Luma<u8>, Vec<u8>>
Expand description

Extract a color channel from an RGB image