[][src]Function opencv::core::insert_channel

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

Inserts a single channel to dst (coi is 0-based index)

Parameters

  • src: input array
  • dst: output array
  • coi: index of channel for insertion

See also

mixChannels, merge