- threshold to get a binary image.
- call imerode
- subtract from original binary image
- erase boundary: grayImage(binaryImage) = 0
HOw can I use Morphological commands for boundary?
1 次查看(过去 30 天)
显示 更早的评论
Hello All,I want to remove boundary around an image and I want to know how can morphological commands help me? Which command of morphological commands should I use? I have attached the image that I want to remove the boundary around it.
0 个评论
回答(1 个)
Image Analyst
2014-1-21
编辑:Image Analyst
2014-1-21
Try imerode.
If it doesn't do what you want, then attach your code.
3 个评论
Image Analyst
2014-1-21
Explain in more detail what you consider the "boundaries" of that image to be.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!