Select certain patches from an imagge
1 view (last 30 days)
Show older comments
I have divided this image

into small polygons(superpixels) using SLICO tool which performs SLIC superpixel segmentation. Now i want to separately have all those polygons which lie in the black region of the image. Can anyone provide me with a code for that?
0 Comments
Answers (1)
Image Analyst
on 24 Feb 2015
I assume you have all the vertices since you drew the outlines. So why can't you just use poly2mask()?
4 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!