SURF Class |
Namespace: OpenCvSharp.XFeatures2D
The SURF type exposes the following members.
| Name | Description | |
|---|---|---|
| AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
| AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
| CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
| DefaultNorm | (Inherited from Feature2D.) | |
| DescriptorSize | (Inherited from Feature2D.) | |
| DescriptorType | (Inherited from Feature2D.) | |
| Empty |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
(Inherited from Algorithm.) | |
| Extended |
false means that the basic descriptors (64 elements each) shall be computed.
true means that the extended descriptors (128 elements each) shall be computed
| |
| HessianThreshold |
Threshold for the keypoint detector. Only features, whose hessian is larger than hessianThreshold
are retained by the detector. Therefore, the larger the value, the less keypoints you will get.
A good default value could be from 300 to 500, depending from the image contrast.
| |
| IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
| IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
| NOctaveLayers |
The number of images within each octave of a gaussian pyramid. It is set to 2 by default.
| |
| NOctaves |
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.
| |
| Upright |
false means that detector computes orientation of each feature.
true means that the orientation is not computed (which is much, much faster).
For example, if you match images from a stereo pair, or do image stitching, the matched features
likely have very similar angles, and you can speed up feature extraction by setting upright=true.
|
| Name | Description | |
|---|---|---|
| AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
| AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
| Compute(InputArray, KeyPoint, OutputArray) |
Compute the descriptors for a set of keypoints in an image.
(Inherited from Feature2D.) | |
| Compute(IEnumerableMat, KeyPoint, IEnumerableMat) |
Compute the descriptors for a keypoints collection detected in image collection.
(Inherited from Feature2D.) | |
| Create |
The SURF constructor.
| |
| Detect(InputArray, Mat) |
Detect keypoints in an image.
(Inherited from Feature2D.) | |
| Detect(Mat, Mat) |
Detect keypoints in an image.
(Inherited from Feature2D.) | |
| Detect(IEnumerableMat, IEnumerableMat) |
Detect keypoints in an image set.
(Inherited from Feature2D.) | |
| DetectAndCompute |
Detects keypoints and computes the descriptors
(Inherited from Feature2D.) | |
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| DisposeManaged |
Releases managed resources
(Overrides DisposableObjectDisposeManaged.) | |
| DisposeUnmanaged |
releases unmanaged resources
(Inherited from DisposableCvObject.) | |
| Empty |
Return true if detector object is empty
(Inherited from Feature2D.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Destructor
(Inherited from DisposableObject.) | |
| GetDefaultName |
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object
is saved to a file or string.
(Inherited from Algorithm.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| Read |
Reads algorithm parameters from a file storage
(Inherited from Algorithm.) | |
| Save |
Saves the algorithm to a file.
In order to make this method work, the derived class must
implement Algorithm::write(FileStorage fs).
(Inherited from Algorithm.) | |
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Write |
Stores algorithm parameters in a file storage
(Inherited from Algorithm.) |
| Name | Description | |
|---|---|---|
| dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
| ptr |
Data pointer
(Inherited from DisposableCvObject.) |