Operations on Arrays — OpenCV 2.4.13.0 documentation
bitwise_and Calculates the per-element bit-wise conjunction of two arrays or an array and a scalar. C++: void bitwise_and(InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray()) Python: cv2.bitwise_and(src1, src2 [, dst [, mask]]) → ...