How to measure the length of banana in binary
Show older comments
Hello everyone..
I have a problem in measuring the length and width of the banana image. First I would like to know the length and width of the banana (in pixels). Then, I would to convert it into centimeters. Actual length of bananas is 13 cm, while the width is 2.8 cm. I would like to compare between actual measurement and computational measurements results (in centimeters).
I already find the method regionprops (majoraxislength and minoraxislength) but I still difficulties in using it.

Thank you
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing and Computer Vision 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!