You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Slant Edge Script (https://www.mathworks.com/matlabcentral/fileexchange/28631-slant-edge-script), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: gaussian curve fit
General Information
- Version 1.0.0.0 (394 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
