How to draw the bounding box around the apple
1 次查看(过去 30 天)
显示 更早的评论
I am new in Matlab, my task is to draw the bounding box around the apple, plz help me in this task.
0 个评论
采纳的回答
Image Analyst
2015-12-6
Very easy. Just use color segmentation. I have several demos in my File Exchange:
If the apple has irregularities on the edges after segmentation, you can use activecontour() as shown in my attached demo to smooth the outline. Or else you can blur the color channel image before you threshold it.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!