Turning Contours into ROI
Afficher commentaires plus anciens
Hi,
I have a list of points (stored in an array) which describe the contours of a 2d shape. I want everything inside and on the boundary of the contour to be 1 and everything outside to be zero. How do I do this in Matlab?
Réponses (1)
Image Analyst
le 19 Fév 2015
0 votes
Use poly2mask in the Image Processing Toolbox.
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!