Callibrating an image
by Gaurav Sehgal
16 Mar 2007
(Updated 19 Mar 2007)
This functions enables user to callibrate the image to get the relationship between pixel distance a
|
Watch this File
|
| File Information |
| Description |
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 |
| Required Products |
Image Processing Toolbox
|
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (13) |
| 16 Mar 2007 |
Jos x@y.z
|
|
|
| 16 Mar 2007 |
Jos x@y.z
|
|
|
| 17 Mar 2007 |
islam alabbasy
|
|
|
| 17 Mar 2007 |
John D'Errico
|
|
|
| 19 Mar 2007 |
funny funny
|
|
|
| 19 Mar 2007 |
Jos x@y.z
|
|
|
| 19 Mar 2007 |
Duane Hanselman
|
|
|
| 19 Mar 2007 |
Duane Hanselman
|
|
|
| 19 Mar 2007 |
Pepito Piscinas
|
|
|
| 19 Mar 2007 |
Duane Hanselman
|
|
|
| 19 Mar 2007 |
John D'Errico
|
|
|
| 20 Mar 2007 |
Dimitri Shvorob
|
|
|
| 22 Mar 2007 |
Pepito Piscinas
|
|
|
| Updates |
| 19 Mar 2007 |
Soory about previous function. This is new and update version with comments and help |
| 19 Mar 2007 |
New file with help and comments. |
|
Contact us at files@mathworks.com