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