/// <summary> /// Create a SIFTDetector using the specific values /// </summary> /// <param name="nFeatures">The desired number of features. Use 0 for un-restricted number of features</param> /// <param name="nOctaveLayers">The number of octave layers. Use 3 for default</param> /// <param name="contrastThreshold">Contrast threshold. Use 0.04 as default</param> /// <param name="edgeThreshold">Detector parameter. Use 10.0 as default</param> /// <param name="sigma">Use 1.6 as default</param> public SIFTDetector( int nFeatures = 0, int nOctaveLayers = 3, double contrastThreshold = 0.04, double edgeThreshold = 10.0, double sigma = 1.6) { _ptr = ContribInvoke.CvSIFTDetectorCreate(nFeatures, nOctaveLayers, contrastThreshold, edgeThreshold, sigma, ref _feature2D); }