Descriptor Class Reference

#include <Descriptor.h>

List of all members.

Public Member Functions

 Descriptor (APImage *i, HessianDetector *hd)
double _gaussWeighting (int x, int y, double stdev)
void setPoints (vector< vector< int > > *pts)
void createDescriptors ()
vector< vector< double > > * getDescriptors ()
bool printDescriptors (string name)
bool generateAutopanoXML (string name)

Public Attributes

vector< vector< int > > * interestPoints

Private Member Functions

double _getMaxima (int x, int y)
double _euclidianDistance (int x1, int y1, int x2, int y2)
void _GaborResponse (int x, int y, double maxima, double *descriptor)
void _ShapeContext (int x, int y, double maxima, double *descriptor)

Private Attributes

APImageimage
HessianDetectorhd
vector< vector< int > > * maximas
vector< vector< double > > descriptors


Constructor & Destructor Documentation

Descriptor::Descriptor APImage i,
HessianDetector hd
 

Definition at line 29 of file Descriptor.cpp.

References hd, and image.


Member Function Documentation

double Descriptor::_euclidianDistance int  x1,
int  y1,
int  x2,
int  y2
[private]
 

Definition at line 191 of file Descriptor.cpp.

References vigra_ext::pow().

Referenced by createDescriptors().

void Descriptor::_GaborResponse int  x,
int  y,
double  maxima,
double *  descriptor
[private]
 

Gabor filter bank consists of 8 kernels. There are 4 orientations and 2 frequencies. Orientations: 0, 45, 90 and 135 degrees First frequency: bandwith 2, phase PI/2, aspect ratio 0.1, wavelength 5 Second frequency: bandwith 4, phase PI/2, aspect ratio 0.1, wavelength 10 Third frequency: bandwith 6, phase PI/2, aspect ratio 0.1, wavelength 8

Definition at line 194 of file Descriptor.cpp.

References APImage::getPixel(), and image.

double Descriptor::_gaussWeighting int  x,
int  y,
double  stdev
 

Definition at line 184 of file Descriptor.cpp.

References PI, and vigra_ext::pow().

double Descriptor::_getMaxima int  x,
int  y
[private]
 

Definition at line 187 of file Descriptor.cpp.

References HessianDetector::getMaxima(), and hd.

Referenced by createDescriptors(), generateAutopanoXML(), and printDescriptors().

void Descriptor::_ShapeContext int  x,
int  y,
double  maxima,
double *  descriptor
[private]
 

Definition at line 615 of file Descriptor.cpp.

void Descriptor::createDescriptors  ) 
 

Definition at line 632 of file Descriptor.cpp.

References _euclidianDistance(), _getMaxima(), vigra::cannyEdgelList(), cerr, cout, descriptors, APImage::getHeightBW(), APImage::getWidthBW(), image, APImage::imgBW, interestPoints, vigra::Edgel::orientation, PI, hugin_utils::round(), vigra::Edgel::strength, vigra::Edgel::x, and vigra::Edgel::y.

Referenced by main().

bool Descriptor::generateAutopanoXML string  name  ) 
 

Definition at line 792 of file Descriptor.cpp.

References _getMaxima(), cout, DESCRIPTOR_SIZE, descriptors, APImage::getHeight(), APImage::getPath(), APImage::getWidth(), image, and interestPoints.

Referenced by main().

vector< vector< double > > * Descriptor::getDescriptors  ) 
 

Definition at line 763 of file Descriptor.cpp.

Referenced by main().

bool Descriptor::printDescriptors string  name  ) 
 

Definition at line 766 of file Descriptor.cpp.

References _getMaxima(), DESCRIPTOR_SIZE, descriptors, and interestPoints.

Referenced by main().

void Descriptor::setPoints vector< vector< int > > *  pts  ) 
 

Definition at line 34 of file Descriptor.cpp.

References interestPoints.

Referenced by main().


Member Data Documentation

vector<vector<double> > Descriptor::descriptors [private]
 

Definition at line 59 of file Descriptor.h.

Referenced by createDescriptors(), generateAutopanoXML(), and printDescriptors().

HessianDetector* Descriptor::hd [private]
 

Definition at line 49 of file Descriptor.h.

Referenced by _getMaxima(), and Descriptor().

APImage* Descriptor::image [private]
 

Definition at line 48 of file Descriptor.h.

Referenced by _GaborResponse(), createDescriptors(), Descriptor(), and generateAutopanoXML().

vector<vector<int> >* Descriptor::interestPoints
 

Definition at line 44 of file Descriptor.h.

Referenced by createDescriptors(), generateAutopanoXML(), printDescriptors(), and setPoints().

vector<vector<int> >* Descriptor::maximas [private]
 

Definition at line 58 of file Descriptor.h.


The documentation for this class was generated from the following files:
Generated on Mon Sep 9 01:25:47 2013 for Hugintrunk by  doxygen 1.3.9.1