ldvSift.cpp File Reference


Detailed Description

Several function to organize and compare SIFT features.

Author:
Copyright (C) 2007 Vincent Rabaud <vrabaud@cs.ucsd.edu>
Version:
1.2-20080501

#include <list>
#include <iostream>
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include "kdtree.h"
#include "sift.h"
#include "ldvSift.h"
#include "ldvSBA.h"
#include "ldvOverlap.h"
#include "ldvImgInfo.h"

Include dependency graph for ldvSift.cpp:


Functions

void reclaimFeature (vector< ImgInfo > &vImgInfo, AllFeatureGlobal &allFeatureGlobal, Match &match)
 Reassociates some features for matching.
bool computeAllSIFT (vector< ImgInfo > &vImgInfo)
 Computes the SIFT features of a certain images.
void compareAllSIFT (vector< ImgInfo > &vImgInfo, Match &match, bool doOrphan)
 Compare the SIFT features of an image to all the previously computed ones.

Variables

float LDV_SIFT_CONTR_THR = SIFT_CONTR_THR
 SIFT threshold parameter for the contrast.

Function Documentation

void reclaimFeature ( vector< ImgInfo > &  vImgInfo,
AllFeatureGlobal allFeatureGlobal,
Match match 
)

Reassociates some features for matching.

Parameters:
vImgInfo vector containing information about the images
allFeatureGlobal all the FeatureGlobal
match contains all the information concerning matches

References AllFeatureGlobal::distSq(), Match::getNReclaimed(), Match::increaseNReclaimed(), Match::initializeNReclaimed(), AllFeatureGlobal::merge(), and SIFT_RANSAC_THRES.

Here is the call graph for this function:

bool computeAllSIFT ( vector< ImgInfo > &  vImgInfo  ) 

Computes the SIFT features of a certain images.

Parameters:
vImgInfo vector of Infos of the images to analyze.
Returns:
true if all the image files were found

References LDV_SIFT_CONTR_THR, LDV_SIFT_INTVLS, and SIFT_RANSAC_THRES.

void compareAllSIFT ( vector< ImgInfo > &  vImgInfo,
Match match,
bool  doOrphan 
)

Compare the SIFT features of an image to all the previously computed ones.

Parameters:
vImgInfo Vector containing the info of all the images analyzed so far.
match contains all the information concerning matches
doOrphan if true, try to match orphans too

References feature2::addMatch(), computeOverlap(), Match::getComparedSIFT(), getFeatInd(), Match::getNMatch(), Match::increaseMatch(), Match::initializeMatch(), KDTREE_BBF_MAX_NN_CHKS, NN_SQ_DIST_RATIO_THR, and Match::setComparedSIFT().

Here is the call graph for this function:


Variable Documentation

float LDV_SIFT_CONTR_THR = SIFT_CONTR_THR

SIFT threshold parameter for the contrast.

default threshold on keypoint contrast |D(x)|.

Referenced by computeAllSIFT().


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