opencv2/features.hpp#
#include <opencv2/opencv_modules.hpp>
#include <opencv2/core.hpp>
Include dependency graph for features.hpp:
This graph shows which files directly or indirectly include features.hpp:
Classes#
struct cv::Accumulator
struct cv::Accumulator< char >
struct cv::Accumulator< short >
struct cv::Accumulator< unsigned char >
struct cv::Accumulator< unsigned short >
class cv::AffineFeature
Class for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in [349] . More…
class cv::ALIKED
ALIKED feature detector and descriptor extractor. More…
class cv::ANNIndex
class cv::BFMatcher
Brute-force descriptor matcher. More…
class cv::DescriptorMatcher::DescriptorCollection
class cv::DescriptorMatcher
Abstract base class for matching keypoint descriptors. More…
class cv::DISK
DISK feature detector and descriptor, based on a DNN model. More…
class cv::FastFeatureDetector
Wrapping class for feature detection using the FAST method. More…
class cv::Feature2D
Abstract base class for 2D image feature detectors and descriptor extractors. More…
class cv::FlannBasedMatcher
Flann-based descriptor matcher. More…
class cv::GFTTDetector
Wrapping class for feature detection using the goodFeaturesToTrack function. : More…
class cv::KeyPointsFilter
A class filters a vector of keypoints. More…
struct cv::L1
struct cv::L2
class cv::LightGlueMatcher
LightGlue feature matcher. More…
class cv::MSER
Maximally stable extremal region extractor. More…
class cv::ORB
Class implementing the ORB (oriented BRIEF) keypoint detector and descriptor extractor. More…
struct cv::SimpleBlobDetector::Params
struct cv::ALIKED::Params
class cv::SIFT
Class for extracting keypoints and computing descriptors using the Scale Invariant Feature Transform (SIFT) algorithm by D. Lowe [194] . More…
class cv::SimpleBlobDetector
Class for extracting blobs from an image. : More…
struct cv::SL2
Namespaces#
namespace cv
Enumerations#
enum cv::DrawMatchesFlags { DEFAULT = 0, DRAW_OVER_OUTIMG = 1, NOT_DRAW_SINGLE_POINTS = 2, DRAW_RICH_KEYPOINTS = 4 }
Functions#
void cv::drawKeypoints (InputArray image, const std::vector< KeyPoint > &keypoints, InputOutputArray outImage, const Scalar &color=Scalar::all(-1), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
Draws keypoints.
void cv::drawMatches (InputArray img1, const std::vector< KeyPoint > &keypoints1, InputArray img2, const std::vector< KeyPoint > &keypoints2, const std::vector< DMatch > &matches1to2, InputOutputArray outImg, const int matchesThickness, const Scalar &matchColor=Scalar::all(-1), const Scalar &singlePointColor=Scalar::all(-1), const std::vector< char > &matchesMask=std::vector< char >(), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
void cv::drawMatches (InputArray img1, const std::vector< KeyPoint > &keypoints1, InputArray img2, const std::vector< KeyPoint > &keypoints2, const std::vector< DMatch > &matches1to2, InputOutputArray outImg, const Scalar &matchColor=Scalar::all(-1), const Scalar &singlePointColor=Scalar::all(-1), const std::vector< char > &matchesMask=std::vector< char >(), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
Draws the found matches of keypoints from two images.
void cv::drawMatches (InputArray img1, const std::vector< KeyPoint > &keypoints1, InputArray img2, const std::vector< KeyPoint > &keypoints2, const std::vector< std::vector< DMatch > > &matches1to2, InputOutputArray outImg, const Scalar &matchColor=Scalar::all(-1), const Scalar &singlePointColor=Scalar::all(-1), const std::vector< std::vector< char > > &matchesMask=std::vector< std::vector< char > >(), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
void cv::computeRecallPrecisionCurve (const std::vector< std::vector< DMatch > > &matches1to2, const std::vector< std::vector< uchar > > &correctMatches1to2Mask, std::vector< Point2f > &recallPrecisionCurve)
void cv::evaluateFeatureDetector (const Mat &img1, const Mat &img2, const Mat &H1to2, std::vector< KeyPoint > *keypoints1, std::vector< KeyPoint > *keypoints2, float &repeatability, int &correspCount, const Ptr< FeatureDetector > &fdetector=Ptr< FeatureDetector >())
void cv::FAST (InputArray image, std::vector< KeyPoint > &keypoints, int threshold, bool nonmaxSuppression=true, FastFeatureDetector::DetectorType type=FastFeatureDetector::TYPE_9_16)
Detects corners using the FAST algorithm.
int cv::getNearestPoint (const std::vector< Point2f > &recallPrecisionCurve, float l_precision)
float cv::getRecall (const std::vector< Point2f > &recallPrecisionCurve, float l_precision)
void cv::goodFeaturesToTrack (InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask, int blockSize, int gradientSize, bool useHarrisDetector=false, double k=0.04)
void cv::goodFeaturesToTrack (InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask, OutputArray cornersQuality, int blockSize=3, int gradientSize=3, bool useHarrisDetector=false, double k=0.04)
Same as above, but returns also quality measure of the detected corners.
void cv::goodFeaturesToTrack (InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask=noArray(), int blockSize=3, bool useHarrisDetector=false, double k=0.04)
Determines strong corners on an image.