首页> 外国专利> Method and device for removing image noise based on the median filter

Method and device for removing image noise based on the median filter

机译:基于中值滤波器的图像噪声去除方法及装置

摘要

A method and an apparatus for image denoising based on medium filter is disclosed according to the present invention. Such method and apparatus may be used to remove linear noise and random noise for the sensor, as well as the bad points in the sensor image, and to prevent over-denoising. The technical solutions includes selecting three groups of pixels from neighboring pixels of a current pixel, calculating medians Φ1, Φ2 and Φ3 for the pixels in each group; calculating a reference luminance Y: Y=Φ2+[Φ1+Φ3−2*Φ2]*h*[1−k*var], where var=Φ3−Φ1; determining whether the current pixel (cur_pixel) is a bad pixel; letting a temporary variable (tmp_data) be Φ1 if the current pixel is a bad pixel; letting a temporary variable (tmp_data) be the current pixel value (cur_pixel) if the current pixel is not a bad pixel; determining whether the current pixel is located on an edge. If the current pixel is determined to be located on the edge, the reference luminance Y is limited to a range of [tmp_data−edge_limit, tmp_data+edge_limit], the current pixel value is updated with the limited reference luminance Y and the denoising process ends. If the current pixel is determined not to be located on the edge, the value of |Y−tmp_data| and the value of avoid_over_noise are compared. If |Y−tmp_data|avoid_over_noise, the current pixel value is updated with Y; otherwise, the current pixel value is updated with tmp_data. The above steps for each pixel in the image is repeated. The present invention is applicable to image denoising field.
机译:根据本发明,公开了一种基于介质滤波器的图像去噪方法和装置。这样的方法和设备可以用于去除传感器的线性噪声和随机噪声以及传感器图像中的坏点,并防止过度降噪。技术解决方案包括从当前像素的相邻像素中选择三组像素,为该像素计算中值Φ 1 ,Φ 2 和Φ 3 。每组中的像素;计算参考亮度Y:Y =Φ 2+ [Φ1+Φ3- 2 *Φ 2 ] * h * [1-k * var],其中var =Φ 3-Φ1;确定当前像素(cur_pixel)是否为不良像素;如果当前像素是坏像素,则使临时变量(tmp_data)为Φ 1 ;如果当前像素不是坏像素,则让临时变量(tmp_data)为当前像素值(cur_pixel);确定当前像素是否位于边缘上。如果确定当前像素位于边缘上,则将参考亮度Y限制在[tmp_data-edge_limit,tmp_data + edge_limit]的范围内,用受限的参考亮度Y更新当前像素值,并且去噪处理结束。如果确定当前像素不在边缘上,则| Y-tmp_data |的值并与void_over_noise的值进行比较。如果| Y-tmp_data |

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号