- 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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!