Set the features finder
obj.setFeaturesFinder(finderType)
obj.setFeaturesFinder(finderType, 'OptionName',optionValue, ...)
Input
- finderType Feature finder type. One of:
- OrbFeaturesFinder ORB features finder. See cv.ORB
- AKAZEFeaturesFinder AKAZE features finder. See cv.AKAZE
- SurfFeaturesFinder SURF features finder. See cv.SURF
(requires
xfeatures2d
module)
- SurfFeaturesFinderGpu (requires CUDA and
xfeatures2d
module)
Options
The following are options for the various finders:
OrbFeaturesFinder
- GridSize default [3,1]
- NFeatures default 1500
- ScaleFactor default 1.3
- NLevels default 5
AKAZEFeaturesFinder
- DescriptorType default 'MLDB'
- DescriptorSize default 0
- DescriptorChannels default 3
- Threshold default 0.001
- NOctaves default 4
- NOctaveLayers default 4
- Diffusivity default
PM_G2
SurfFeaturesFinder
- HessThresh default 300.0
- NumOctaves default 3
- NumLayers default 4
- NumOctaveDescr default 3
- NumLayersDesc default 4
The class uses OrbFeaturesFinder
by default or
SurfFeaturesFinder
if xfeatures2d
module is available.