文件名称:zhifangtu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:847byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
函数功能,对图像进行直方图均衡
直接读图像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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.