Typedefs | Functions | Variables
feature_tracker.cpp File Reference
#include <vector>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/nonfree/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <sstream>
#include <algorithm>
Include dependency graph for feature_tracker.cpp:

Go to the source code of this file.

Typedefs

typedef vector< float > Descriptor

Functions

void findMatches (vector< Descriptor > &descriptors1, vector< Descriptor > &descriptors2, vector< int > &matches1, vector< int > &matches2)
void improvedFindMatches (vector< Descriptor > &descriptors1, vector< Descriptor > &descriptors2, vector< int > &matches1, vector< int > &matches2)
 Improved matching algorithm for Question 5.3.
int main (int argc, char **argv)
int ratioTest (Descriptor &a, vector< Descriptor > &bList, double threshold)
double SSD (Descriptor &a, Descriptor &b)

Variables

static const bool DRAW_KEYPOINTS = false

Typedef Documentation

typedef vector<float> Descriptor

Definition at line 47 of file feature_tracker.cpp.


Function Documentation

void findMatches ( vector< Descriptor > &  descriptors1,
vector< Descriptor > &  descriptors2,
vector< int > &  matches1,
vector< int > &  matches2 
)

Definition at line 114 of file feature_tracker.cpp.

void improvedFindMatches ( vector< Descriptor > &  descriptors1,
vector< Descriptor > &  descriptors2,
vector< int > &  matches1,
vector< int > &  matches2 
)

Improved matching algorithm for Question 5.3.

improvedFindMatches

Parameters:
descriptors1List of descriptors from image 1
descriptors2List of descriptors from image 2
matches1Indexes of matching points in image 1 (Returned)
matches2Indexes of matching points in image 2 (Returned)

Definition at line 138 of file feature_tracker.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 169 of file feature_tracker.cpp.

int ratioTest ( Descriptor a,
vector< Descriptor > &  bList,
double  threshold 
)

Definition at line 77 of file feature_tracker.cpp.

double SSD ( Descriptor a,
Descriptor b 
)

Definition at line 56 of file feature_tracker.cpp.


Variable Documentation

const bool DRAW_KEYPOINTS = false [static]

Definition at line 48 of file feature_tracker.cpp.



cpl_visual_features
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:52:36