- 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 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!