Image resolution demo

MATLAB script to compute PSF

MATLAB script to do image resolution simulation

System PSF (sigma = 10):
System PSF with sigma = 10

Images formed (middle column) using different inputs (left hand column). Right hand column shows a line profile through the center column of the output image.
spacing = 40
input for spacing = 40
output for spacing = 40
line profile for spacing = 40
spacing = 36
input for spacing = 36
output for spacing = 36
line profile for spacing = 36
spacing = 32
input for spacing = 32
output for spacing = 32
line profile for spacing = 32
spacing = 28
input for spacing = 28
output for spacing = 28
line profile for spacing = 28
spacing = 24
input for spacing = 24
output for spacing = 24
line profile for spacing = 24
spacing = 20
input for spacing = 20
output for spacing = 20
line profile for spacing = 20