OpenCV  2.4.13.7
Open Source Computer Vision
cv::GenericDescriptorMatcher::KeyPointCollection Class Reference

#include <features2d.hpp>

Public Member Functions

 KeyPointCollection ()
 
 KeyPointCollection (const KeyPointCollection &collection)
 
void add (const vector< Mat > &images, const vector< vector< KeyPoint > > &keypoints)
 
void clear ()
 
size_t keypointCount () const
 
size_t imageCount () const
 
const vector< vector< KeyPoint > > & getKeypoints () const
 
const vector< KeyPoint > & getKeypoints (int imgIdx) const
 
const KeyPointgetKeyPoint (int imgIdx, int localPointIdx) const
 
const KeyPointgetKeyPoint (int globalPointIdx) const
 
void getLocalIdx (int globalPointIdx, int &imgIdx, int &localPointIdx) const
 
const vector< Mat > & getImages () const
 
const MatgetImage (int imgIdx) const
 

Protected Attributes

int pointCount
 
vector< Matimages
 
vector< vector< KeyPoint > > keypoints
 
vector< intstartIndices
 

Constructor & Destructor Documentation

§ KeyPointCollection() [1/2]

cv::GenericDescriptorMatcher::KeyPointCollection::KeyPointCollection ( )

§ KeyPointCollection() [2/2]

cv::GenericDescriptorMatcher::KeyPointCollection::KeyPointCollection ( const KeyPointCollection collection)

Member Function Documentation

§ add()

void cv::GenericDescriptorMatcher::KeyPointCollection::add ( const vector< Mat > &  images,
const vector< vector< KeyPoint > > &  keypoints 
)

§ clear()

void cv::GenericDescriptorMatcher::KeyPointCollection::clear ( )

§ getImage()

const Mat& cv::GenericDescriptorMatcher::KeyPointCollection::getImage ( int  imgIdx) const

§ getImages()

const vector<Mat>& cv::GenericDescriptorMatcher::KeyPointCollection::getImages ( ) const

§ getKeyPoint() [1/2]

const KeyPoint& cv::GenericDescriptorMatcher::KeyPointCollection::getKeyPoint ( int  imgIdx,
int  localPointIdx 
) const

§ getKeyPoint() [2/2]

const KeyPoint& cv::GenericDescriptorMatcher::KeyPointCollection::getKeyPoint ( int  globalPointIdx) const

§ getKeypoints() [1/2]

const vector<vector<KeyPoint> >& cv::GenericDescriptorMatcher::KeyPointCollection::getKeypoints ( ) const

§ getKeypoints() [2/2]

const vector<KeyPoint>& cv::GenericDescriptorMatcher::KeyPointCollection::getKeypoints ( int  imgIdx) const

§ getLocalIdx()

void cv::GenericDescriptorMatcher::KeyPointCollection::getLocalIdx ( int  globalPointIdx,
int imgIdx,
int localPointIdx 
) const

§ imageCount()

size_t cv::GenericDescriptorMatcher::KeyPointCollection::imageCount ( ) const

§ keypointCount()

size_t cv::GenericDescriptorMatcher::KeyPointCollection::keypointCount ( ) const

Member Data Documentation

§ images

vector<Mat> cv::GenericDescriptorMatcher::KeyPointCollection::images
protected

§ keypoints

vector<vector<KeyPoint> > cv::GenericDescriptorMatcher::KeyPointCollection::keypoints
protected

§ pointCount

int cv::GenericDescriptorMatcher::KeyPointCollection::pointCount
protected

§ startIndices

vector<int> cv::GenericDescriptorMatcher::KeyPointCollection::startIndices
protected

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