How do I view numbers in a cv::mat when debugging in visual studio [closed]
I would like to be able to see the numbers inside a cv::mat when using that matrix for image transformations, for example the camera and perspective transformation matrices that come out of the StereoCalibrate function. These are 34 or 33 size matrices and seeing the raw numbers is essential.
I would like something equivalent to "Image Watch 2017" which shows you the image represented by a cv::mat, but instead I just want to see the actual raw values. For other libraries, such as glm, the matrices are stored as arrays of arrays so I can actually go in the debugger and see the raw values, is there a plugin or something equivalent that allows me to do this when doing Visual Studio debugging using C++?
What*s wrong with Image Watch 2017? To watch raw values you just have to zoom in enough. An alternative way would be to assign
cv::Mat
tostd::vector
to get raw values.Wow, I didn't know that! That is so useful. Thank you.
i don't have VS any more, but i remember, that you could type something like:
in the debuggers expression window.