问题
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