Approximates Freeman chain(s) with polygonal curve
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CvSeq<CvPoint> ApproxChains( CvChain srcSeq, CvMemStorage storage, ContourChain method, double parameter, int minimalPerimeter, bool recursive )
Parameters
- srcSeq
- Type: OpenCvSharpCvChain
Freeman chain(s) - storage
- Type: OpenCvSharpCvMemStorage
Storage location for the resulting polylines. - method
- Type: OpenCvSharpContourChain
Approximation method. - parameter
- Type: SystemDouble
Method parameter (not used now). - minimalPerimeter
- Type: SystemInt32
Approximates only those contours whose perimeters are not less than minimal_perimeter. Other chains are removed from the resulting structure. - recursive
- Type: SystemBoolean
If true, the function approximates all chains that access can be obtained to from src_seq by h_next or v_next links. If false, the single chain is approximated.
Return Value
Type: CvSeqCvPoint[Missing <returns> documentation for "M:OpenCvSharp.Cv.ApproxChains(OpenCvSharp.CvChain,OpenCvSharp.CvMemStorage,OpenCvSharp.ContourChain,System.Double,System.Int32,System.Boolean)"]
See Also