在OpenCV中将标记放在图像上

时间:2013-04-04 02:32:56

标签: opencv

我正在使用cv::imshow("binary1", binary1);展示图片。我想在图像上放置一个标记来检查像素位置。如何在图像上为特定的行和列值添加标记?

1 个答案:

答案 0 :(得分:1)

很难理解你想做什么,但是我写了一段代码displays the RGB color of a pixel along with it's coordinates on the title of the window。将鼠标指针移动到图像上,您将看到它发生变化。

但它使用了Qt窗口。您可以查看cvImage

相关问题