/// <summary> /// Creates an AKAZE features finder /// </summary> /// <param name="descriptorType">Type of the extracted descriptor</param> /// <param name="descriptorSize">Size of the descriptor in bits. 0 -> Full size</param> /// <param name="descriptorChannels">Number of channels in the descriptor (1, 2, 3)</param> /// <param name="threshold">Detector response threshold to accept point</param> /// <param name="nOctaveLayers"> Default number of sublevels per scale level</param> /// <param name="nOctaves">Maximum octave evolution of the image</param> /// <param name="diffusivity">Diffusivity type</param> public AKAZEFeaturesFinder( AKAZE.DescriptorType descriptorType, int descriptorSize, int descriptorChannels, float threshold, int nOctaves, int nOctaveLayers, KAZE.Diffusivity diffusivity) { _ptr = StitchingInvoke.cveAKAZEFeaturesFinderCreate( descriptorType, descriptorSize, descriptorChannels, threshold, nOctaves, nOctaveLayers, diffusivity, ref _featuresFinderPtr); }
/// <summary> /// Creates an AKAZE features finder /// </summary> /// <param name="descriptorType">Type of the extracted descriptor</param> /// <param name="descriptorSize">Size of the descriptor in bits. 0 -> Full size</param> /// <param name="descriptorChannels">Number of channels in the descriptor (1, 2, 3)</param> /// <param name="threshold">Detector response threshold to accept point</param> /// <param name="nOctaveLayers"> Default number of sublevels per scale level</param> /// <param name="nOctaves">Maximum octave evolution of the image</param> /// <param name="diffusivity">Diffusivity type</param> public AKAZEFeaturesFinder( AKAZE.DescriptorType descriptorType = AKAZE.DescriptorType.Mldb, int descriptorSize = 0, int descriptorChannels = 3, float threshold = 0.001f, int nOctaves = 4, int nOctaveLayers = 4, KAZE.Diffusivity diffusivity = KAZE.Diffusivity.PmG2) { _ptr = StitchingInvoke.cveAKAZEFeaturesFinderCreate( descriptorType, descriptorSize, descriptorChannels, threshold, nOctaves, nOctaveLayers, diffusivity, ref _featuresFinderPtr); }