The FourierDescriptor class computes the fourier descriptor of a hand and matches it with a class of a dictionary.
More...
#include <fourierdescriptor.h>
The FourierDescriptor class computes the fourier descriptor of a hand and matches it with a class of a dictionary.
The class implements several distance metrics (L2 norm,L1 norm and canberra) that can be used in order to know the distance from a query binary mask to a dictionary class.
FourierDescriptor::FourierDescriptor |
( |
| ) |
|
FourierDescriptor::FourierDescriptor |
( |
const string & |
fileName | ) |
|
FourierDescriptor::~FourierDescriptor |
( |
| ) |
|
void FourierDescriptor::calcCentroidDistFD |
( |
vector< Point2i > & |
boundary, |
|
|
int |
numFD, |
|
|
Mat & |
dst, |
|
|
int |
newBoundaryLength = 64 |
|
) |
| |
int FourierDescriptor::findMatchInDictionary |
( |
vector< Point2i > & |
boundary, |
|
|
string & |
distMetric, |
|
|
double & |
distance, |
|
|
int |
numFDtoUse = 0 , |
|
|
int |
newBoundaryLength = 64 |
|
) |
| |
int FourierDescriptor::findMatchInDictionary |
( |
Mat & |
testFD, |
|
|
string & |
distMetric, |
|
|
double & |
distance |
|
) |
| |
void FourierDescriptor::loadDictionary |
( |
const string & |
fileName | ) |
|
The documentation for this class was generated from the following files: