opencv::gapi

Function bitwise_or_1

Source
pub fn bitwise_or_1(
    src1: &impl GMatTraitConst,
    src2: &impl GScalarTraitConst,
) -> Result<GMat>
Expand description

computes bitwise disjunction of the two matrixes (src1 | src2) Calculates the per-element bit-wise logical disjunction of two matrices of the same size.

In case of floating-point matrices, their machine-specific bit representations (usually IEEE754-compliant) are used for the operation. In case of multi-channel matrices, each channel is processed independently. Output matrix must have the same size and depth as the input matrices.

Supported matrix data types are [CV_8UC1], [CV_8UC3], [CV_16UC1], [CV_16SC1], [CV_32FC1].

Note: Function textual ID is “org.opencv.core.pixelwise.bitwise_or”

§Parameters

  • src1: first input matrix.
  • src2: second input matrix.

§Overloaded parameters

Note: Function textual ID is “org.opencv.core.pixelwise.bitwise_orS”

  • src1: first input matrix.
  • src2: scalar, which will be per-lemenetly disjuncted with elements of src1.