Ask Your Question

Revision history [back]

Inspecting Mat in Microsoft Debugger

I have got an error trying to scan image content and process it pixel by pixel. I decided to check 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- and read image from file: Mat MyImage; MyImage = imread("Circle.bmp", IMREAD_GRAYSCALE); What's wrong?