OpenCV  3.2.0-dev
Open Source Computer Vision
cv::DescriptorMatcher::DescriptorCollection Class Reference

Class to work with descriptors from several images as with one merged matrix. More...

#include "features2d.hpp"

Collaboration diagram for cv::DescriptorMatcher::DescriptorCollection:

Public Member Functions

 DescriptorCollection ()
 
 DescriptorCollection (const DescriptorCollection &collection)
 
virtual ~DescriptorCollection ()
 
virtual void clear ()
 
const Mat getDescriptor (int imgIdx, int localDescIdx) const
 
const Mat getDescriptor (int globalDescIdx) 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

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

Member Function Documentation

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

Member Data Documentation

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

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