用于计算BRIEF描述符的类,如[47] 所述。更多…
#include <opencv2/xfeatures2d.hpp>
|
| String | getDefaultName () const CV_OVERRIDE |
| |
| 虚函数 int | getDescriptorSize () const =0 |
| |
| 虚函数 bool | getUseOrientation () const =0 |
| |
| 虚函数 void | setDescriptorSize (int bytes)=0 |
| |
| 虚函数 void | setUseOrientation (bool use_orientation)=0 |
| |
| 虚函数 | ~Feature2D () |
| |
| 虚函数 void | compute (InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors) |
| | 计算在一幅图像(第一种变体)或图像集(第二种变体)中检测到的关键点集的描述符。
|
| |
| 虚函数 void | compute (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors) |
| |
| 虚函数 int | defaultNorm () const |
| |
| 虚函数 int | descriptorSize () const |
| |
| 虚函数 int | descriptorType () const |
| |
| 虚函数 void | detect (InputArray image, std::vector< KeyPoint > &keypoints, InputArray mask=noArray()) |
| | 检测图像(第一种变体)或图像集(第二种变体)中的关键点。
|
| |
| 虚函数 void | detect (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, InputArrayOfArrays masks=noArray()) |
| |
| 虚函数 void | detectAndCompute (InputArray image, InputArray mask, std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false) |
| |
| 虚函数 bool | empty () const CV_OVERRIDE |
| | 如果检测器对象为空,则返回true。
|
| |
| 虚函数 void | read (const FileNode &) CV_OVERRIDE |
| | 从文件存储中读取算法参数。
|
| |
| void | read (const String &fileName) |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name) const |
| |
| void | write (const String &fileName) const |
| |
| 虚函数 void | write (FileStorage &) const CV_OVERRIDE |
| | 将算法参数存储到文件存储中。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |
| | Algorithm () |
| |
| 虚函数 | ~Algorithm () |
| |
| 虚函数 void | clear () |
| | 清除算法状态。
|
| |
| 虚函数 void | save (const String &filename) const |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| |
| void | write (FileStorage &fs, const String &name) const |
| |
用于计算BRIEF描述符的类,如[47] 所述。
- 参数
-
| bytes | 描述符的长度(字节),有效值为:16、32(默认值)或 64。 |
| use_orientation | 使用关键点方向的样本模式,默认情况下禁用。 |
◆ create()
| static Ptr< BriefDescriptorExtractor > cv::xfeatures2d::BriefDescriptorExtractor::create |
( |
int | bytes = 32, |
|
|
bool | use_orientation = false ) |
|
static |
| Python |
|---|
| cv.xfeatures2d.BriefDescriptorExtractor.create( | [, bytes[, use_orientation]] | ) -> | retval |
| cv.xfeatures2d.BriefDescriptorExtractor_create( | [, bytes[, use_orientation]] | ) -> | retval |
◆ getDefaultName()
| String cv::xfeatures2d::BriefDescriptorExtractor::getDefaultName |
( |
| ) |
const |
|
virtual |
| Python |
|---|
| cv.xfeatures2d.BriefDescriptorExtractor.getDefaultName( | | ) -> | retval |
返回算法字符串标识符。将对象保存到文件或字符串时,此字符串用作顶级 xml/yml 节点标记。
从 cv::Feature2D 重实现。
◆ getDescriptorSize()
| virtual int cv::xfeatures2d::BriefDescriptorExtractor::getDescriptorSize |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.xfeatures2d.BriefDescriptorExtractor.getDescriptorSize( | | ) -> | retval |
◆ getUseOrientation()
| virtual bool cv::xfeatures2d::BriefDescriptorExtractor::getUseOrientation |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.xfeatures2d.BriefDescriptorExtractor.getUseOrientation( | | ) -> | retval |
◆ setDescriptorSize()
| virtual void cv::xfeatures2d::BriefDescriptorExtractor::setDescriptorSize |
( |
int | bytes | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.xfeatures2d.BriefDescriptorExtractor.setDescriptorSize( | bytes | ) -> | 无 |
◆ setUseOrientation()
| virtual void cv::xfeatures2d::BriefDescriptorExtractor::setUseOrientation |
( |
bool | use_orientation | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.xfeatures2d.BriefDescriptorExtractor.setUseOrientation( | use_orientation | ) -> | 无 |
此类的文档是从以下文件生成的: