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

12 views (last 30 days)
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 Comment
KALYAN ACHARJYA
KALYAN ACHARJYA on 17 Apr 2022
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.

Sign in to comment.

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!