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

pub fn insert_channel(src: &Mat, dst: &mut Mat, 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