cv.bitwise_not - MATLAB File Help
cv.bitwise_not

Inverts every bit of an array

dst = cv.bitwise_not(src)
dst = cv.bitwise_not(src, 'OptionName', optionValue, ...)

Input

Output

Options

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.

See also