Turning Contours into ROI

2 Ansichten (letzte 30 Tage)
henry wang
henry wang am 19 Feb. 2015
Beantwortet: Image Analyst am 19 Feb. 2015
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?

Antworten (1)

Image Analyst
Image Analyst am 19 Feb. 2015
Use poly2mask in the Image Processing Toolbox.

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by