#include <ldvFeature.h>
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 |
| FeatureGlobal & | operator[] (unsigned int ind) |
| const FeatureGlobal & | operator[] (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. | |
| void AllFeatureGlobal::removeImage | ( | unsigned int | imgInd | ) |
removes a certain image
| imgInd | index of the image to remove |
| void AllFeatureGlobal::add | ( | feature2 * | pfeature, | |
| int | nFeatureGlobal | |||
| ) |
Add an image feature to the list of matching features.
| 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().

| unsigned int AllFeatureGlobal::size | ( | void | ) | const |
Referenced by computeGlobalHomography(), computePanorama(), and drawImgFeature().

| FeatureGlobal & AllFeatureGlobal::operator[] | ( | unsigned int | ind | ) |
| const FeatureGlobal & AllFeatureGlobal::operator[] | ( | unsigned int | ind | ) | const |
| double AllFeatureGlobal::distSq | ( | unsigned int | i, | |
| unsigned int | j | |||
| ) | const |
Referenced by reclaimFeature().

| void AllFeatureGlobal::merge | ( | unsigned int | i, | |
| unsigned int | j | |||
| ) |
merges two features
| i | index of the first image | |
| j | index of the second image |
Referenced by computePairwiseHomography(), and reclaimFeature().

| void AllFeatureGlobal::addArray | ( | feature2 * | afeature2, | |
| unsigned int | nfeature2 | |||
| ) |
add an array of feature2
References addNewSingle(), and feature2::getFeatureGlobalInd().

| void AllFeatureGlobal::addSingle | ( | feature2 * | pfeature2, | |
| unsigned int | nFeatureGlobal | |||
| ) |
add a single feature2 to the FeatureGlobal indexed by nFeatureGlobal
| pfeature2 | pointer to the feature to add | |
| nFeatureGlobal | index of the FeatureGlobal to add to |
Referenced by computePairwiseHomography().

| void AllFeatureGlobal::addNewSingle | ( | feature2 * | pfeature2 | ) |
add a single feature2 at the end of vFeatureGlobal
| pfeature2 | pointer to the feature2 to add |
Referenced by add(), and addArray().

add two feature2 at the end of vFeatureGlobal in the same FeatureGlobal
Referenced by computePairwiseHomography().

| void AllFeatureGlobal::updateSBAGood | ( | const vector< ImgInfo > & | vImgInfo | ) |
Add an image feature to the list of matching features.
| vImgInfo | vector containing information about the images |
1.5.6