用Matlab绘彩色图像的直方图
2012-04-30 23:34
281 查看
直方图是常用的图表,用MATLAB实现如下: Img=imread('football.jpg'); BW = Img; R=BW(:,:,1); [REDcounts,x] = imhist(R); G=BW(:,:,2); [Greencounts,y] = imhist(R); B=BW(:,:,3); [Bluecounts,z] = imhist(R); figure; subplot(131);imhist(R);title('histogram of Red'); subplot(132);imhist(G);title('histogram of Green'); subplot(133);imhist(B);title('histogram of Blue'); figure; Histcounts=REDcounts+Greencounts+Bluecounts; Histogramdata=Histcounts'; plot(Histogramdata);
from http://zhidao.baidu.com/question/93505561
相关文章推荐
- matlab实现将彩色图像(R,G,B)色分量的直方图显示出
- matlab实现将彩色图像(R,G,B)色分量的直方图匹配,并计算其相关性
- matlab实现将彩色图像(R,G,B)色分量的直方图匹配,并计算其相关性
- matlab实现将彩色图像(R,G,B)色分量的直方图匹配,并计算其相关性
- 图像的直方图matlab
- Matlab图像直方图相关函数
- MATLAB图像在HSV空间图像&彩色图像转化为灰度图像
- 【图像处理】MATLAB:彩色图像处理
- 彩色图像的直方图绘制
- 【MATLAB图像处理2】 直方图的均衡化(附源码)
- matlab实现彩色图像特征提取1
- Matlab图像直方图相关函数
- [matlab图像处理] 直方图归一化
- 【Matlab图像处理】学习笔记:读取16进制RGB文档转为彩色图片
- 关于图像降色彩后,彩色直方图统计与实际像素值不匹配问题
- 【MATLAB图像处理2】 直方图的均衡化(附源码)
- 示例程序014--彩色图像各个通道的直方图显示
- MATLAB中将彩色的图像转化为灰度图像
- 彩色图像的直方图
- Matlab图像处理:使用函数将彩色图转换为灰度图