Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

unfortunately, that's a bug in the library , (not your fault).

it was fixed here so, another pull and rebuild.

in the meantime, you may convert yourimage manually before using imshow():

 img.convertTo(img, CV_8U, 1.0/255);

unfortunately, that's a bug in the library , (not your fault).

it was fixed here so, another pull and rebuild.

in the meantime, you may convert yourimage manually before using imshow():

 img.convertTo(img, CV_8U, 1.0/255);
255);