Extract point spread function from an Image, and Converting it into Line spread function
19 次查看(过去 30 天)
显示 更早的评论
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 个评论
KALYAN ACHARJYA
2022-4-17
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 个)
Image Analyst
2022-4-18
You'd have to take a photo of a target such as the Air Force 3-bar test patterns or the radial star target.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!