实现 KAZE 关键点检测器和描述符提取器的类,描述于 [10]。 更多...
#include <opencv2/features2d.hpp>
|
| virtual String | getDefaultName () const CV_OVERRIDE |
| |
| virtual KAZE::DiffusivityType | getDiffusivity () const =0 |
| |
| virtual bool | getExtended () const =0 |
| |
| virtual int | getNOctaveLayers () const =0 |
| |
| virtual int | getNOctaves () const =0 |
| |
| virtual double | getThreshold () const =0 |
| |
| virtual bool | getUpright () const =0 |
| |
| virtual void | setDiffusivity (KAZE::DiffusivityType diff)=0 |
| |
| virtual void | setExtended (bool extended)=0 |
| |
| virtual void | setNOctaveLayers (int octaveLayers)=0 |
| |
| virtual void | setNOctaves (int octaves)=0 |
| |
| virtual void | setThreshold (double threshold)=0 |
| |
| virtual void | setUpright (bool upright)=0 |
| |
| virtual | ~Feature2D () |
| |
| virtual void | compute (InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors) |
| | 计算在图像(第一种变体)或图像集(第二种变体)中检测到的一组关键点的描述符。
|
| |
| virtual void | compute (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors) |
| |
| virtual int | defaultNorm () const |
| |
| virtual int | descriptorSize () const |
| |
| virtual int | descriptorType () const |
| |
| virtual void | detect (InputArray image, std::vector< KeyPoint > &keypoints, InputArray mask=noArray()) |
| | 检测图像(第一种变体)或图像集(第二种变体)中的关键点。
|
| |
| virtual void | detect (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, InputArrayOfArrays masks=noArray()) |
| |
| virtual void | detectAndCompute (InputArray image, InputArray mask, std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false) |
| |
| virtual bool | empty () const CV_OVERRIDE |
| | 如果检测器对象为空,则返回 true。
|
| |
| virtual 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 |
| |
| virtual void | write (FileStorage &) const CV_OVERRIDE |
| | 将算法参数存储到文件存储中。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | 清除算法状态。
|
| |
| virtual 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 |
| |
实现 KAZE 关键点检测器和描述符提取器的类,描述于 [10]。
- 注意
- AKAZE 描述符只能与 KAZE 或 AKAZE 关键点一起使用。[ABD12] KAZE Features. Pablo F. Alcantarilla, Adrien Bartoli and Andrew J. Davison. 收录于欧洲计算机视觉会议 (ECCV),意大利佛罗伦萨,2012年10月。
◆ 扩散类型
| 枚举器 |
|---|
| DIFF_PM_G1 | |
| DIFF_PM_G2 | |
| DIFF_WEICKERT | |
| DIFF_CHARBONNIER | |
◆ create()
| Python |
|---|
| cv.KAZE.create( | [, extended[, upright[, threshold[, nOctaves[, nOctaveLayers[, diffusivity]]]]]] | ) -> | retval |
| cv.KAZE_create( | [, extended[, upright[, threshold[, nOctaves[, nOctaveLayers[, diffusivity]]]]]] | ) -> | retval |
KAZE 构造函数。
- 参数
-
| extended | 设置为启用扩展(128字节)描述符的提取。 |
| upright | 设置为启用使用直立描述符(非旋转不变)。 |
| RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | 接受点的检测器响应阈值 |
| nOctaves | 图像的最大八度演变 |
| nOctaveLayers | 每个尺度级别中的默认子级别数 |
| 扩散性 | 扩散类型。DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT 或 DIFF_CHARBONNIER |
◆ getDefaultName()
| virtual String cv::KAZE::getDefaultName |
( |
| ) |
const |
|
virtual |
| Python |
|---|
| cv.KAZE.getDefaultName( | | ) -> | retval |
返回算法字符串标识符。当对象保存到文件或字符串时,此字符串用作顶层 xml/yml 节点标签。
从 cv::Feature2D 重新实现。
◆ getDiffusivity()
| Python |
|---|
| cv.KAZE.getDiffusivity( | | ) -> | retval |
◆ getExtended()
| virtual bool cv::KAZE::getExtended |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.getExtended( | | ) -> | retval |
◆ getNOctaveLayers()
| virtual int cv::KAZE::getNOctaveLayers |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.getNOctaveLayers( | | ) -> | retval |
◆ getNOctaves()
| virtual int cv::KAZE::getNOctaves |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.getNOctaves( | | ) -> | retval |
◆ getThreshold()
| virtual double cv::KAZE::getThreshold |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.getThreshold( | | ) -> | retval |
◆ getUpright()
| virtual bool cv::KAZE::getUpright |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.getUpright( | | ) -> | retval |
◆ setDiffusivity()
| Python |
|---|
| cv.KAZE.setDiffusivity( | diff | ) -> | 无 |
◆ setExtended()
| virtual void cv::KAZE::setExtended |
( |
bool | extended | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.setExtended( | extended | ) -> | 无 |
◆ setNOctaveLayers()
| virtual void cv::KAZE::setNOctaveLayers |
( |
int | octaveLayers | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.setNOctaveLayers( | octaveLayers | ) -> | 无 |
◆ setNOctaves()
| virtual void cv::KAZE::setNOctaves |
( |
int | octaves | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.setNOctaves( | octaves | ) -> | 无 |
◆ setThreshold()
| virtual void cv::KAZE::setThreshold |
( |
double | RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.setThreshold( | RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | ) -> | 无 |
◆ setUpright()
| virtual void cv::KAZE::setUpright |
( |
bool | upright | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.KAZE.setUpright( | upright | ) -> | 无 |
此类的文档是从以下文件生成的