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

Defines

#define srandom   srand
#define TRACE_IMG(X)   {if (_panoDetector.getVerbose() == 1) {TRACE_INFO("i" << _imgData._number << " : " << X << 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
void RunQueue (std::vector< Runnable * > &queue)


Define 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 << endl);}}

Definition at line 70 of file PanoDetector.cpp.

Referenced by PanoDetector::AnalyzeImage(), PanoDetector::BuildKDTreesInImage(), DetectKeypoints(), PanoDetector::FilterKeyPointsInImage(), PanoDetector::FindKeyPointsInImage(), PanoDetector::FreeMemoryInImage(), PanoDetector::LoadKeypoints(), PanoDetector::MakeKeyPointDescriptorsInImage(), PanoDetector::RemapBackKeypoints(), LoadKeypointsDataRunnable::run(), WriteKeyPointsRunnable::run(), and ImgDataRunnable::run().

#define TRACE_PAIR ( X   ) 

Value:

{if (_panoDetector.getVerbose() == 1){ TRACE_INFO("i" << _matchData._i1->_number << " <> " \
                "i" << _matchData._i2->_number << " : " << X << endl);}}

Definition at line 71 of file PanoDetector.cpp.

Referenced by PanoDetector::FilterMatchesInPair(), PanoDetector::FindMatchesInPair(), PanoDetector::RansacMatchesInPairCam(), PanoDetector::RansacMatchesInPairHomography(), and MatchDataRunnable::run().


Typedef Documentation

typedef std::vector<Runnable*> RunnableVector

Definition at line 406 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 91 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 74 of file PanoDetector.cpp.

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

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

Definition at line 410 of file PanoDetector.cpp.

Referenced by PanoDetector::match(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), and PanoDetector::run().


Generated on 2 Aug 2015 for Hugintrunk by  doxygen 1.4.7