Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvArcLength
Module: | OpenCV |
---|
Calculates a contour perimeter or a curve length.
Name | Type | Description | |
---|---|---|---|
inCurve | Path | Input curve. | |
inClosed | Bool | Flag indication whether the curve is closed or not. | |
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.