OpenCV - view pixel values like Matlab on MouseOver

非 Y 不嫁゛ 提交于 2019-12-24 09:02:55

问题


I have been looking around in vain to find a utility in OpenCV that works like the image viewer of Matlab, not fully functional as matlab, but atleast shows pixel values with zoom in/out functionality.

Any guidance/directions/links much appreciated

Thanks

Wajih


回答1:


Actually the functionality you want is already available, if you build opencv using qt. See here for an example image, and here for details on how to build opencv with qt.




回答2:


There is an extension to MS-Visual studio called Image Watch. It enables you to see the images in debug window during runtime.

You can see the image as well as the values by moving the mouse over the pixels.



来源:https://stackoverflow.com/questions/14221477/opencv-view-pixel-values-like-matlab-on-mouseover

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!