フィルターのクリア

How do I generate one binary image with all my shapes in it?

3 ビュー (過去 30 日間)
Yashlin Naidoo
Yashlin Naidoo 2015 年 5 月 18 日
編集済み: Yashlin Naidoo 2015 年 5 月 30 日
This is my code below. I require a binary image to fit all my shapes in. The binary image background should be displayed in white and the shapes should be in black. The binary image should fit all my shapes in it. I used "subplot",it seems though it doesn't generate one image but rather several images together. My code below;
  2 件のコメント
Image Analyst
Image Analyst 2015 年 5 月 18 日
Don't double space your code. Single space it and then highlight it and click {}Code to format it properly.
Yashlin Naidoo
Yashlin Naidoo 2015 年 5 月 18 日
Done

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2015 年 5 月 19 日
Use poly2mask to create the binary images of the polygons. Then use horzcat() or vertcat() to put them side by side.

その他の回答 (0 件)

製品

Community Treasure Hunt

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

Start Hunting!

Translated by