Ejemplo n.º 1
0
 /// <summary>
 /// Splits color or grayscale image into multiple connected components
 //  of nearly the same color/brightness using modification of Burt algorithm.
 //  comp with contain a pointer to sequence (CvSeq)
 //  of connected components (CvConnectedComp)
 /// TODO: Remove 'dst' argument and return a CVImage object
 /// </summary>
 public void PyrSegmentation(CVImage dst, IntPtr storage, IntPtr comp, int level, double threshold1, double threshold2)
 {
     PInvoke.cvPyrSegmentation(new __CvImagePtr(this), new __CvImagePtr(dst), new __CvMemStoragePtr(storage), new __CvSeqPtr(comp), level, threshold1, threshold2);
 }