Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Question about Mat::create

This is my srcImage

image description

When I use this code

Mat srcImage = imread("1.jpg", 0),test;  
dstImage.create(srcImage.size(),srcImage.type());

I will ge such dstImage

image description

Note the place pointed by yellow arrow. I get so many white noise. It is a intention or a bug of OpenCV?