Image Watch is a plug-in for Microsoft Visual Studio that lets you to visualize in-memory images (cv::Mat or IplImage_ objects, for example) while debugging an application. This can be helpful for tracking down bugs, or for simply understanding what a given piece of code is doing.
总的来说Image Watch 就是一个debug时候对于图像的观察的窗口。
stepone:
1.download the Image Watch Installer for visual studio 2019,安装程序是一个单文件,文件的后缀名是.vsix。
The introduction of Image Watch Installer
Image Watch is a watch window for viewing in-memory bitmaps when debugging native C++ code.
The current version has built-in support for OpenCV image types (cv::Mat, cv::Mat_<>, CvMat, _IplImage). To enable user-defined image types please refer to the Image Watch documentation.
This version works with Visual Studio 2019.
Quick Start: Simply break in the debugger and select View > Other Windows > Image Watch. Alternatively, click on the magnifying glass icon next to an image variable in your Locals window or on the debugger Data Tip.

==2double click on the .vsix file ==



3.when the installer has finished, make sure to restart Visual Studio to complete the installation.
关闭visual studio, 安装完成后重新打开visual studio

打开View Install Log,可以看到拓展程序的安装位置, 已成功完成到 Visual Studio Community 2019 的安装。扩展已经安装到 C:\USER

Image Watch是一款用于Visual Studio 2019的插件,可在调试C++应用时可视化内存中的图像。本文介绍了如何下载和安装Image Watch,以及如何在调试过程中利用它来观察和理解代码对图像的操作。步骤包括安装插件、设置项目以支持OpenCV图像,并在调试时通过Local窗口和Image Watch查看图像。
最低0.47元/天 解锁文章
192

被折叠的 条评论
为什么被折叠?



