Callibrating an image

This functions enables user to callibrate the image to get the relationship between pixel distance a
1.8K Downloads
Updated 19 Mar 2007

No License

User can callibrate an image to get the conversion factor fro transforming pixels values on the image to real world distances. The function takes greyscale image as input. After that it a prompt asks the user to enter the callibration scale in cm. The user then clicks on any point on the image and drag the mouse holding the left button down to whichever location he desires. Now this distance in pixels from starting pt to end pt selected by user corresponds to the distance in cm entered by user in the prompt. The output of the code is the callibration factor value.

For example:- dist1 = callibrationscale(d)

where d - greyscale image
dist1- callibration factor

Cite As

Gaurav Sehgal (2024). Callibrating an image (https://www.mathworks.com/matlabcentral/fileexchange/14307-callibrating-an-image), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

New file with help and comments.