Image Watch插件学习笔记
来源:互联网 发布:电子手抄报软件 编辑:程序博客网 时间:2024/04/29 18:27
VS插件,可以方便调试,观察图像!!!
http://research.microsoft.com/en-us/um/redmond/groups/ivm/imagewatchhelp/imagewatchhelp.htm#_Toc351981445
local模式和watch模式
local模式:只读模式 the Image List (B) gets automatically populated with all image-valued variables that are on the current stack frame.
Watch 模式,可以添加 image items are added manually by the user, e.g. by typing in image-valued expressions
可以移动和放大
可以编辑, Expressions can be cut (Ctrl+X, Ctrl+Delete), copied (Ctrl+C, Ctrl+Insert), and pasted (Ctrl+V, Shift+Insert),
Image watch支持的通道类型:
· INT8, UINT8
· INT16, UINT16
· INT32
· FLOAT16
· FLOAT32
· FLOAT64
也支持特殊的YUV格式:
- NV12 (two planes: one Y plane, one packed UV plane, subsampled by 2 in both dimensions)
- YV12 (three planes: one Y plane, one packed U and V plane each, both subsampled by 2 in both dimensions)
- IYUV (same as YV12 but with U and V planes switched)
- YUY2 (single plane, interleaved two-channel format: Y in the first channel; U and V subsampled by 2 horizontally and stored alternating in the second channel)
Image Watch还支持一系列简单的操作符,以@开始
一定是在watch模式下!
- @band(img, number): extract channelnumber (UINT32) from img.
- 提取某一通道
- @thresh(img, threshold): threshold pixels inimg: return 1 if >= threshold (FLOAT32) and 0 otherwise
- 阈值化操作
- @clamp(img, min, max): clamp pixel values inimg to lie between min (FLOAT32) and max (FLOAT32).限制图像的范围在(min,max)之间
- @abs(img): take absolute value of pixels inimg
- 求绝对值
- @scale(img, factor): scale pixel values inimg by factor (FLOAT32)
- 对图像进行缩放
- @norm8(img): scale pixels values inimg by 1/255
- 所有图像像素乘以1/255缩放
- @norm16(img): scale pixels values inimg by 1/65535
- 所有图像像素乘以1/65535缩放
- @fliph(img), @flipv(img), @flipd(img): flip img horizontally, vertically, and diagonally (matrix transpose), respectively.
- 水平(h)、垂直(v)或翻转或者图像转置(d)
- @rot90(img), @rot180(img), @rot270(img):rotate img by 90, 180, 270 degrees clockwise, respectively.
- 图像旋转
- @diff(img0, img1): return pixel-wise difference:img0 – img1
- 基于像素的差分
- @file(path): load image frompath (string). Example: @file(“d:\temp\debug.png”)
- 加载图像
- @mem(address, type, channels, width, height, stride): interpretraw memory as pixels, starting at address (UINT64), (UINT32). Example:@mem(myimg.data, UINT8, 1, 320, 240, 320) @mem(0x00000000003d1050,UINT8, 3, 256, 256, 768 );
- 将指定地址的内存数据转为图像像素信息显示
0 0
- Image Watch插件学习笔记
- 【OpenCV】Image Watch插件
- 【VS插件】Image Watch插件
- image watch
- opencv中image watch插件安装使用教程
- VS2013中Image Watch插件的使用(OpenCV)
- VS中Image Watch插件的使用(OpenCV)
- Visual Studio中NativeViewer and Image Watch插件的使用
- VS中Image Watch插件的使用(OpenCV)
- vs查看opencv中Mat类插件-Image Watch
- opencv中image watch插件安装使用教程
- VS2013中Image Watch插件的使用(OpenCV)
- linux学习笔记--watch命令
- OpenCV学习入门(二):Image Watch神器
- EmguCV学习笔记:Image
- vue2.0学习笔记 ——watch
- Opencv+VS插件推荐:调试过程内存中图片Mat变量查看器Image Watch
- OpenCV调试利器——Image Watch插件的安装和使用
- oracle 游标详解
- JQ基本知识代码示例
- 关于小组所要做的APP的想法
- BZOJ 3143: [Hnoi2013]游走
- Java进阶学习第一天——HTML入门
- Image Watch插件学习笔记
- 在Java中如何遍历Map对象
- 剑指Offer--003--二维数组中的查找
- Android 6.0 运行时权限处理完全解析
- 【计算机视觉】time of flight (TOF)
- 跟着原子学习stm32之内存管理
- Oracle数据库入门—基础知识
- Educational Codeforces Round 4 D. The Union of k-Segments
- VC开发数据库基础之ADO篇