Calculates contour perimeter or curve length
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- curve
- Type: OpenCvSharpCvArr
Sequence or array of the curve points. - slice
- Type: OpenCvSharpCvSlice
Starting and ending points of the curve, by default the whole curve length is calculated. - isClosed
- Type: SystemInt32
Indicates whether the curve is closed or not. There are 3 cases: * is_closed=0 - the curve is assumed to be unclosed. * is_closed>0 - the curve is assumed to be closed. * is_closed<0 - if curve is sequence, the flag CV_SEQ_FLAG_CLOSED of ((CvSeq*)curve)->flags is checked to determine if the curve is closed or not, otherwise (curve is represented by array (CvMat*) of points) it is assumed to be unclosed.
Return Value
Type: Double[Missing <returns> documentation for "M:OpenCvSharp.Cv.ArcLength(OpenCvSharp.CvArr,OpenCvSharp.CvSlice,System.Int32)"]
See Also