feature2 Struct Reference

#include <ldvFeature.h>

List of all members.


Detailed Description

Like the C-struct feature, but with some nice member functions.

Public Member Functions

 feature2 (const feature &featureIn)
 Other constructor.
 ~feature2 (void)
 Destructor.
unsigned int getImgInd (void) const
 Get the index of the image to which the feature belongs.
void setImgInd (unsigned int indIn)
 Set the index of the feature to the one of the image it beongs to.
const ImgInfogetImgInfo (const vector< ImgInfo > &vImgInfo) const
 Get the ImgInfo of the image to which the feature belongs.
void createExtraFeatInfo (unsigned int imgIndIn, unsigned int featIndIn)
 Create the ExtraInfo data.
void setFeatureGlobalInd (unsigned int featGlobInd)
 Set the FeatureGlobal a feature belongs to.
unsigned int getFeatureGlobalInd (void) const
 Get the FeatureGlobal to which the feature belongs.
bool hasFeatGlob (void) const
 Returns hasFeatGlob.
vector< feature2 * > & getFeatureMatch (void) const
 Get the FeatureGlobal to which the feature belongs.
void removeMatch (feature2 *pfeat)
 remove a feature from the vector of matching feature2's
void addMatch (feature2 *pfeat)
 add a feature from the vector of matching feature2's

Constructor & Destructor Documentation

feature2::feature2 ( const feature &  featureIn  ) 

Other constructor.

Parameters:
featureIn feature to copy into feature2

feature2::~feature2 ( void   ) 

Destructor.

Release the information of the feature.

Returns:
nothing


Member Function Documentation

unsigned int feature2::getImgInd ( void   )  const

Get the index of the image to which the feature belongs.

Returns:
the index of the image the feature belongs too

Referenced by AllFeatureGlobal::add(), addMatch(), drawImgFeature(), and getImgInfo().

Here is the caller graph for this function:

void feature2::setImgInd ( unsigned int  indIn  ) 

Set the index of the feature to the one of the image it beongs to.

Set the index of the feature to the one of the image it belongs to.

Parameters:
indIn index of the image the feature belongs to

const ImgInfo & feature2::getImgInfo ( const vector< ImgInfo > &  vImgInfo  )  const

Get the ImgInfo of the image to which the feature belongs.

Parameters:
vImgInfo vector of all the info concerning all the images
Returns:
returns a pointer to the coresponding ImgInfo

References getImgInd().

Referenced by drawImgFeature().

Here is the call graph for this function:

Here is the caller graph for this function:

void feature2::createExtraFeatInfo ( unsigned int  imgIndIn,
unsigned int  featIndIn 
)

Create the ExtraInfo data.

Parameters:
imgIndIn id of the image the feature belongs to
featIndIn index of the feature
imgIndIn id of the image the feature belongs to
featIndIn index of the feature

void feature2::setFeatureGlobalInd ( unsigned int  featGlobInd  ) 

Set the FeatureGlobal a feature belongs to.

Parameters:
featGlobInd index of the FeatureGlobal the feature belongs to

Referenced by AllFeatureGlobal::add().

Here is the caller graph for this function:

unsigned int feature2::getFeatureGlobalInd ( void   )  const

Get the FeatureGlobal to which the feature belongs.

Returns:
return the corresponding index of FeatureGlobal

Referenced by AllFeatureGlobal::addArray(), computePairwiseHomography(), drawImgFeature(), and ImgInfo::release().

Here is the caller graph for this function:

bool feature2::hasFeatGlob ( void   )  const

Returns hasFeatGlob.

Returns:
return the hasFeatGlob of ExtraFeatInfo

return hasFeatGlob

Referenced by computePairwiseHomography().

Here is the caller graph for this function:

vector< feature2 * > & feature2::getFeatureMatch ( void   )  const

Get the FeatureGlobal to which the feature belongs.

Returns:
return the corresponding feature2 that are SIFT-matching

return the corresponding index of FeatureGlobal

void feature2::removeMatch ( feature2 pfeat  ) 

remove a feature from the vector of matching feature2's

remove a matching feature to

Parameters:
pfeat pointer to the feature to remove

Referenced by addMatch().

Here is the caller graph for this function:

void feature2::addMatch ( feature2 pfeat  ) 

add a feature from the vector of matching feature2's

add a matching feature to

Parameters:
pfeat pointer to the feature to add

References getImgInd(), and removeMatch().

Referenced by compareAllSIFT().

Here is the call graph for this function:

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