会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
杨溪
每天看书、学习、写博客! earthyangxi@sina.com
博客园
首页
新随笔
联系
订阅
管理
2011年9月7日
通过C++ wrapper实现访问图像像素
摘要: 1 template<class T> class Image 2 { 3 private: 4 IlpImage *imgp; 5 public: 6 Image(IplImage* img = 0) 7 { 8 imgp = img; 9 }10 inline T* operator[](const int rowIndx)11 {12 return( (T*)(imgp ->imageData + rowIndx * imgp ...
阅读全文
posted @ 2011-09-07 20:56 杨溪
阅读(409)
评论(0)
推荐(1)
编辑
公告