How do I generate one binary image with all my shapes in it?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Yashlin Naidoo
am 18 Mai 2015
Bearbeitet: Yashlin Naidoo
am 30 Mai 2015
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 Kommentare
Image Analyst
am 18 Mai 2015
Don't double space your code. Single space it and then highlight it and click {}Code to format it properly.
Akzeptierte Antwort
Walter Roberson
am 19 Mai 2015
Use poly2mask to create the binary images of the polygons. Then use horzcat() or vertcat() to put them side by side.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!