Format distance tool label to centimeter.

조회 수: 4 (최근 30일)
Muong
Muong 2011년 11월 10일
Can anyone tell me how to format the text in distance tool's label to centimeter?
Thanks
  댓글 수: 2
Sven
Sven 2011년 11월 12일
The distance tool reports in pixels for a very good reason:
An image doesn't have *physical* distance by itself. Real-world distance is only applied after you answer this question:
"How big (in cm, for example) is each pixel in my image"?
This answer will be very different depending on the image. Take a picture of your house. How many cm in each pixel? Take a satellite picture of your neighbourhood. How many cm in each pixel?
What I suggest you do is determine the "scale" of your pixels, ie, that each pixel represents 0.1cm, then multiply that number by what the distance tool reports.
Jan
Jan 2011년 11월 13일
If this is posted as an asnwer, I'd vote for it.

댓글을 달려면 로그인하십시오.

답변 (1개)

Ashish Uthama
Ashish Uthama 2012년 9월 17일
" The distance tool reports in pixels for a very good reason:
An image doesn't have physical distance by itself. Real-world distance is only applied after you answer this question:
"How big (in cm, for example) is each pixel in my image"?
This answer will be very different depending on the image. Take a picture of your house. How many cm in each pixel? Take a satellite picture of your neighbourhood. How many cm in each pixel?
What I suggest you do is determine the "scale" of your pixels, ie, that each pixel represents 0.1cm, then multiply that number by what the distance tool reports. "

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by