Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

that's a bug !

until it gets fixed, you'll have to add a manual conversion before the imshow() call:

img.convertTo(img, CV_8U, 255); // [0..255] range
imshow("win", img);

that's a bug !

until it gets fixed, you'll have to add a manual conversion before the imshow() call:

img.convertTo(img, CV_8U, 255); // [0..1] -> [0..255] range
imshow("win", img);