Exemple #1
0
 /// <summary>
 /// Retrieves outer and optionally inner boundaries of white (non-zero) connected
 /// components in the black (zero) background
 /// </summary>
 /// <param name="image"></param>
 /// <param name="storage"></param>
 /// <param name="first_contour"></param>
 /// <param name="header_size"></param>
 /// <param name="mode"></param>
 /// <param name="method"></param>
 /// <returns></returns>
 public static int cvFindContours(__CvArrPtr image, __CvMemStoragePtr storage,
                                  out __CvSeqPtr first_contour, int header_size, CV_RETR mode, CV_CHAIN method)
 {
     return(cvFindContours(image, storage, out first_contour, header_size, mode, method, new __CvPoint(0, 0)));
 }
 /// <summary>
 /// Retrieves outer and optionally inner boundaries of white (non-zero) connected
 /// components in the black (zero) background
 /// </summary>
 /// <param name="image"></param>
 /// <param name="storage"></param>
 /// <param name="first_contour"></param>
 /// <param name="header_size"></param>
 /// <param name="mode"></param>
 /// <param name="method"></param>
 /// <returns></returns>
 public static int cvFindContours(__CvArrPtr image, __CvMemStoragePtr storage,
     out __CvSeqPtr first_contour, int header_size, CV_RETR mode, CV_CHAIN method)
 {
     return cvFindContours(image, storage, out first_contour, header_size, mode, method, new __CvPoint(0,0));
 }
Exemple #3
0
 public static extern int cvFindContours(__CvArrPtr image, __CvMemStoragePtr storage,
                                         out __CvSeqPtr first_contour, int header_size, CV_RETR mode,
                                         CV_CHAIN method, __CvPoint offset);
 public static extern int cvFindContours(__CvArrPtr image, __CvMemStoragePtr storage,
     out __CvSeqPtr first_contour, int header_size, CV_RETR mode,
     CV_CHAIN method, __CvPoint offset);