Save Image boundaries 'bwboundaries' as an image file

2 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Image Analyst
Image Analyst el 14 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by