BRISK.create constructor

BRISK.create({
  1. int thresh = 30,
  2. int octaves = 3,
  3. double patternScale = 1.0,
})

The BRISK constructor

thresh AGAST detection threshold score. octaves detection octaves. Use 0 to do single scale. patternScale apply this scale to the pattern used for sampling the neighbourhood of a keypoint.

CV_WRAP static Ptr<BRISK> create(int thresh=30, int octaves=3, float patternScale=1.0f);

https://docs.opencv.org/4.x/de/dbf/classcv_1_1BRISK.html#ad3b513ded80119670e5efa90a31705ac

Implementation

factory BRISK.create({int thresh = 30, int octaves = 3, double patternScale = 1.0}) {
  final p = calloc<cvg.BRISK>();
  cvRun(() => cfeatures2d.cv_BRISK_create_3(thresh, octaves, patternScale, p));
  return BRISK._(p);
}