Extract point spread function from an Image, and Converting it into Line spread function

I am trying to perform Modulation Transfer Function(MTF) with the help of an Image captured by smart phone. I got confused to determine PSF from entire image and how to do Intergration of PSF to obtain from image to convert it into Line spread function. I am going to use this image to perform point spread funciton.
image_na=imread(image_path)
imagesc(image_na), colormap(gray);
figure
esfh = image_na(800:2600, 900:2700);
imagesc(esfh),colormap(gray)
figure
[X,Y]=meshgrid(1:size(esfh), 1:size(esfh));
mesh(X,Y,esfh) %display mesh plot
grid on;
grid minor;
Could you please help me to figure out this problem.

댓글 수: 1

If you don't know the original PSF, which is used for blurring the image, in such case you can try with different filter function (fspecial function) to find out, which actually works in this case.

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

답변 (1개)

You'd have to take a photo of a target such as the Air Force 3-bar test patterns or the radial star target.

카테고리

도움말 센터File Exchange에서 Optics에 대해 자세히 알아보기

질문:

2022년 4월 17일

답변:

2022년 4월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by