필터 지우기
필터 지우기

PSF of an image

조회 수: 74 (최근 30일)
Sajitha K.N.
Sajitha K.N. 2019년 10월 29일
답변: Subhadeep Koley 2019년 11월 1일
I want to deblur an blurred image.For that I want to use
J = deconvlucy(I,psf) this function.
But I don't know how to find psf value. Please someone help me. Its very urgent.
  댓글 수: 1
Cyrus Tirband
Cyrus Tirband 2019년 10월 29일
You can't attempt to deconvolve without knowing the PSF. The PSF is the 'blur' that is created by your optical system when you input a point source. If you don't know what the blur created by a single dot looks like, how can you restore the original image from a whole picture?
If your output is created by a simulation, just input a point source to find your PSF.
If your output is created by an experimental set-up, you may be able to measure the PSF (I can't tell you more about this).

댓글을 달려면 로그인하십시오.

답변 (1개)

Subhadeep Koley
Subhadeep Koley 2019년 11월 1일
To deblur a blurred image with deconvlucy() you have to have the original Point-Spread Function (PSF) by which the original image has been blurred.
However, if you don’t know the original PSF in advance, then you can try random PSF by tweaking various parameters of the fspecial() function until you figure out which PSF is giving the best deblurring.
Some, example of creating PSF using fspecial() is given below.
Motion Blur-
LEN = 21; THETA = 11;
PSF = fspecial('motion', LEN, THETA);
Gaussian Blur-
PSF = fspecial('gaussian',7,10);
Disk Blur-
PSF = fspecial('disk',3);
etc.
Hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by