| SURFCreate Method |
The SURF constructor.
Namespace:
OpenCvSharp.XFeatures2D
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static SURF Create(
double hessianThreshold,
int nOctaves = 4,
int nOctaveLayers = 2,
bool extended = true,
bool upright = false
)
Public Shared Function Create (
hessianThreshold As Double,
Optional nOctaves As Integer = 4,
Optional nOctaveLayers As Integer = 2,
Optional extended As Boolean = true,
Optional upright As Boolean = false
) As SURF
public:
static SURF^ Create(
double hessianThreshold,
int nOctaves = 4,
int nOctaveLayers = 2,
bool extended = true,
bool upright = false
)
static member Create :
hessianThreshold : float *
?nOctaves : int *
?nOctaveLayers : int *
?extended : bool *
?upright : bool
(* Defaults:
let _nOctaves = defaultArg nOctaves 4
let _nOctaveLayers = defaultArg nOctaveLayers 2
let _extended = defaultArg extended true
let _upright = defaultArg upright false
*)
-> SURF
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).
Return Value
Type:
SURF[Missing <returns> documentation for "M:OpenCvSharp.XFeatures2D.SURF.Create(System.Double,System.Int32,System.Int32,System.Boolean,System.Boolean)"]
See Also