Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you need to allocate space for the pixels, if you want to draw into it:

mRbga = new Mat(roi_canny.size(), CV_8UC3, Scalar.all(0));