Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Region Features » RegionEllipticAxes


Computes axes of an ellipse having the same first and second order moments as the given region.

Name Type Description
inRegion Region Input region
outMajorAxis Segment2D
outMinorAxis Segment2D


The orientations of the resulting axes are always between 0 and 180 degrees.


  • If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.


RegionEllipticAxes performed on a sample region.


This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty region on input in RegionEllipticAxes.

Complexity Level

This filter is available on Basic Complexity Level.