Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvArcLength

cvArcLength


Module: OpenCV

Calculates a contour perimeter or a curve length.

Name Type Description
Input value
inCurve Path Input curve.
Input value
inClosed Bool Flag indication whether the curve is closed or not.
Output value
outLength Real Length of curve.

Errors

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 Input curve must not be empty in cvArcLength.

Complexity Level

This filter is available on Basic Complexity Level.