Matlab: How can i find the minimum rotation rectangular area en image
2 views (last 30 days)
Show older comments
In OpenCV, there is a function "minAreaRect".
I need to know the length and width of each leaf !!!!!
how to achieve?
0 Comments
Answers (1)
Image Analyst
on 22 Feb 2015
I think it'd be too difficult. You can probably get the area fraction of green in the image and that measure, though it's different, will probably be highly correlated and is a lot easier to find.
One other thing you can try is to get the Euclidean Distance Transform with bwdist() on the segmented green pixels, and then take a histogram of that. It will give you the average width of all the leaves.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!