cvApproxPoly() приватный Метод

private cvApproxPoly ( IntPtr srcSeq, int headerSize, IntPtr storage, CvEnum method, double parameter, int parameter2 ) : IntPtr
srcSeq IntPtr
headerSize int
storage IntPtr
method CvEnum
parameter double
parameter2 int
Результат IntPtr
Пример #1
0
 /// <summary>
 /// Approximates one or more curves and returns the approximation result[s]. In case of multiple curves approximation the resultant tree will have the same structure as the input one (1:1 correspondence)
 /// </summary>
 /// <param name="accuracy">The desired approximation accuracy</param>
 /// <param name="storage"> The storage the resulting sequence use</param>
 /// <param name="maxLevel">
 /// Maximal level for contour approximation.
 /// If 0, only contour is arrpoximated.
 /// If 1, the contour and all contours after it on the same level are approximated.
 /// If 2, all contours after and all contours one level below the contours are approximated, etc. If the value is negative, the function does not draw the contours following after contour but draws child contours of contour up to abs(maxLevel)-1 level
 /// </param>
 /// <returns>The approximated contour</returns>
 public new Contour <T> ApproxPoly(double accuracy, int maxLevel, MemStorage storage)
 {
     return(new Contour <T>(
                CvInvoke.cvApproxPoly(
                    Ptr,
                    StructSize.MCvContour,
                    storage.Ptr,
                    CvEnum.APPROX_POLY_TYPE.CV_POLY_APPROX_DP,
                    accuracy,
                    maxLevel),
                storage));
 }