Typedefs | Functions | Variables
test_offline.cpp File Reference
#include <vector>
#include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/nonfree/features2d.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <sstream>
#include <algorithm>
Include dependency graph for test_offline.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 14 of file test_offline.cpp.


Function Documentation

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

Definition at line 81 of file test_offline.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 105 of file test_offline.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 136 of file test_offline.cpp.

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

Definition at line 44 of file test_offline.cpp.

double SSD ( Descriptor a,
Descriptor b 
)

Definition at line 23 of file test_offline.cpp.


Variable Documentation

const bool DRAW_KEYPOINTS = false [static]

Definition at line 15 of file test_offline.cpp.



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