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?

 采纳的回答

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 个评论

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

请先登录,再进行评论。

更多回答(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 个评论

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?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by