How can i convert diameter of irregular object in pixel to mm, without drawing line again and again.. also i am not avaliable with the true height of the image in mm...???

2 views (last 30 days)
conversion from pixels to mm

Answers (1)

Image Analyst
Image Analyst on 22 Jun 2018
Ask regionprops for "EquivDiameter" - the equivalent circular diameter - to get the diameter as if your blob were a circle.
Then see my attached spatial calibration demo.
  4 Comments
Image Analyst
Image Analyst on 23 Jun 2018
Then you're out of luck. I can't tell whether that photo of the moon you're looking at is the real moon from a telescope image, or a digital photo of a poster in your room. The real distance is vastly different in both cases even though the image looks the same.

Sign in to comment.

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!