Object-Detection on the Edge of my Image
2 次查看(过去 30 天)
显示 更早的评论
Greetings fellow Matlab-Users,
I have a Question regarding the object-detection on an image using for example bwlabel. Is there a possibility, to see, if an object is touching the edge of my image?
And if so, can it be deleted?
I included an image where my problem should be somewhat understandable :)
Best regards and thanks in advance
Karsten
0 个评论
采纳的回答
Image Analyst
2019-12-10
Not sure why this 10 month old post popped up on the current list, but whatever.
The function you're looking for is imclearborder()
mask = imclearborder(mask);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!