Class cv::KeyPointsFilter#
A class filters a vector of keypoints. View details
#include <opencv2/features.hpp>Collaboration diagram for cv::KeyPointsFilter:
Detailed Description#
A class filters a vector of keypoints.
Because now it is difficult to provide a convenient interface for all usage scenarios of the keypoints filter class, it has only several needed by now static methods.
Constructor & Destructor Documentation#
KeyPointsFilter()#
Member Function Documentation#
removeDuplicated()#
static void cv::KeyPointsFilter::removeDuplicated(std::vector< KeyPoint > & keypoints)
removeDuplicatedSorted()#
static void cv::KeyPointsFilter::removeDuplicatedSorted(std::vector< KeyPoint > & keypoints)
retainBest()#
static void cv::KeyPointsFilter::retainBest(
std::vector< KeyPoint > & keypoints,
int npoints )
runByImageBorder()#
static void cv::KeyPointsFilter::runByImageBorder(
std::vector< KeyPoint > & keypoints,
Size imageSize,
int borderSize )
runByKeypointSize()#
static void cv::KeyPointsFilter::runByKeypointSize(
std::vector< KeyPoint > & keypoints,
float minSize,
float maxSize = FLT_MAX )
runByPixelsMask()#
static void cv::KeyPointsFilter::runByPixelsMask(
std::vector< KeyPoint > & keypoints,
const Mat & mask )
runByPixelsMask2VectorPoint()#
static void cv::KeyPointsFilter::runByPixelsMask2VectorPoint(
std::vector< KeyPoint > & keypoints,
std::vector< std::vector< Point > > & removeFrom,
const Mat & mask )
Source file#
The documentation for this class was generated from the following file:
opencv2/features.hpp