bitwise_or_with_scalar

Function bitwise_or_with_scalar 

Source
pub fn bitwise_or_with_scalar(
    src1: &impl ToInputArray,
    src2: Scalar,
    dst: &mut impl ToOutputArray,
    mask: &impl ToInputArray,
    stream: &mut impl StreamTrait,
) -> Result<()>
Expand description

Performs a per-element bitwise disjunction of a matrix and scalar.

§Parameters

  • src1: First source matrix.
  • src2: Second source scalar.
  • dst: Destination matrix that has the same size and type as the input array.
  • mask: Optional operation mask, 8-bit single channel array, that specifies elements of the destination array to be changed. The mask can be used only with single channel images.
  • stream: Stream for the asynchronous version.

§See also

bitwise_or

§C++ default parameters

  • mask: noArray()
  • stream: Stream::Null()