Main Content


Return vertices on perimeter of ellipse ROI object

getVertices is not recommended. Using the new Ellipse ROI, access the value of the Vertices property instead. For more information, see Compatibility Considerations.


v = getVertices(h) returns a set of vertices that lie along the perimeter of an ellipse ROI object.

Input Arguments

collapse all

ROI object, specified as an imellipse object.

Output Arguments

collapse all

Vertices, returned as an n-by-2 matrix. The two columns define the x- and y-coordinates, respectively, of each of the n vertices.

Compatibility Considerations

expand all

Not recommended starting in R2018b

Introduced in R2007b