示例#1
0
 /// <summary>
 /// Create a fast detector with the specific parameters
 /// </summary>
 /// <param name="threshold">Threshold on difference between intensity of center pixel and pixels on circle around
 /// this pixel.</param>
 /// <param name="nonmaxSupression">Specify if non-maximum suppression should be used.</param>
 /// <param name="type">One of the three neighborhoods as defined in the paper</param>
 public FastFeatureDetector(int threshold = 10, bool nonmaxSupression = true, DetectorType type = DetectorType.Type9_16)
 {
     _ptr = Features2DInvoke.cveFASTFeatureDetectorCreate(threshold, nonmaxSupression, type, ref _feature2D, ref _sharedPtr);
 }