Exemplo n.º 1
0
 /// <summary>
 /// Create AKAZE using the specific values
 /// </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 AKAZE(
     DescriptorType descriptorType = 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 = Features2DInvoke.cveAKAZEDetectorCreate(
         descriptorType, descriptorSize, descriptorChannels,
         threshold, nOctaves, nOctaveLayers, diffusivity,
         ref _feature2D, ref _sharedPtr);
 }