5.0

5.0 | 1 rating Rate this file 47 Downloads (last 30 days) File Size: 394.45 KB File ID: #28631
image thumbnail

Slant Edge Script

by Patrick Granton

 

03 Sep 2010

This code can be used to measure the pre-sampled MTF of an image.

| Watch this File

File Information
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 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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
gaussian curve fit

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
12 Apr 2012 XIN JIN

Excellent code! It helps a lot. Appreciate for this.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
mtf Patrick Granton 03 Sep 2010 11:06:55
otf Patrick Granton 03 Sep 2010 11:06:55
modulation transfer function Patrick Granton 03 Sep 2010 11:06:55
optical transfer function Patrick Granton 03 Sep 2010 11:06:55
slant edge Patrick Granton 03 Sep 2010 11:06:55
image processing Patrick Granton 03 Sep 2010 11:06:55
edge spread function Patrick Granton 03 Sep 2010 11:06:55
line spread function Patrick Granton 03 Sep 2010 11:06:55
image processing ZHANG Mingjie 21 Sep 2010 02:48:58
slant edge correction yigit 16 Jan 2012 17:42:01
image processing Tomas Fridrich 18 Mar 2012 18:26:38

Contact us at files@mathworks.com