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?

 채택된 답변

Matt J
Matt J 2013년 2월 9일

0 개 추천

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개)

Vijay
Vijay 2013년 2월 9일

0 개 추천

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.
Vijay
Vijay 2013년 2월 10일
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 2013년 2월 10일
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에 대해 자세히 알아보기

질문:

2013년 2월 9일

댓글:

2018년 2월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by