cv.bitwise_and - MATLAB File Help
cv.bitwise_and

Calculates the per-element bit-wise conjunction of two arrays or an array and a scalar

dst = cv.bitwise_and(src1, src2)
dst = cv.bitwise_and(src1, src2, 'OptionName', optionValue, ...)

Input

Output

Options

Computes bitwise conjunction of the two arrays (dst = src1 & src2).

The function calculates the per-element bit-wise logical conjunction for:

In case of floating-point arrays, their machine-specific bit representations (usually IEEE754-compliant) are used for the operation. In case of multi-channel arrays, each channel is processed independently. In the second and third cases above, the scalar is first converted to the array type.

See also