dbitem Struct Reference

A struct containing everything related to a image/object in the database. More...

#include <ObjectDetection.h>

List of all members.

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

Detailed Description

A struct containing everything related to a image/object in the database.


Member Data Documentation

The apriori probability of this image.

Can be used to sort dbitem's for ObjectDetection::ProcessDatabaseUntilGoodMatch().

The the center point and four corners of this dbitem.

A mapping from dbitemborders of this dbitem to the query image.

Used mainly for visualizing matching results.

The name of the data file containing the keypoints and descriptors corresponding to this dbitem.

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.

Whether a homography was found for the matched keypoints by ObjectDetection::FindHomography().

double dbitem::ihmatrix[9]

A vectorization of the inverse homography matrix.

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.

The name of the data file containing the index corresponding to this dbitem.

This was needed at some point in the SOAP mode.

vector<cv::KeyPoint> dbitem::keypoints

Detected keypoints.

size_t dbitem::n

The ordinal value of this dbitem.

The total number of keypoints.

The number of matched keypoints after the pairwise matching stage.

The number of matched keypoints surviving after the homography test.

An alternative name for this dbitem.

May be equal to imagename or possibly something more descriptive.

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.

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.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Defines

Generated on 16 Jan 2014 for ObjectDetection by  doxygen 1.6.1