Function opencv::core::insert_channel

source ·
pub fn insert_channel(
    src: &impl ToInputArray,
    dst: &mut impl ToInputOutputArray,
    coi: i32
) -> Result<()>
Expand description

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