Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

there are binary operations in opencv , use:

mask = mask1 | mask2 | mask3 // for OR (not + !)
mask = mask1 & mask2 & mask3 // for AND