View Source Evision.BOWImgDescriptorExtractor (Evision v0.1.9)
Link to this section Summary
cv
The constructor.
Returns an image descriptor size if the vocabulary is set. Otherwise, it returns 0.
Returns an image descriptor type.
Returns the set vocabulary.
Sets a visual vocabulary.
Functions
Raising version of bowImgDescriptorExtractor/2
.
Raising version of compute/3
.
Raising version of compute/4
.
Raising version of descriptorSize/1
.
Raising version of descriptorType/1
.
Raising version of getVocabulary/1
.
Raising version of setVocabulary/2
.
Link to this section cv
The constructor.
Positional Arguments
dextractor:
Ptr<DescriptorExtractor>
.Descriptor extractor that is used to compute descriptors for an input image and its keypoints.
dmatcher:
Ptr<DescriptorMatcher>
.Descriptor matcher that is used to find the nearest word of the trained vocabulary for each keypoint descriptor of the image.
Python prototype (for reference):
BOWImgDescriptorExtractor(dextractor, dmatcher) -> <BOWImgDescriptorExtractor object>
Positional Arguments
- image:
Evision.Mat
- keypoints:
[KeyPoint]
Return
imgDescriptor:
Evision.Mat
.Computed output image descriptor.
Has overloading in C++
Python prototype (for reference):
compute(image, keypoints[, imgDescriptor]) -> imgDescriptor
Positional Arguments
- image:
Evision.Mat
- keypoints:
[KeyPoint]
Return
imgDescriptor:
Evision.Mat
.Computed output image descriptor.
Has overloading in C++
Python prototype (for reference):
compute(image, keypoints[, imgDescriptor]) -> imgDescriptor
Returns an image descriptor size if the vocabulary is set. Otherwise, it returns 0.
Python prototype (for reference):
descriptorSize() -> retval
Returns an image descriptor type.
Python prototype (for reference):
descriptorType() -> retval
Returns the set vocabulary.
Python prototype (for reference):
getVocabulary() -> retval
Sets a visual vocabulary.
Positional Arguments
vocabulary:
Evision.Mat
.Vocabulary (can be trained using the inheritor of BOWTrainer ). Each row of the vocabulary is a visual word (cluster center).
Python prototype (for reference):
setVocabulary(vocabulary) -> None
Link to this section Functions
Raising version of bowImgDescriptorExtractor/2
.
Raising version of compute/3
.
Raising version of compute/4
.
Raising version of descriptorSize/1
.
Raising version of descriptorType/1
.
Raising version of getVocabulary/1
.
Raising version of setVocabulary/2
.