均值滤波vs中值滤波

均值滤波是一种线性平均滤波器,它通过求窗口内所有像素的平均值来得到中心像素点的像素值。这样的好处是可以有效的平滑图像,降低图像的尖锐程度,降低噪声。但缺点是不能消除噪声。

中值滤波也是一种很常用的数字滤波器,它通过找窗内的所有像素值的中值然后赋给中心像素点,然后得到输出图像,这样做的好处是,它不创造新的像素值,只是取周围像素值作为它的输出,这一方法可以有效的消除脉冲噪声,而且可以很好的保护图像尖锐的边缘。

关于中值滤波的好处,HIPR还有这两点说法:
- The median is a more robust average than the mean and so a single very unrepresentative pixel in a neighborhood will not affect the median value significantly.
- Since the median value must actually be the value of one of the pixels in the neighborhood, the median filter does not create new unrealistic pixel values when the filter straddles an edge. For this reason the median filter is much better at preserving sharp edges than the mean filter.

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值