- 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!