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)
Show older comments
conversion from pixels to mm
0 Comments
Answers (1)
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
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.
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!