First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Jul 21 '12

AlexanderShishkov gravatar image

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);