- 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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!