Computes the elongation factor of a region ( perfect circle has minimal elongation equal 1.0 ).
Elongation is a measure of how long the shape is in relation to its width. The perfect circle has the minimal elongation equal to 1.0, while the upper bound doesn't exist. The operation internally approximates the region with an ellipse, and then computes the result as: Where L denotes the longer axis of the approximating ellipse, and S denotes the shorter one.
- If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
|DomainError||Empty region on input in RegionElongation.|
This filter is available on Basic Complexity Level.