Save Image boundaries 'bwboundaries' as an image file

조회 수: 2 (최근 30일)
Dimitris M
Dimitris M 2012년 5월 14일
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

채택된 답변

Image Analyst
Image Analyst 2012년 5월 14일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by