文件名称:scan_img
- 所属分类:
- Linux/Unix编程
- 资源属性:
- 上传时间:
- 2012-11-26
- 文件大小:
- 170kb
- 下载次数:
- 0次
- 提 供 者:
- wu***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本文来讲讲Mat存储的像素该怎么对其进行扫描?扫描的效率又如何?
文章参考opencv自带的tutiol及其code。
实验功能:
可以手动选择打开电脑上的图片。
对4种对Mat矩阵的扫描方法效率进行比较,这4种扫描方法分别为:连续内存直接访问;用迭代器进行访问;直接像素点进行访问;用LUT查找表进行访问;这4种扫描方法可以在菜单栏进行选择。
这些访问完后是将每个访问到的像素点的像素进行压缩,压缩间隔可以在软件的界面中进行修改。
软件的下端显示每种次扫描方法扫描打开的图片所用的平均时间(程序中设定为求100次的平均值)-This article Laijiang Jiang Mat stored in pixels how to scan them? Scan efficiency and how? The article reference the opencv comes tutiol its code. Experimental feature: you can manually choose to open the picture on the computer. Four kinds of scan efficiency matrix Mat these four kinds of scanning methods: continuous direct memory access access iterator direct pixel access access the LUT lookup table these four kinds of scanning methods select in the menu bar. Visit after each access to the pixels of the pixel to be compressed, compression interval can be modified in the software interface. The bottom of the software shows the average time used by each sub-scan method to scan to open the picture (the program is set to seek 100 times the average)
文章参考opencv自带的tutiol及其code。
实验功能:
可以手动选择打开电脑上的图片。
对4种对Mat矩阵的扫描方法效率进行比较,这4种扫描方法分别为:连续内存直接访问;用迭代器进行访问;直接像素点进行访问;用LUT查找表进行访问;这4种扫描方法可以在菜单栏进行选择。
这些访问完后是将每个访问到的像素点的像素进行压缩,压缩间隔可以在软件的界面中进行修改。
软件的下端显示每种次扫描方法扫描打开的图片所用的平均时间(程序中设定为求100次的平均值)-This article Laijiang Jiang Mat stored in pixels how to scan them? Scan efficiency and how? The article reference the opencv comes tutiol its code. Experimental feature: you can manually choose to open the picture on the computer. Four kinds of scan efficiency matrix Mat these four kinds of scanning methods: continuous direct memory access access iterator direct pixel access access the LUT lookup table these four kinds of scanning methods select in the menu bar. Visit after each access to the pixels of the pixel to be compressed, compression interval can be modified in the software interface. The bottom of the software shows the average time used by each sub-scan method to scan to open the picture (the program is set to seek 100 times the average)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
鍩虹