Ask Your Question

Revision history [back]

What is the datatype of your matrix? (If you want it to be white, a image.setTo(255) for an CV_8UC1-image does the job)

Have you maybe passed your image by value instead of reference?