Inspecting Mat in Microsoft Debugger [closed]
I have got an error trying to scan image content and process it pixel by pixel. I decided to check MyImage.data. Microsoft Debugger perfectly shows all the object members, but the content of .data is all (unsigned char)255. Meanwhile the image normally shows using imshow(window_name, MyImage); I use opencv-2.4.13.2-vc14.exe and read image from file: Mat MyImage; MyImage = imread("Circle.bmp", IMREAD_GRAYSCALE); What's wrong?
In vs you can use image watch plugin
I can watch it using imshow(). I need to inspect content of the matrix. MyImage.data. Even better - each element MyImage.data(i,j).
please read http://docs.opencv.org/2.4/doc/tutori... and https://imagewatch.azurewebsites.net/...
OK. "It also displays the pixel coordinate and value at the current mouse position."