pub fn bitwise_not(src: &impl GMatTraitConst) -> Result<GMat>
Expand description
Inverts every bit of an array.
The function bitwise_not calculates per-element bit-wise inversion of the input
matrix:
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 matrix.
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_not”
§Parameters
- src: input matrix.