KAZE.create constructor
      
      KAZE.create({})
     
    
/ The KAZE constructor
extended Set to enable extraction of extended (128-byte) descriptor.
upright Set to enable use of upright descriptors (non rotation-invariant).
threshold Detector response threshold to accept point
nOctaves Maximum octave evolution of the image
nOctaveLayers Default number of sublevels per scale level
diffusivity Diffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or DIFF_CHARBONNIER
CV_WRAP static Ptr<KAZE> create(bool extended=false, bool upright=false,
 float threshold = 0.001f,
 int nOctaves = 4, int nOctaveLayers = 4,
 KAZE::DiffusivityType diffusivity = KAZE::DIFF_PM_G2);
https://docs.opencv.org/4.x/d3/d61/classcv_1_1KAZE.html#a2fdb3848a465a55bc39941f5af99f7e3
Implementation
factory KAZE.create({
  bool extended = false,
  bool upright = false,
  double threshold = 0.001,
  int nOctaves = 4,
  int nOctaveLayers = 4,
  KAZEDiffusivityType diffusivity = KAZEDiffusivityType.DIFF_PM_G2,
}) {
  final p = calloc<cvg.KAZE>();
  cvRun(
    () => cfeatures2d.cv_KAZE_create_1(
      extended,
      upright,
      threshold,
      nOctaves,
      nOctaveLayers,
      diffusivity.value,
      p,
    ),
  );
  return KAZE._(p);
}