当前位置:网站首页>[image denoising] image denoising based on regularization with matlab code
[image denoising] image denoising based on regularization with matlab code
2022-06-12 18:56:00 【Matlab scientific research studio】
1 brief introduction
Image denoising has always been an important issue in image processing , Degraded images have great limitations on the further application of images . Mathematically speaking , Image denoising is an inverse problem , For image processing with fuzzy kernel, it is an ill posed inverse problem , At present, the most important and effective method to solve the inverse problem is the regularization method . The main idea of the regularization method is to introduce a regularization operator that approximates the operator of the original ill posed problem and then approximates the solution of the original ill posed problem , That is, the solution obtained by the regularization method is unique , It is a good approximation of the original and inverse problem .
2 Part of the code
%%%% The gradient of 0 Directly solve four kinds of regularities %%%%%%clear all;close all;x0 = double(imread('groundtruth\monarch.tif')); % Import groundtruthg0 = double(imread('degraded\monarch_n_0.1.tif')); % Import noisy image g0k = fspecial('gaussian',19,2);% Given Gaussian fuzzy kernellamda = 0.8; % Regularization coefficient 0.8[row column] = size(g0); % Get image dimension% Image 2-D Fourier transform discretizationK = fft2(k,row,column); % Gaussian kernelG = fft2(g0); % Noisy image% Difference matrixl1=[0 0 0;-1 1 0;0 0 0];l2=[0 -1 0;0 1 0;0 0 0];% Fourier transform to frequency domain 530*530 MatrixLx = fft2(l1,row,column);Ly = fft2(l2,row,column);%%%%%%%%%% Using two-dimensional Fourier transform and zero gradient, the four regularities are solved directly %%%%%%%%%%%L1 Regular :%x_iteration = ifft2((K'.*G-lamda)./(K'.*K));%L2 Regular :%x_iteration = ifft2(((K'.*G)./(K'.*K+2*lamda));%TV Regular :%x_iteration = ifft2((K'.*G-lamda*Lx'-lamba*Ly')./(K'.*K));%TV-L2 Regular :x_iteration = ifft2((K'.*G)./(K'.*K-2*lamda*(Lx.^2)-2*lamda*(Ly.^2)));%%%%%%%%%%% Show reconstructed picture %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%figure;colormap gray; % Grayingsubplot(221);image(x0);title('GroundTruth');subplot(222);imagesc(g0);title('Degrade:0.1');subplot(224);imagesc(x_iteration);title('TV denoising:0.1');%%%%%%%%%%%% Index calculation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%[aa,bb] = size(x0);d_p = 9; % Avoid boundary effect impact assessment , Get rid of the reconstructed outer circleimg1 = x_iteration(d_p:aa-d_p+1,d_p:bb-d_p+1); % Rebuild pictureimg2 = x0(d_p:aa-d_p+1,d_p:bb-d_p+1); %groundtruthpsnr_result = psnr(img1,img2)[mssim, ~] = ssim_index(img1,img2)
3 Simulation results



4 reference
[1] Li Qingqing . Research on image denoising model based on regularization method [D]. Wuhan University of technology , 2013.
About bloggers : Good at intelligent optimization algorithms 、 Neural networks predict 、 signal processing 、 Cellular automata 、 The image processing 、 Path planning 、 UAV and other fields Matlab Simulation , relevant matlab Code problems can be exchanged by private letter .
Some theories cite network literature , If there is infringement, contact the blogger to delete .
边栏推荐
- Redis中的事务
- Embedded development: 6 necessary skills for firmware engineers
- CVPR 2022 oral Dalian Institute of technology proposed SCI: a fast and powerful low light image enhancement method
- [0008] unordered list
- Leetcode topic [string] -151- flip words in string
- leetcode:6097. 替换字符后匹配【set记录 + 相同长度逐一查询】
- chrome浏览器解决跨域问题
- Leetcode topic [string] - Sword pointing offer 05- replace spaces
- Cookie & Session & kaptcha验证码
- Operational research optimization of meituan intelligent distribution system - Notes
猜你喜欢

Have a meal, dry pot, fat intestines + palm treasure!

In 2021, the global fire pump drive power revenue is about $381million, and it is expected to reach $489.3 million in 2028

嵌入式开发:固件工程师的6项必备技能
![[blockbuster release] ant dynamic card, enabling the app home page to realize agile update](/img/65/5ed80090f4d0ee92b01888eb496528.jpg)
[blockbuster release] ant dynamic card, enabling the app home page to realize agile update

Go package import mode member visibility

Kali LAN ARP Spoofing and monitoring other hosts' Internet access records in the LAN

【图像去噪】基于各向异性滤波实现图像去噪附matlab代码

OpenGL shadow implementation (soft shadow)

ISCC2022

Double non grind one, three side byte, cool. Next time
随机推荐
kali通过iptables实现端口转发功能
嵌入式开发:固件工程师的6项必备技能
Have a meal, dry pot, fat intestines + palm treasure!
吃饭咯 干锅肥肠 + 掌中宝!
Start with no place to live
【矩阵论 & 图论】期末考试复习思维导图
leetcode:98. Count the number of subarrays whose score is less than k [double pointers + number of calculated subsets + de duplication]
Getting started with the go language is simple: read / write lock
leetcode:6095. 强密码检验器 II【简单模拟 + 不符合直接False】
收获满满的下午
美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
Leetcode 474. 一和零
基于FPGA的VGA协议实现
leetcode:6094. 公司命名【分组枚举 + 不能重复用set交集 + product笛卡儿积(repeat表示长度)】
国内如何下载ProxyStrike
实验10 Bezier曲线生成-实验提高-交互式生成B样条曲线
leetcode:6096. Success logarithm of spells and potions [sort + dichotomy]
Partial scratch and corrosion detection of bolts and screws based on Halcon
【0008】无序列表
基于Halcon的矩形卡片【手动绘制ROI】的自由测量