Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HighGui.imshow() does not like CV_64F (== type 6) images, i guess.

unlike its c++ counterpart, HighGui.imshow() does not like cannot process CV_64F (== type 6) images, i guess.images.

you need to convert to uchar before that:

Mat draw = new Mat();
imgCoherency.convertTo(draw, CV_8U, 255); // maybe w/o scale factor ?
HighGui.imshow("Coherency", draw);