Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions
PanoDetector.cpp File Reference
#include "PanoDetector.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <time.h>
#include "Utils.h"
#include "Tracer.h"
#include "hugin_base/hugin_utils/platform.h"
#include <algorithms/nona/ComputeImageROI.h>
#include <algorithms/basic/CalculateOptimalScale.h>
#include <algorithms/basic/LayerStacks.h>
#include <nona/RemappedPanoImage.h>
#include <nona/ImageRemapper.h>
#include <panodata/StandardImageVariableGroups.h>
#include <panodata/Panorama.h>
#include <algorithms/optimizer/ImageGraph.h>
#include <algorithms/optimizer/PTOptimizer.h>
#include <algorithms/basic/CalculateOverlap.h>
#include "ImageImport.h"
#include <unistd.h>
#include <hugin_config.h>
Include dependency graph for PanoDetector.cpp:

Go to the source code of this file.

Classes

class  Runnable
 
class  ImgDataRunnable
 
class  WriteKeyPointsRunnable
 
class  LoadKeypointsDataRunnable
 
class  MatchDataRunnable
 

Macros

#define srandom   srand
 
#define TRACE_IMG(X)   {if (_panoDetector.getVerbose() == 1) {TRACE_INFO("i" << _imgData._number << " : " << X << std::endl);}}
 
#define TRACE_PAIR(X)
 

Typedefs

typedef std::vector< Runnable * > RunnableVector
 

Functions

std::string includeTrailingPathSep (std::string path)
 
std::string getKeyfilenameFor (std::string keyfilesPath, std::string filename)
 returns the filename for the keyfile for a given image More...
 
void RunQueue (std::vector< Runnable * > &queue)
 

Macro Definition Documentation

#define srandom   srand

Definition at line 56 of file PanoDetector.cpp.

Referenced by PanoDetector::run().

#define TRACE_IMG (   X)    {if (_panoDetector.getVerbose() == 1) {TRACE_INFO("i" << _imgData._number << " : " << X << std::endl);}}
#define TRACE_PAIR (   X)
Value:
{if (_panoDetector.getVerbose() == 1){ TRACE_INFO("i" << _matchData._i1->_number << " <> " \
"i" << _matchData._i2->_number << " : " << X << std::endl);}}
double X
#define TRACE_INFO(x)
Definition: Tracer.h:26

Definition at line 64 of file PanoDetector.cpp.

Referenced by MatchDataRunnable::run().

Typedef Documentation

typedef std::vector<Runnable*> RunnableVector

Definition at line 403 of file PanoDetector.cpp.

Function Documentation

std::string getKeyfilenameFor ( std::string  keyfilesPath,
std::string  filename 
)

returns the filename for the keyfile for a given image

Definition at line 84 of file PanoDetector.cpp.

References includeTrailingPathSep(), hugin_utils::stripExtension(), and hugin_utils::stripPath().

Referenced by PanoDetector::loadProject().

std::string includeTrailingPathSep ( std::string  path)

Definition at line 67 of file PanoDetector.cpp.

Referenced by getKeyfilenameFor(), and PanoDetector::loadProject().

void RunQueue ( std::vector< Runnable * > &  queue)