MATLAB: How to select the interior boundary of an object

digital image processingimage processingImage Processing Toolboximage segmentation

having an object with enough border width to make 2 boundaries interior and exterior with stdfilt , I just want to select the interior one

Best Answer

bwboundaries allows you to do that. See my demos in my other answers here. You can get boundaries and select those that are inside other boundaries. Feel free to upload an image to http://snag.gy if you want more advice. And upload your code too.