cv.bitwise_not - MATLAB File Help |
Inverts every bit of an array
dst = cv.bitwise_not(src)
dst = cv.bitwise_not(src, 'OptionName', optionValue, ...)
dst
when a mask is used. Not set
by default.The function calculates per-element bit-wise inversion of the input array.
dst(I) = NOT src(I)
In case of a floating-point input array, its machine-specific bit representation (usually IEEE754-compliant) is used for the operation. In case of multi-channel arrays, each channel is processed independently.