A struct containing everything related to a image/object in the database. More...
#include <ObjectDetection.h>
Public Attributes | |
size_t | n |
string | imagename |
string | pathname |
string | objectname |
string | descname |
string | indexname |
int | nkps |
CvSize | size |
double | apriori |
size_t | nmatches |
size_t | nsurvivors |
vector< cv::KeyPoint > | keypoints |
cv::Mat | descriptors |
FlannIndexType * | index |
vector< int > | ptpairs |
vector< bool > | survivors |
bool | homography |
double | hmatrix [9] |
double | ihmatrix [9] |
CvPoint | querycorners [5] |
CvPoint | dbitemborders [5] |
CvPoint | dbitemcorners [5] |
string | invcorners |
CvPoint2D32f | gaze |
vector< pair< size_t, CvPoint2D32f > > | gaze_history |
A struct containing everything related to a image/object in the database.
double dbitem::apriori |
The apriori probability of this image.
Can be used to sort dbitem's for ObjectDetection::ProcessDatabaseUntilGoodMatch().
CvPoint dbitem::dbitemborders[5] |
The the center point and four corners of this dbitem.
CvPoint dbitem::dbitemcorners[5] |
A mapping from dbitemborders of this dbitem to the query image.
Used mainly for visualizing matching results.
string dbitem::descname |
The name of the data file containing the keypoints and descriptors corresponding to this dbitem.
cv::Mat dbitem::descriptors |
SURF descriptors.
CvPoint2D32f dbitem::gaze |
The location of the current gaze on this dbitem.
vector<pair<size_t, CvPoint2D32f> > dbitem::gaze_history |
The gaze history on this dbitem.
double dbitem::hmatrix[9] |
A vectorization of the homography matrix.
bool dbitem::homography |
Whether a homography was found for the matched keypoints by ObjectDetection::FindHomography().
double dbitem::ihmatrix[9] |
A vectorization of the inverse homography matrix.
string dbitem::imagename |
The name of the image file corresponding to this dbitem.
FlannIndexType* dbitem::index |
Pointer to a FLANN index created for descriptors of only this dbitem.
string dbitem::indexname |
string dbitem::invcorners |
This was needed at some point in the SOAP mode.
vector<cv::KeyPoint> dbitem::keypoints |
Detected keypoints.
int dbitem::nkps |
The total number of keypoints.
size_t dbitem::nmatches |
The number of matched keypoints after the pairwise matching stage.
size_t dbitem::nsurvivors |
The number of matched keypoints surviving after the homography test.
string dbitem::objectname |
string dbitem::pathname |
The name of the image file with full path corresponding to this dbitem.
vector<int> dbitem::ptpairs |
Pairs of matching keypoints between the query ObjectDetection::image and this dbitem.
CvPoint dbitem::querycorners[5] |
A mapping from the center point and four corners of the query image to this dbitem.
Used mainly for visualizing matching results.
CvSize dbitem::size |
The size (width and height) of the image file corresponding to this dbitem.
vector<bool> dbitem::survivors |
The survival status of matched keypoints after the homography test.