I have code to generate the Point Spread Function (PSF) and now I want to calculate the Modulation Transfer Function (MTF) and Strehl Ratio.
% Imaging with Zone Plate
for tt=1:1
z2 = s2+s2/5000*tt;
h2 = exp(1i*2*pi*z2*sqrt(1/(lambda)^2-(x/L).^2-(y/L).^2));
E2 = ifft2(fftshift(fftshift(fft2(E.*exp(1i*FZP))).*h2));
psf=fftshift(fft2(exp(1i*FZP)));
resulting_image = abs(E2).^2;
figure(200+tt)
imagesc(abs(E2).^2);
title(‘resulting_image’)
axis square;
I need assistance in calculating MTF, plotting MTF vs spatial frequency graph, and calculating the Strehl ratio. I am a beginner and have been struggling with this for a long time. Your help would be greatly appreciated.% Imaging with Zone Plate
for tt=1:1
z2 = s2+s2/5000*tt;
h2 = exp(1i*2*pi*z2*sqrt(1/(lambda)^2-(x/L).^2-(y/L).^2));
E2 = ifft2(fftshift(fftshift(fft2(E.*exp(1i*FZP))).*h2));
psf=fftshift(fft2(exp(1i*FZP)));
resulting_image = abs(E2).^2;
figure(200+tt)
imagesc(abs(E2).^2);
title(‘resulting_image’)
axis square;
I need assistance in calculating MTF, plotting MTF vs spatial frequency graph, and calculating the Strehl ratio. I am a beginner and have been struggling with this for a long time. Your help would be greatly appreciated. % Imaging with Zone Plate
for tt=1:1
z2 = s2+s2/5000*tt;
h2 = exp(1i*2*pi*z2*sqrt(1/(lambda)^2-(x/L).^2-(y/L).^2));
E2 = ifft2(fftshift(fftshift(fft2(E.*exp(1i*FZP))).*h2));
psf=fftshift(fft2(exp(1i*FZP)));
resulting_image = abs(E2).^2;
figure(200+tt)
imagesc(abs(E2).^2);
title(‘resulting_image’)
axis square;
I need assistance in calculating MTF, plotting MTF vs spatial frequency graph, and calculating the Strehl ratio. I am a beginner and have been struggling with this for a long time. Your help would be greatly appreciated. psf, mtf, strehlratio, zoneplate, spatialfrequency MATLAB Answers — New Questions