Slant Edge Script

This code can be used to measure the pre-sampled MTF of an image.
7.9K Downloads
Updated 3 Sep 2010

View License

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 angle 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

comments, and suggestions, including areas of improvement may be welcomed.

Cite As

Patrick Granton (2024). Slant Edge Script (https://www.mathworks.com/matlabcentral/fileexchange/28631-slant-edge-script), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: gaussian curve fit

Community Treasure Hunt

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

Start Hunting!

MATHWORKS_MTF/

Version Published Release Notes
1.0.0.0