会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
future_hero
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
数字图像处理
使用指针遍历图像
摘要:#include#includevoid colorReduce(cv::Mat &imag, int div = 64){ int n1 = imag.rows; int nc = imag.cols*imag.channels();//每一行的像素数目(多通道的像素需要乘3) ...
阅读全文
posted @
2015-03-25 23:49
future_hero
阅读(623)
评论(0)
推荐(0)
图像添加噪声(椒盐噪声)
摘要:#include #include #include #includevoid salt(cv::Mat &imag, int n){ for (int k = 0; k (j, i) = 255; } else if (imag.channels() == 3)...
阅读全文
posted @
2015-03-25 23:30
future_hero
阅读(2035)
评论(0)
推荐(0)
公告