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?

 Réponse acceptée

Matt J
Matt J le 9 Fév 2013

0 votes

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 commentaires

Is there a code for length measurements??
Matt J
Matt J le 4 Fév 2018
No, there is no code for length measurements.

Connectez-vous pour commenter.

Plus de réponses (2)

Vijay
Vijay le 9 Fév 2013

0 votes

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

4 commentaires

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.
Vijay
Vijay le 10 Fév 2013
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??
Vijay
Vijay le 10 Fév 2013
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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing and Computer Vision dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by