/// <summary> /// Create a star detector with the specific parameters /// </summary> /// <param name="maxSize"> /// Maximum size of the features. The following /// values of the parameter are supported: /// 4, 6, 8, 11, 12, 16, 22, 23, 32, 45, 46, 64, 90, 128</param> /// <param name="responseThreshold"> /// Threshold for the approximated laplacian, /// used to eliminate weak features. The larger it is, /// the less features will be retrieved /// </param> /// <param name="lineThresholdProjected"> /// Another threshold for the laplacian to eliminate edges. /// The larger the threshold, the more points you get. /// </param> /// <param name="lineThresholdBinarized"> /// Another threshold for the feature size to eliminate edges. /// The larger the threshold, the more points you get.</param> /// <param name="suppressNonmaxSize"> /// /// </param> public StarDetector(int maxSize = 45, int responseThreshold = 30, int lineThresholdProjected = 10, int lineThresholdBinarized = 8, int suppressNonmaxSize = 5) { _ptr = ContribInvoke.cveStarDetectorCreate(maxSize, responseThreshold, lineThresholdProjected, lineThresholdBinarized, suppressNonmaxSize, ref _feature2D); }