[Missing <summary> documentation for "T:OpenCvSharp.CPlusPlus.DescriptorMatcher"]
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusAlgorithm
OpenCvSharp.CPlusPlusDescriptorMatcher
OpenCvSharp.CPlusPlusBFMatcher
OpenCvSharp.CPlusPlusFlannBasedMatcher
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The DescriptorMatcher type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DescriptorMatcher | Initializes a new instance of the DescriptorMatcher class |
Properties
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.) | |
Info |
Algorithm information
(Inherited from Algorithm.) | |
InfoPtr |
Pointer to algorithm information (cv::AlgorithmInfo*)
(Overrides AlgorithmInfoPtr.) | |
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.) | |
Name |
Returns the algorithm name
(Inherited from Algorithm.) |
Methods
Name | Description | |
---|---|---|
Add |
Add descriptors to train descriptor collection.
| |
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Clear |
Clear train descriptors collection.
| |
Create |
Create descriptor matcher by type name.
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Releases the resources
(Overrides AlgorithmDispose(Boolean).) | |
Empty |
Return true if there are not train descriptors in collection.
| |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetAlgorithm |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetBool |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetDouble |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetHashCode | (Inherited from Object.) | |
GetInt |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetMat |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetMatVector |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetParams | (Inherited from Algorithm.) | |
GetString |
Returns the algorithm parameter
(Inherited from Algorithm.) | |
GetTrainDescriptors |
Get train descriptors collection.
| |
GetType | (Inherited from Object.) | |
IsMaskSupported |
Return true if the matcher supports mask in match methods.
| |
KnnMatch(Mat, Int32, Mat, Boolean) |
Find k best matches for each query descriptor (in increasing order of distances).
compactResult is used when mask is not empty. If compactResult is false matches
vector will have the same size as queryDescriptors rows. If compactResult is true
matches vector will not contain matches for fully masked out query descriptors.
| |
KnnMatch(Mat, Mat, Int32, Mat, Boolean) |
Find k best matches for each query descriptor (in increasing order of distances).
compactResult is used when mask is not empty. If compactResult is false matches
vector will have the same size as queryDescriptors rows. If compactResult is true
matches vector will not contain matches for fully masked out query descriptors.
| |
Match(Mat, Mat) |
Find one best match for each query descriptor (if mask is empty).
| |
Match(Mat, Mat, Mat) |
Find one best match for each query descriptor (if mask is empty).
| |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
ParamHelp | (Inherited from Algorithm.) | |
ParamType | (Inherited from Algorithm.) | |
RadiusMatch(Mat, Single, Mat, Boolean) |
Find best matches for each query descriptor which have distance less than
maxDistance (in increasing order of distances).
| |
RadiusMatch(Mat, Mat, Single, Mat, Boolean) |
Find best matches for each query descriptor which have distance less than
maxDistance (in increasing order of distances).
| |
Release |
Clean up any resources being used.
(Inherited from Algorithm.) | |
SetAlgorithm |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetBool |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetDouble |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetInt |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetMat |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetMatVector |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
SetString |
Sets the algorithm parameter
(Inherited from Algorithm.) | |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString |
Returns a string that represents this Algorithm.
(Inherited from Algorithm.) | |
Train |
Train matcher (e.g. train flann index).
In all methods to match the method train() is run every time before matching.
Some descriptor matchers (e.g. BruteForceMatcher) have empty implementation
of this method, other matchers really train their inner structures
(e.g. FlannBasedMatcher trains flann::Index). So nonempty implementation
of train() should check the class object state and do traing/retraining
only if the state requires that (e.g. FlannBasedMatcher trains flann::Index
if it has not trained yet or if new descriptors have been added to the train collection).
|
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
ptr |
Data pointer
(Inherited from DisposableCvObject.) |
See Also