Description: This code can be used to measure the pre-sampled MTF of an image, which is a quantity that describes the resolution of linear imaging systems. The code is based on measuring the pre-sample MTF using a precision machined edge that is aligned- with respect to the columns or rows of an image- at an gle between 1-5 degrees.
To learn more about the pre-sampled MTF consult the references at the end of this script.
When you run this script your image containing the edge with appear with the cropping tool. Crop your image to the region containing only the edge. Double-click your cropped area for the script to continue.
A Gaussian fitting tool has been used in this code. You can download this tool on the Matlab central website here: http://www.mathworks.com/matlabcentral/fileexchange/11733-gaussian-curve-fit
To Search:
File list (Check if you may need any files):
MATHWORKS_MTF\.DS_Store
.............\512by512_edgeImage.dcm
.............\MTF_output.jpg
.............\MTFscript.m
.............\MTFscript.m~
.............\screenshot.png
__MACOSX\MATHWORKS_MTF\._.DS_Store
........\.............\._MTFscript.m
........\.............\._screenshot.png
license.txt