AllFeatureGlobal Struct Reference

#include <ldvFeature.h>

List of all members.


Detailed Description

Contains all the FeatureGlobal.

Public Member Functions

void removeImage (unsigned int imgInd)
 removes a certain image
void add (feature2 *pfeature, int nFeatureGlobal)
 Add an image feature to the list of matching features.
unsigned int size (void) const
FeatureGlobaloperator[] (unsigned int ind)
const FeatureGlobaloperator[] (unsigned int ind) const
double distSq (unsigned int i, unsigned int j) const
void merge (unsigned int i, unsigned int j)
 merges two features
void removeEmpty (void)
 remove FeatureGlobal not linked to any feature2
void addArray (feature2 *afeature2, unsigned int nfeature2)
 add an array of feature2
void addSingle (feature2 *pfeature2, unsigned int nFeatureGlobal)
 add a single feature2 to the FeatureGlobal indexed by nFeatureGlobal
void addNewSingle (feature2 *pfeature2)
 add a single feature2 at the end of vFeatureGlobal
void addNewPair (feature2 *pfeature1, feature2 *pfeature2)
 add two feature2 at the end of vFeatureGlobal in the same FeatureGlobal
void updateSBAGood (const vector< ImgInfo > &vImgInfo)
 Add an image feature to the list of matching features.

Member Function Documentation

void AllFeatureGlobal::removeImage ( unsigned int  imgInd  ) 

removes a certain image

Parameters:
imgInd index of the image to remove

void AllFeatureGlobal::add ( feature2 pfeature,
int  nFeatureGlobal 
)

Add an image feature to the list of matching features.

Parameters:
pfeature Pointer to the feature to add
nFeatureGlobal index of the FeatureGlobal
pfeature Pointer to the feature to add
nFeatureGlobal index of the FeatureGlobal

References addNewSingle(), getImgInd(), feature2::getImgInd(), and feature2::setFeatureGlobalInd().

Here is the call graph for this function:

unsigned int AllFeatureGlobal::size ( void   )  const

Returns:
the size of AllFeatureGlobal

Referenced by computeGlobalHomography(), computePanorama(), and drawImgFeature().

Here is the caller graph for this function:

FeatureGlobal & AllFeatureGlobal::operator[] ( unsigned int  ind  ) 

Returns:
the reference of the ind^th element

const FeatureGlobal & AllFeatureGlobal::operator[] ( unsigned int  ind  )  const

Returns:
the reference of the ind^th element

double AllFeatureGlobal::distSq ( unsigned int  i,
unsigned int  j 
) const

Returns:
the squared distance between two features

Referenced by reclaimFeature().

Here is the caller graph for this function:

void AllFeatureGlobal::merge ( unsigned int  i,
unsigned int  j 
)

merges two features

Parameters:
i index of the first image
j index of the second image

Referenced by computePairwiseHomography(), and reclaimFeature().

Here is the caller graph for this function:

void AllFeatureGlobal::addArray ( feature2 afeature2,
unsigned int  nfeature2 
)

add an array of feature2

Parameters:
afeature2 array of feature2
nfeature2 number of feature2 in afeature2

References addNewSingle(), and feature2::getFeatureGlobalInd().

Here is the call graph for this function:

void AllFeatureGlobal::addSingle ( feature2 pfeature2,
unsigned int  nFeatureGlobal 
)

add a single feature2 to the FeatureGlobal indexed by nFeatureGlobal

Parameters:
pfeature2 pointer to the feature to add
nFeatureGlobal index of the FeatureGlobal to add to

Referenced by computePairwiseHomography().

Here is the caller graph for this function:

void AllFeatureGlobal::addNewSingle ( feature2 pfeature2  ) 

add a single feature2 at the end of vFeatureGlobal

Parameters:
pfeature2 pointer to the feature2 to add

Referenced by add(), and addArray().

Here is the caller graph for this function:

void AllFeatureGlobal::addNewPair ( feature2 pfeature1,
feature2 pfeature2 
)

add two feature2 at the end of vFeatureGlobal in the same FeatureGlobal

Parameters:
pfeature1 pointer to the feature2 to add
pfeature2 pointer to the feature2 to add

Referenced by computePairwiseHomography().

Here is the caller graph for this function:

void AllFeatureGlobal::updateSBAGood ( const vector< ImgInfo > &  vImgInfo  ) 

Add an image feature to the list of matching features.

Parameters:
vImgInfo vector containing information about the images


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