示例#1
0
 /// <summary>
 /// Create a simple blob detector
 /// </summary>
 /// <param name="parameters">The parameters for creating a simple blob detector</param>
 public SimpleBlobDetector(SimpleBlobDetectorParams parameters = null)
 {
     if (parameters == null)
     {
         _ptr = Features2DInvoke.cveSimpleBlobDetectorCreate(ref _feature2D, ref _sharedPtr);
     }
     else
     {
         _ptr = Features2DInvoke.cveSimpleBlobDetectorCreateWithParams(ref _feature2D, parameters, ref _sharedPtr);
     }
 }