[][src]Function opencv::core::extract_channel

pub fn extract_channel(
    src: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray,
    coi: i32
) -> Result<()>

Extracts a single channel from src (coi is 0-based index)

Parameters

  • src: input array
  • dst: output array
  • coi: index of channel to extract

See also

mixChannels, split