Length & Width measurement of an image in Millimeters

I am able to get the length and width of an image in pixels only.I am in need of measuring the length & width in millimeters for pixels/mm for a text extraction algorithm. how to get the values in millimeter?

 Accepted Answer

You could measure, physically, the dimensions of a letter of text and then measure the same letter's dimensions in pixels in your image. Then you could deduce the size of your pixels in mm.

2 Comments

Is there a code for length measurements??
No, there is no code for length measurements.

Sign in to comment.

More Answers (2)

Thats what i am not aware of how to measure the length & width in physical quantities.. all i get is in pixels only

4 Comments

This should have been a comment, not an Answer. But anyway, you take a micrometer or ruler and lay it down on the thing you imaged - your piece of paper - and read off the length from the micrometer or ruler.
I asked for help in matlab coding.. any functions that can measure physical length & breadth of the images for calculation of pixels/mm value.. i got a 1536x2048 image taken from a 3.1 megapixel camera i am in need to get the 1536x2048 in terms of millimeters for that calculation is there any method? or functions??
Thanks image analyst i got your demonstration on spatial calibration. ill make sure to answer people who are asking the same question again and again thanks a lot..
Where did you get my demo on spatial calibration?

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Asked:

on 9 Feb 2013

Commented:

on 4 Feb 2018

Community Treasure Hunt

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

Start Hunting!