Clear Filters
Clear Filters

Save Image boundaries 'bwboundaries' as an image file

3 views (last 30 days)
Hello
I wanted to ask after saving each one of the created boundaries in a variable how can I save them as an image array ?
Following this tutorial I can plot them
But there is not any hint how can I store them in an array.
Thank in advance

Accepted Answer

Image Analyst
Image Analyst on 14 May 2012
Use bwperim() to get an image of the boundaries. Then save that with imwrite(). If you really want to use bwboundaries, you have to create an image (full size black image) then go down the list you got from bwboundaries, setting each coordinate to white.

More Answers (0)

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!