Filter löschen
Filter löschen

How to get a region from points

3 Ansichten (letzte 30 Tage)
Hg
Hg am 21 Okt. 2015
Beantwortet: Walter Roberson am 21 Okt. 2015
Below is a scatter plot from array that I get using boundary(). How can I get a region so that I can use regionprops() to find the centroid, orientation etc.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 21 Okt. 2015
You could dilate the image repeatedly until the boundary closed (at which point there would be only one blob) and then erode it again maintaining continuity; see bwmorph() for useful functions.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by