Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
Mat mask(image.size(), CV_8UC1, Scalar::all(0));
mask(ROI).setTo(Scalar::all(255));