The SURF constructor.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public SURF( double hessianThreshold, int nOctaves = 4, int nOctaveLayers = 2, bool extended = true, bool upright = false )
Parameters
- hessianThreshold
- Type: SystemDouble
Only features with keypoint.hessian larger than that are extracted. - nOctaves (Optional)
- Type: SystemInt32
The number of a gaussian pyramid octaves that the detector uses. It is set to 4 by default. If you want to get very large features, use the larger value. If you want just small features, decrease it. - nOctaveLayers (Optional)
- Type: SystemInt32
The number of images within each octave of a gaussian pyramid. It is set to 2 by default. - extended (Optional)
- Type: SystemBoolean
false means basic descriptors (64 elements each), true means extended descriptors (128 elements each) - upright (Optional)
- Type: SystemBoolean
false means that detector computes orientation of each feature. true means that the orientation is not computed (which is much, much faster).
See Also