keypoints.cpp File Reference

#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <boost/foreach.hpp>
#include <boost/shared_ptr.hpp>
#include <tclap/CmdLine.h>
#include <localfeatures/KeyPointDetector.h>
#include <localfeatures/CircularKeyPointDescriptor.h>
#include <localfeatures/Sieve.h>
#include <localfeatures/KeyPointIO.h>
#include <vigra/impex.hxx>
#include <vigra/stdimage.hxx>
#include <vigra/stdimagefunctions.hxx>
#include <vigra/rgbvalue.hxx>

Include dependency graph for keypoints.cpp:

Go to the source code of this file.

Namespaces

namespace  TCLAP

Classes

class  KeyPointVectInsertor
class  SieveExtractorKP
class  MyOutput

Defines

#define TRACE_IMG(A)   cerr << A << std::endl
#define TRACE_INFO(A)   cerr << A << std::endl

Functions

bool DetectKeypoints (const std::string &imgfile, bool downscale, double surfScoreThreshold, KeyPointPtr preKeypoint, bool onlyInterestPoints, int sieveWidth, int sieveHeight, int sieveSize, KeypointWriter &writer)
void parseOptions (int argc, char **argv)
int main (int argc, char **argv)

Variables

const char * kVersion = "0.9.5"


Define Documentation

#define TRACE_IMG (  )     cerr << A << std::endl

Definition at line 46 of file keypoints.cpp.

#define TRACE_INFO (  )     cerr << A << std::endl

Definition at line 47 of file keypoints.cpp.


Function Documentation

bool DetectKeypoints ( const std::string imgfile,
bool  downscale,
double  surfScoreThreshold,
KeyPointPtr  preKeypoint,
bool  onlyInterestPoints,
int  sieveWidth,
int  sieveHeight,
int  sieveSize,
KeypointWriter writer 
)

Definition at line 82 of file keypoints.cpp.

References lfeat::KeyPointDescriptor::assignOrientation(), cerr, vigra_ext::destImage(), lfeat::KeyPointDetector::detectKeypoints(), lfeat::Sieve< _Key, _Compare >::extract(), lfeat::KeyPointDescriptor::getDescriptorLength(), lfeat::Image::init(), lfeat::Sieve< _Key, _Compare >::insert(), lfeat::KeyPointDescriptor::makeDescriptor(), lfeat::KeyPointDetector::setScoreThreshold(), TRACE_IMG, TRACE_INFO, lfeat::KeypointWriter::writeFooter(), lfeat::KeypointWriter::writeHeader(), and lfeat::KeypointWriter::writeKeypoint().

Referenced by parseOptions().

int main ( int  argc,
char **  argv 
)

Definition at line 494 of file keypoints.cpp.

References cerr, kVersion, and parseOptions().

void parseOptions ( int  argc,
char **  argv 
)

Definition at line 345 of file keypoints.cpp.

References cerr, cout, DetectKeypoints(), and kVersion.


Variable Documentation

const char* kVersion = "0.9.5"

Definition at line 44 of file keypoints.cpp.

Referenced by main(), and parseOptions().


Generated on 5 Dec 2014 for Hugintrunk by  doxygen 1.4.7