文件名称:zhifangtu
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Matlab] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- zhen****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
函数功能,对图像进行直方图均衡
直接读图像Img10_1.bmp,读到tu中
raydis是原始直方图各灰度级像素个数
原始直方图graydispro,利用原始直方图计算原始累计直方图graydispro
t[]计算和原始灰度对应的新的灰度t[],建立映射关系,t坐标代表原始的灰度,t[]代表对应原始坐标的新坐标
new_graydis是统计新直方图各灰度级像素个数
计算新的灰度直方图new_graydispro,利用新的直方图计算新的累计直方图new_graydispro
计算直方图均衡后的新图new_tu
-Function, function, a direct reading of the image histogram equalization image Img10_1.bmp, read tu in raydis the original pixel gray-level histogram of the number of the original histogram graydispro, using the original histogram of the original calculation of cumulative histogram graydispro t [] calculation and the original gray-scale corresponding to the new gray t [], to establish mapping relationship, t coordinates on behalf of the original gray-scale, t [] on behalf of the new coordinates corresponding to the original coordinates of the new new_graydis statistical histogram of the number of gray-scale pixel calculate the new histogram new_graydispro, using the new calculation of the new cumulative histogram histogram histogram equalization calculation new_graydispro new plan new_tu
直接读图像Img10_1.bmp,读到tu中
raydis是原始直方图各灰度级像素个数
原始直方图graydispro,利用原始直方图计算原始累计直方图graydispro
t[]计算和原始灰度对应的新的灰度t[],建立映射关系,t坐标代表原始的灰度,t[]代表对应原始坐标的新坐标
new_graydis是统计新直方图各灰度级像素个数
计算新的灰度直方图new_graydispro,利用新的直方图计算新的累计直方图new_graydispro
计算直方图均衡后的新图new_tu
-Function, function, a direct reading of the image histogram equalization image Img10_1.bmp, read tu in raydis the original pixel gray-level histogram of the number of the original histogram graydispro, using the original histogram of the original calculation of cumulative histogram graydispro t [] calculation and the original gray-scale corresponding to the new gray t [], to establish mapping relationship, t coordinates on behalf of the original gray-scale, t [] on behalf of the new coordinates corresponding to the original coordinates of the new new_graydis statistical histogram of the number of gray-scale pixel calculate the new histogram new_graydispro, using the new calculation of the new cumulative histogram histogram histogram equalization calculation new_graydispro new plan new_tu
(系统自动生成,下载前可以参看下载内容)
下载文件列表
k_gray_histeq.m