Method | Description | |
---|---|---|
BOWImgDescriptorExtractor ( |
The constructor.
|
|
BOWImgDescriptorExtractor ( |
The constructor.
|
|
Compute ( InputArray image, KeyPoint &keypoints, OutputArray imgDescriptor, int &pointIdxsOfClusters, OpenCvSharp.Mat descriptors = null ) : void |
Computes an image descriptor using the set visual vocabulary.
|
|
Compute ( InputArray keypointDescriptors, OutputArray imgDescriptor, int &pointIdxsOfClusters ) : void |
Computes an image descriptor using the set visual vocabulary.
|
|
Compute2 ( OpenCvSharp.Mat image, KeyPoint &keypoints, OpenCvSharp.Mat imgDescriptor ) : void |
Computes an image descriptor using the set visual vocabulary.
|
|
DescriptorSize ( ) : int |
Returns an image descriptor size if the vocabulary is set. Otherwise, it returns 0.
|
|
DescriptorType ( ) : int |
Returns an image descriptor type.
|
|
GetVocabulary ( ) : OpenCvSharp.Mat |
Returns the set vocabulary.
|
|
SetVocabulary ( OpenCvSharp.Mat vocabulary ) : void |
Sets a visual vocabulary.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the resources
|
public BOWImgDescriptorExtractor ( |
||
dmatcher | Descriptor matcher that is used to find the nearest word of the trained vocabulary for each keypoint descriptor of the image. | |
return | System |
public BOWImgDescriptorExtractor ( |
||
dextractor | Descriptor extractor that is used to compute descriptors for an input image and its keypoints. | |
dmatcher | Descriptor matcher that is used to find the nearest word of the trained vocabulary for each keypoint descriptor of the image. | |
return | System |
public Compute ( InputArray image, KeyPoint &keypoints, OutputArray imgDescriptor, int &pointIdxsOfClusters, OpenCvSharp.Mat descriptors = null ) : void | ||
image | InputArray | Image, for which the descriptor is computed. |
keypoints | KeyPoint | Keypoints detected in the input image. |
imgDescriptor | OutputArray | Computed output image descriptor. |
pointIdxsOfClusters | int | pointIdxsOfClusters Indices of keypoints that belong to the cluster. /// This means that pointIdxsOfClusters[i] are keypoint indices that belong to the i -th cluster(word of vocabulary) returned if it is non-zero. |
descriptors | OpenCvSharp.Mat | Descriptors of the image keypoints that are returned if they are non-zero. |
return | void |
public Compute ( InputArray keypointDescriptors, OutputArray imgDescriptor, int &pointIdxsOfClusters ) : void | ||
keypointDescriptors | InputArray | Computed descriptors to match with vocabulary. |
imgDescriptor | OutputArray | Computed output image descriptor. |
pointIdxsOfClusters | int | Indices of keypoints that belong to the cluster. /// This means that pointIdxsOfClusters[i] are keypoint indices that belong to the i -th cluster(word of vocabulary) returned if it is non-zero. |
return | void |
public Compute2 ( OpenCvSharp.Mat image, KeyPoint &keypoints, OpenCvSharp.Mat imgDescriptor ) : void | ||
image | OpenCvSharp.Mat | Image, for which the descriptor is computed. |
keypoints | KeyPoint | Keypoints detected in the input image. |
imgDescriptor | OpenCvSharp.Mat | Computed output image descriptor. |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. /// If false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. /// |
return | void |
public SetVocabulary ( OpenCvSharp.Mat vocabulary ) : void | ||
vocabulary | OpenCvSharp.Mat | Vocabulary (can be trained using the inheritor of BOWTrainer ). /// Each row of the vocabulary is a visual word(cluster center). |
return | void |