#include <ldvFeature.h>
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 ImgInfo & | getImgInfo (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 | |
| feature2::feature2 | ( | const feature & | featureIn | ) |
| feature2::~feature2 | ( | void | ) |
Destructor.
Release the information of the feature.
| unsigned int feature2::getImgInd | ( | void | ) | const |
Get the index of the image to which the feature belongs.
Referenced by AllFeatureGlobal::add(), addMatch(), drawImgFeature(), and getImgInfo().

| 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.
| indIn | index of the image the feature belongs to |
Get the ImgInfo of the image to which the feature belongs.
| vImgInfo | vector of all the info concerning all the images |
References getImgInd().
Referenced by drawImgFeature().


| void feature2::createExtraFeatInfo | ( | unsigned int | imgIndIn, | |
| unsigned int | featIndIn | |||
| ) |
Create the ExtraInfo data.
| 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.
| featGlobInd | index of the FeatureGlobal the feature belongs to |
Referenced by AllFeatureGlobal::add().

| unsigned int feature2::getFeatureGlobalInd | ( | void | ) | const |
Get the FeatureGlobal to which the feature belongs.
Referenced by AllFeatureGlobal::addArray(), computePairwiseHomography(), drawImgFeature(), and ImgInfo::release().

| bool feature2::hasFeatGlob | ( | void | ) | const |
Returns hasFeatGlob.
return hasFeatGlob
Referenced by computePairwiseHomography().

| vector< feature2 * > & feature2::getFeatureMatch | ( | void | ) | const |
Get the FeatureGlobal to which the feature belongs.
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
| pfeat | pointer to the feature to remove |
Referenced by addMatch().

| void feature2::addMatch | ( | feature2 * | pfeat | ) |
add a feature from the vector of matching feature2's
add a matching feature to
| pfeat | pointer to the feature to add |
References getImgInd(), and removeMatch().
Referenced by compareAllSIFT().


1.5.6