Format distance tool label to centimeter.

1 Ansicht (letzte 30 Tage)
Muong
Muong am 10 Nov. 2011
Can anyone tell me how to format the text in distance tool's label to centimeter?
Thanks
  2 Kommentare
Sven
Sven am 12 Nov. 2011
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 am 13 Nov. 2011
If this is posted as an asnwer, I'd vote for it.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ashish Uthama
Ashish Uthama am 17 Sep. 2012
" 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. "

Kategorien

Mehr zu Modify Image Colors finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by