OpenCV显示出矩阵的内容,目前只在Visual Studio 2012


VS中调试OpenCV程序的时候可以查看 memory中Mat的信息,非常方便好用。


必备


http://visualstudiogallery.msdn.microsoft.com/e682d542-7ef3-402c-b857-bbfba714f78d


Image Watch is a watch window for viewing in-memory bitmaps when debugging native C++ code.  

The current version (release notes herehas 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.

Installation: Visual Studio 2012 Update 2 is required. It can be downloaded here.

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 datatip.


安装:

可以这样子来

工具菜单 》》 扩展和更新



弹出的对话款右上,搜索 Image Watch  




点就可以下载 安装了 

安装好后需要重新启动VS



使用:


调试模式下


视图》》其他窗口》》Image Watch



非常好用 

有 行列坐标 和 像素值



还可以用滚轮放大




别人说对彩色图像支持不好

由于最近没有在做彩色图像

也懒得去试


光这样子已经很好用了


你们都应该去装一个


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值