【图像去噪】基于回归的非局部均值算法实现图像去噪附matlab代码

1 简介

It was recently demonstrated in  that the denoising performance of Non-Local Means (NLM)

can be improved at large noise levels by replacing the mean by the robust Euclidean median. Numerical experiments on synthetic and natural images showed that the latter consistently performed better than NLM beyond a certain noise level, and signifificantly so for images with sharp edges. The Euclidean mean and median can be put into a common regression (on the patch space) framework, in which the ℓ2 norm of the residuals is considered in the former, while the ℓ1 norm is considered in the latter. The natural question then is what happens if we consider ℓp (0 < p < 1) regression? We investigate this possibility​ in this paper.

2 部分代码

% demo on Non-Local Patch Regression%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  Reference:%  K. N. Chaudhury, A. Singer, "Non-Local Patch Regression:%  Robust image denoising in patch space", IEEE International%  Conference on Acoustics, Speech, and Signal Processing, 2013.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%clc; clear all; close all force;% clean imageimg    = double(imread('ckb.jpg'));[m, n] = size(img);% add noisesigma     =  40;imgNoisy  =  img  +  sigma * randn(m,n);% NLEM parametersp  = 0.1;S  = 10;P  = 3;h  = 10 * sigma;% call NELM (or NLEM_kNN)imgDenoised = NLPR(imgNoisy, h, P, S, p);% show resultspeak  = max(max(img));PSNR0 = 10 * log10(m * n * peak^2 / sum(sum((imgNoisy - img).^2)) );PSNR1 = 10 * log10(m * n * peak^2 / sum(sum((imgDenoised - img).^2)) );figure('Units','normalized','Position',[0 0.5 1 0.5]);colormap gray,subplot(1,3,1), imagesc(img),title('Original', 'FontSize', 10), axis('image', 'off');subplot(1,3,2), imagesc(imgNoisy),title([ 'Noisy, ', num2str(PSNR0, '%.2f'), 'dB'] , 'FontSize', 10),axis('image', 'off');subplot(1,3,3), imagesc(imgDenoised),title([ 'NLEM filtered, ', num2str(PSNR1, '%.2f'), 'dB'] , 'FontSize', 10),axis('image', 'off');

3 仿真结果

4 参考文献

Yingkun Hou, Jun Xu, Mingxia Liu, Guanghai Liu, Li Liu, Fan Zhu, and Ling Shao, "NLH: A Blind Pixel-level Non-local Method for Real-world Image Denoising", IEEE Transactions on Image Processing, vol. 29, pp. 5121-5135, 2020.

博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。

部分理论引用网络文献,若有侵权联系博主删除。

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

matlab科研助手

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值