当前位置:网站首页>[image denoising] image denoising based on partial differential equation (PDE) with matlab code
[image denoising] image denoising based on partial differential equation (PDE) with matlab code
2022-06-12 06:48:00 【Matlab scientific research studio】
1 brief introduction
In engineering application , Image information is processed by digital image system 、 Storage and transmission, etc , Due to the inevitable noise interference , Make the original image information produce deviation and distortion , It brings inconvenience to the subsequent image processing , And then affect people's cognition of the visual characteristics of the image . therefore , In order to improve the quality of the image , Improve people's recognition of image visual characteristics , Effectively remove image noise , It is necessary to reduce the interference of noise to image information . In recent years , Based on partial differential equations ( partial differential equation,PDE) Image de-noising method has been widely valued in the field of computer vision and image processing , Because it smoothes the noise while , The edge texture information of the image can be well preserved .

2 Part of the code
%---------------------------------------------%% %clcclear all% I=imread('pentagram.bmp');%gray image% I=imread('lena1.bmp');% I=imread('cameraman.tif');I=double(I(25:125,70:170));I=imread('canal.gif');%gray noisy image% [I,map]=imread('ct_scan.bmp');I=ind2gray(I,map);% I=imread('haifa.bmp');%color imageI=double(I);[row,col,nchannel]=size(I);In=I;% Join in ( mean value =0, variance =sigma) Gaussian noise of ( Optional )sigma=15;if nchannel==1%gray imageIn=I+sigma*randn(row,col);elseif nchannel==3%color imageIn=I+sigma*randn(row,col,3);end% Manually specify the gradient threshold (for smooth&directional diffusion)K=15;% use robust_statistic Automatic estimation of gradient threshold ( ginseng Sapiro P231)% K=autoK(In)% Draw the influence function curve% plot_edgestop(K);% Draw the level set curve% figure;contour(In);axis ij;% Diffusion denoisingedgestop='pm1';method='cat';niter=50;% It=smooth_diffusion(In,edgestop,method,'is',niter,K,I);% It=directional_diffusion(In,'tky','av2','is',niter,K,I);% figure;contour(It);axis ij;% Draw the level set curve% It=TV_denoise(In,'is',niter,0,0,I);%without fedality termIt=TV_denoise(In,'is',1,1,sigma,I);%with fedality term% It=order4_diffusion(In,edgestop,'is',niter,K,I);figure;subplot(131);imshow(uint8(I)); title(' Original picture ')subplot(132);imshow(uint8(In)); title(' Noise map ')subplot(133);imshow(uint8(It)); title(' Denoising map ')% title(['SNR=',num2str(SNR(I,In))]);% Signal to noise ratio :
3 Simulation results

4 reference
[1] Yangyingchun . Research on image denoising algorithm based on partial differential equation [D]. North China University , 2012.
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 .
边栏推荐
- LeetCode-2034. Stock price fluctuation
- [data clustering] data set, visualization and precautions are involved in this column
- An error occurred while downloading the remote file The errormessage
- LeetCode-1350. Invalid students
- Upload file (post form submission form data)
- Leetcode January 12 daily question 334 Increasing ternary subsequence
- Process when solving vagrant up_ builder. rb:43:in `join‘: incompatible character encodings: GBK and UTF-8
- (14)Blender源码分析之闪屏窗口显示软件版本号
- LeetCode-1445. Apples and oranges
- Drawing grid navigation by opencv map reading
猜你喜欢

When SQL server2019 is installed, the next step cannot be performed. How to solve this problem?

PHP read / write cookie

Database syntax related problems, solve a correct syntax

Multithreading (V) -- Concurrent tools (II) -- j.u.c concurrent contracting (I) -- AQS and reentrantlock principles

SQL injection - blind injection

“我被大厂裁员了”

最近面了15个人,发现这个测试基础题都答不上来...

Solution: unsatisfieddependencyexception: error creating bean with name 'authaspect':

2021 robocom world robot developer competition - undergraduate group (Preliminary)

leetcode:剑指 Offer 60. n个骰子的点数【数学 + 层次dp + 累计贡献】
随机推荐
网络丢包问题排查
Flink practice
Some operations of MATLAB array
六月集训 第九日——位运算
LeetCode-1078. Bigram participle
8. form label
美团获得小样本学习榜单FewCLUE第一!Prompt Learning+自训练实战
LeetCode-1154. Day of the year
Set judge the existence of intersection
LeetCode-2034. Stock price fluctuation
leetcode:剑指 Offer 63. 股票的最大利润【记录前缀最小和 or 无脑线段树】
LeetCode-1490. Clone n-ary tree
platform driver
Vscode Common plug - in
It only takes 10 minutes to understand the underlying principle of NiO
descheduler 二次调度让 Kubernetes 负载更均衡
六月集训 第五天——双指针
Upload file (post form submission form data)
A journey of database full SQL analysis and audit system performance optimization
The principle of SQL injection is to build sqli labs, and SQL injection is simple and practical