文件名称:equalize_hist
介绍说明--下载内容来自于网络,使用问题请自行百度
1. 均值滤波:即线性滤波,有: a.邻域平均, b. 加权平均两种。
a. 邻域平均:用一个像素邻域平均值作为滤波结果,此时滤波器模板的所系数都取1,为保证输出图仍在原来的灰度值范围,在算得R后要将其除以系数总个数再进行赋值,对3*3的模板来说,在算得R后要将其除以系数9。
b. 加权平均:对同一尺寸的模板,可对不同位置的系数采用不同的数值,一般认为离对应模板中心像素近的像素应对滤波结果又较大贡献,所以接近模板中心的系数可比较大而模板边界附近的系数应比较小。(1. mean filtering: linear filtering, there are a. neighborhood averages and two B. weighted averages.
A. neighborhood average with a pixel neighborhood average value as the filtering results, the filter of the template coefficient is 1, in order to ensure the output figure is still in the original gray value range, to be divided by the total number of coefficients and then assign it in R, on the 3*3 template, to be divided by the coefficient in 9 was R.
B.: the weighted average of the same size of the template, the coefficients can be in different positions with different values, generally from the template corresponding to the center pixel near pixel filtering results and a larger contribution to deal with, so close to the center of the template coefficient is relatively large and near the boundary line template number should be relatively small.
Take the 3*3 template as an example:)
a. 邻域平均:用一个像素邻域平均值作为滤波结果,此时滤波器模板的所系数都取1,为保证输出图仍在原来的灰度值范围,在算得R后要将其除以系数总个数再进行赋值,对3*3的模板来说,在算得R后要将其除以系数9。
b. 加权平均:对同一尺寸的模板,可对不同位置的系数采用不同的数值,一般认为离对应模板中心像素近的像素应对滤波结果又较大贡献,所以接近模板中心的系数可比较大而模板边界附近的系数应比较小。(1. mean filtering: linear filtering, there are a. neighborhood averages and two B. weighted averages.
A. neighborhood average with a pixel neighborhood average value as the filtering results, the filter of the template coefficient is 1, in order to ensure the output figure is still in the original gray value range, to be divided by the total number of coefficients and then assign it in R, on the 3*3 template, to be divided by the coefficient in 9 was R.
B.: the weighted average of the same size of the template, the coefficients can be in different positions with different values, generally from the template corresponding to the center pixel near pixel filtering results and a larger contribution to deal with, so close to the center of the template coefficient is relatively large and near the boundary line template number should be relatively small.
Take the 3*3 template as an example:)
相关搜索: matlab平均滤波过滤器
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
BitReverseCopy.m | 239 | 2017-11-22 |
dft2d.m | 4257 | 2017-11-22 |
equalize_hist.m | 400 | 2017-11-22 |
equalize_img.m | 365 | 2017-11-22 |
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。