- Segmnet the green part from the images
- Consider the upper half part of Image, so that it cancel the junction of all leaves at the lower part.
- Counts the blobes (If leaves are still connected, you can try with imrode and other morpho operations to disjoint them)
- Counts the connected blobs.
How to count the number of leaves?
2 views (last 30 days)
Show older comments
Count the number of leaves in this image![SV2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222923/SV2.png)
![SV2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222923/SV2.png)
3 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!