天天看点

【图像去噪】基于无参考图像质量评价的反卷积去模糊算法附matlab代码

✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

🍎个人主页:Matlab科研工作室

🍊个人信条:格物致知。​

⛄ 内容介绍

针对数字图像在处理过程中容易产生模糊的现象,提出了基于无参考图像质量评价的自适应反卷积去模糊算法

【图像去噪】基于无参考图像质量评价的反卷积去模糊算法附matlab代码

⛄ 部分代码

clear all

close all

clc

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Demo file for deconvtv

% Image deblurring

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Prepare images

f_orig  = im2double(imread('./data/building.jpg'));

[rows cols colors] = size(f_orig);

H = fspecial('gaussian', [9 9], 2);

g = imfilter(f_orig, H, 'circular');

g = imnoise(g, 'gaussian', 0, 0.00001);

% Setup parameters (for example)

opts.rho_r   = 2;

opts.beta    = [1 1 0];

opts.print   = true;

opts.alpha   = 0.7;

opts.method  = 'l2';

% Setup mu

mu           = 10000;

% Main routine

tic

out = deconvtv(g, H, mu, opts);

toc

% Display results

figure(1);

subplot(121)

imshow(g);

title('input');

subplot(122)

imshow(out.f);

title('output');

⛄ 运行结果

【图像去噪】基于无参考图像质量评价的反卷积去模糊算法附matlab代码
【图像去噪】基于无参考图像质量评价的反卷积去模糊算法附matlab代码
【图像去噪】基于无参考图像质量评价的反卷积去模糊算法附matlab代码

⛄ 参考文献

[1] S.H. Chan, R. Khoshabeh, K.B. Gibson, P.E. Gill, and T.Q. Nguyen, “An augmented Lagrangian method for total variation image restoration,” IEEE Trans. Image Process., vol. 20, no. 11, pp.3097–3111, Nov. 2011.

❤️ 关注我领取海量matlab电子书和数学建模资料
❤️部分理论引用网络文献,若有侵权联系博主删除

继续阅读