Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I don't understand what is the purpose of using bitwise_and in this case. If you want to copy some part of image to the other image, you should use:

image.copyTo(dst, mask);