Match Struct Reference

#include <ldvImgInfo.h>

List of all members.


Detailed Description

Defines a a relationship between two images, as well as the corresponding homography.

Public Member Functions

 ~Match (void)
 Destructor.
unsigned int size (void) const
 Returns the size of the contained symmetric matrices.
void setH (unsigned int img1, unsigned int img2, const CvMat *HIn)
 Set the matrix of a match to a certain value.
const CvMat * getH (unsigned int img1, unsigned int img2) const
 Get the matrix of a match.
int getNMatch (unsigned int img1, unsigned int img2) const
 Get the number of matching features of a match.
void setComparedSIFT (unsigned int img1, unsigned int img2)
 Set the comparison between two images to done.
bool getComparedSIFT (unsigned int img1, unsigned int img2) const
 Return if two images have been tested for a homography or not.
void setComparedH (unsigned int img1, unsigned int img2)
 Set the comparison between two images to done.
bool getComparedH (unsigned int img1, unsigned int img2) const
 Return if two images have been tested for a homography or not.
void initializeNReclaimed (unsigned int img1, unsigned int img2)
 Set the comparison between two images to done.
void increaseNReclaimed (unsigned int img1, unsigned int img2)
 Set the comparison between two images to done.
int getNReclaimed (unsigned int img1, unsigned int img2) const
 Return if two images have been tested for a homography or not.
void increaseMatch (unsigned int img1, unsigned int img2)
 Increase the number of matching features by one.
void initializeMatch (unsigned int img1, unsigned int img2)
 Initialize the number of matching features to zero.
void removeImg (unsigned int imgInd)
 Remove an Image from all the possible matches.
void resize (unsigned int size)
 Resizes the different data structures.

Member Function Documentation

unsigned int Match::size ( void   )  const

Returns the size of the contained symmetric matrices.

Returns:
size of the contained matrices

void Match::setH ( unsigned int  img1,
unsigned int  img2,
const CvMat *  HIn 
)

Set the matrix of a match to a certain value.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match
HIn pointer to the matrix of the match

Referenced by computePairwiseHomography().

Here is the caller graph for this function:

const CvMat * Match::getH ( unsigned int  img1,
unsigned int  img2 
) const

Get the matrix of a match.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match
Returns:
a pointer to the match matrix
Parameters:
img1 index of the first image in the match
img2 index of the second image in the match
Returns:
a pointer to the match matrix

Referenced by computeAllPairwiseHomography(), and drawImgInfo().

Here is the caller graph for this function:

int Match::getNMatch ( unsigned int  img1,
unsigned int  img2 
) const

Get the number of matching features of a match.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match
Returns:
the number of matching features
Parameters:
img1 index of the first image in the match
img2 index of the second image in the match
Returns:
the number of matching features

Referenced by compareAllSIFT(), and computeAllPairwiseHomography().

Here is the caller graph for this function:

void Match::setComparedSIFT ( unsigned int  img1,
unsigned int  img2 
)

Set the comparison between two images to done.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by compareAllSIFT().

Here is the caller graph for this function:

bool Match::getComparedSIFT ( unsigned int  img1,
unsigned int  img2 
) const

Return if two images have been tested for a homography or not.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by compareAllSIFT().

Here is the caller graph for this function:

void Match::setComparedH ( unsigned int  img1,
unsigned int  img2 
)

Set the comparison between two images to done.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by computePairwiseHomography().

Here is the caller graph for this function:

bool Match::getComparedH ( unsigned int  img1,
unsigned int  img2 
) const

Return if two images have been tested for a homography or not.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by computeAllPairwiseHomography().

Here is the caller graph for this function:

void Match::initializeNReclaimed ( unsigned int  img1,
unsigned int  img2 
)

Set the comparison between two images to done.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by reclaimFeature().

Here is the caller graph for this function:

void Match::increaseNReclaimed ( unsigned int  img1,
unsigned int  img2 
)

Set the comparison between two images to done.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by reclaimFeature().

Here is the caller graph for this function:

int Match::getNReclaimed ( unsigned int  img1,
unsigned int  img2 
) const

Return if two images have been tested for a homography or not.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by drawImgInfo(), and reclaimFeature().

Here is the caller graph for this function:

void Match::increaseMatch ( unsigned int  img1,
unsigned int  img2 
)

Increase the number of matching features by one.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by compareAllSIFT().

Here is the caller graph for this function:

void Match::initializeMatch ( unsigned int  img1,
unsigned int  img2 
)

Initialize the number of matching features to zero.

Parameters:
img1 index of the first image in the match
img2 index of the second image in the match

Referenced by compareAllSIFT().

Here is the caller graph for this function:

void Match::removeImg ( unsigned int  imgInd  ) 

Remove an Image from all the possible matches.

Parameters:
imgInd index of the image to remove from the matches

Referenced by removeImageTrace().

Here is the caller graph for this function:

void Match::resize ( unsigned int  size  ) 

Resizes the different data structures.

Parameters:
size size to with the different matrices have to be resized

Referenced by ImageFolder::scan().

Here is the caller graph for this function:


The documentation for this struct was generated from the following files:

Generated on Tue Feb 17 12:47:14 2009 for LDV by  doxygen 1.5.6