Ask Your Question

Revision history [back]

I'm not entirely sure what is happening with this issue, but if you convert dist using gray to BGR, it will show something.

After normalize(dist, dist, 0, 1.0, cv::NORM_MINMAX); add cvtColor(dist, dist, COLOR_GRAY2BGR);