OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::DescriptorMatcher::DescriptorCollection Class Reference

#include <opencv2/features.hpp>

Collaboration diagram for cv::DescriptorMatcher::DescriptorCollection:

Public Member Functions

 DescriptorCollection ()
 
 DescriptorCollection (const DescriptorCollection &collection)
 
virtual ~DescriptorCollection ()
 
virtual void clear ()
 
Mat getDescriptor (int globalDescIdx) const
 
Mat getDescriptor (int imgIdx, int localDescIdx) const
 
const MatgetDescriptors () const
 
void getLocalIdx (int globalDescIdx, int &imgIdx, int &localDescIdx) const
 
void set (const std::vector< Mat > &descriptors)
 
int size () const
 

Protected Attributes

Mat mergedDescriptors
 
std::vector< int > startIdxs
 

Detailed Description

Class to work with descriptors from several images as with one merged matrix. It is used e.g. in FlannBasedMatcher.

Constructor & Destructor Documentation

◆ DescriptorCollection() [1/2]

cv::DescriptorMatcher::DescriptorCollection::DescriptorCollection ( )

◆ DescriptorCollection() [2/2]

cv::DescriptorMatcher::DescriptorCollection::DescriptorCollection ( const DescriptorCollection & collection)

◆ ~DescriptorCollection()

virtual cv::DescriptorMatcher::DescriptorCollection::~DescriptorCollection ( )
virtual

Member Function Documentation

◆ clear()

virtual void cv::DescriptorMatcher::DescriptorCollection::clear ( )
virtual

◆ getDescriptor() [1/2]

Mat cv::DescriptorMatcher::DescriptorCollection::getDescriptor ( int globalDescIdx) const

◆ getDescriptor() [2/2]

Mat cv::DescriptorMatcher::DescriptorCollection::getDescriptor ( int imgIdx,
int localDescIdx ) const

◆ getDescriptors()

const Mat & cv::DescriptorMatcher::DescriptorCollection::getDescriptors ( ) const

◆ getLocalIdx()

void cv::DescriptorMatcher::DescriptorCollection::getLocalIdx ( int globalDescIdx,
int & imgIdx,
int & localDescIdx ) const

◆ set()

void cv::DescriptorMatcher::DescriptorCollection::set ( const std::vector< Mat > & descriptors)

◆ size()

int cv::DescriptorMatcher::DescriptorCollection::size ( ) const

Member Data Documentation

◆ mergedDescriptors

Mat cv::DescriptorMatcher::DescriptorCollection::mergedDescriptors
protected

◆ startIdxs

std::vector<int> cv::DescriptorMatcher::DescriptorCollection::startIdxs
protected

The documentation for this class was generated from the following file: