MATLAB——histeq函数
来源:互联网 发布:微信网络设置在哪里 编辑:程序博客网 时间:2024/05/21 12:08
功能:直方图均衡化。
用法:
J = histeq(I,hgram) 将原始图像I的直方图变成用户指定的向量hgram。hgram中的各元素的值域为[0,1]。
J = histeq(I,n) 指定直方图均衡后的灰度级数n,默认值为64。
[J,T] = histeq(I,...) 返回从能将图像I的灰度直方图变换成图像J的直方图变换T。
newmap = histeq(X,map,hgram)
newmap = histeq(X,map)
[newmap,T] = histeq(X,...)
这三个是针对索引图像调色板的直方图均衡化,用法和灰度图像的一样。
举例:
I = imread('tire.tif');
J = histeq(I);
imshow(I)
用法:
J = histeq(I,hgram) 将原始图像I的直方图变成用户指定的向量hgram。hgram中的各元素的值域为[0,1]。
J = histeq(I,n) 指定直方图均衡后的灰度级数n,默认值为64。
[J,T] = histeq(I,...) 返回从能将图像I的灰度直方图变换成图像J的直方图变换T。
newmap = histeq(X,map,hgram)
newmap = histeq(X,map)
[newmap,T] = histeq(X,...)
这三个是针对索引图像调色板的直方图均衡化,用法和灰度图像的一样。
举例:
I = imread('tire.tif');
J = histeq(I);
imshow(I)
figure, imshow(J)
转自 http://ilovematlab.cn/thread-1499-1-1.html
0 0
- MATLAB——histeq函数
- matlab histeq函数介绍
- Matlab 图像处理—对matlab中histeq函数的理解
- 根据MATLAB的histeq函数改写的运行在OpenCV下的直方图规定化
- 根据MATLAB的histeq函数改写的运行在OpenCV下的直方图规定化C源码!
- matlab灰度变换rgb2gray与直方图均衡化histeq
- matlab—eval函数
- matlab—cat函数
- histeq && imadjust
- Matlab——plot函数
- Matlab函数——fftshift
- Matlab函数——dct2
- Matlab函数——wgn
- Matlab函数——awgn
- Matlab函数——randn
- Matlab函数——crandn
- MATLAB——reshape 函数
- MATLAB——mean 函数
- 数据库读写的一些心得
- 美团一二三面经历
- poj-1693
- Effective STL: 尽量使用区间成员函数代替它们的单元素兄弟
- Combination Sum
- MATLAB——histeq函数
- 比较字母大小
- C++的强制类型转换
- GridView中通过CommandArgument传递多个参数的例子
- 关于Web.Config中<customErrors>的mode属性问题
- HashMap,HashTable,HashSet,ConcurrentHashMap的分析比较
- Python os.path
- 压缩感知介绍
- Android打开WIFI或者移动网络