OpenCV  4.10.0
开源计算机视觉库
加载中...
搜索中...
无匹配项
公有成员函数 | 静态公有成员函数 | 所有成员列表
cv::KeyPointsFilter 类参考

用于过滤关键点向量的一个类。 更多...

#include <opencv2/features2d.hpp>

cv::KeyPointsFilter 的协作图

公有成员函数

 KeyPointsFilter ()
 

静态公有成员函数

static void removeDuplicated (std::vector< KeyPoint > &keypoints)
 
static void removeDuplicatedSorted (std::vector< KeyPoint > &keypoints)
 
static void retainBest (std::vector< KeyPoint > &keypoints, int npoints)
 
static void runByImageBorder (std::vector< KeyPoint > &keypoints, Size imageSize, int borderSize)
 
static void runByKeypointSize (std::vector< KeyPoint > &keypoints, float minSize, float maxSize=FLT_MAX)
 
static void runByPixelsMask (std::vector< KeyPoint > &keypoints, const Mat &mask)
 
static void runByPixelsMask2VectorPoint (std::vector< KeyPoint > &keypoints, std::vector< std::vector< Point > > &removeFrom, const Mat &mask)
 

详细描述

用于过滤关键点向量的一个类。

由于现在很难为关键点过滤器类的所有使用场景提供便捷的接口,它目前只包含几个必要的静态方法。

构造函数和析构函数文档

◆ KeyPointsFilter()

cv::KeyPointsFilter::KeyPointsFilter ( )
inline

成员函数文档

◆ removeDuplicated()

static void cv::KeyPointsFilter::removeDuplicated ( std::vector< KeyPoint > &  keypoints)
static

◆ removeDuplicatedSorted()

static void cv::KeyPointsFilter::removeDuplicatedSorted ( std::vector< KeyPoint > &  keypoints)
static

◆ retainBest()

static void cv::KeyPointsFilter::retainBest ( std::vector< KeyPoint > &  keypoints,
int  npoints 
)
static

◆ runByImageBorder()

static void cv::KeyPointsFilter::runByImageBorder ( std::vector< KeyPoint > &  keypoints,
Size  imageSize,
int  borderSize 
)
static

◆ runByKeypointSize()

static void cv::KeyPointsFilter::runByKeypointSize ( std::vector< KeyPoint > &  keypoints,
float  minSize,
float  maxSize = FLT_MAX 
)
static

◆ runByPixelsMask()

static void cv::KeyPointsFilter::runByPixelsMask ( std::vector< KeyPoint > &  keypoints,
const Mat mask 
)
static

◆ runByPixelsMask2VectorPoint()

static void cv::KeyPointsFilter::runByPixelsMask2VectorPoint ( std::vector< KeyPoint > &  keypoints,
std::vector< std::vector< Point > > &  removeFrom,
const Mat mask 
)
static

该类的文档是从以下文件生成的