Save Image boundaries 'bwboundaries' as an image file
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!