MATLAB Answers

0

Matlab: How can i find the minimum rotation rectangular area en image

Asked by weichen li on 22 Feb 2015
Latest activity Answered by Image Analyst
on 22 Feb 2015
In OpenCV, there is a function "minAreaRect".
I need to know the length and width of each leaf !!!!!
how to achieve?

  0 Comments

Sign in to comment.

Products

1 Answer

Answer by 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

Sign in to comment.