PanoDetector.cpp File Reference

#include "PanoDetector.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <boost/foreach.hpp>
#include <time.h>
#include "zthread/Runnable.h"
#include "zthread/PoolExecutor.h"
#include "Utils.h"
#include "Tracer.h"
#include "hugin_base/hugin_utils/platform.h"
#include <algorithms/nona/ComputeImageROI.h>
#include <nona/RemappedPanoImage.h>
#include <nona/ImageRemapper.h>
#include <panodata/StandardImageVariableGroups.h>
#include <PT/Panorama.h>
#include <PT/ImageGraph.h>
#include <algorithms/optimizer/PTOptimizer.h>
#include <algorithms/basic/CalculateOverlap.h>
#include "ImageImport.h"
#include <unistd.h>

Include dependency graph for PanoDetector.cpp:

Go to the source code of this file.


namespace  ZThread


class  ImgDataRunnable
class  WriteKeyPointsRunnable
class  LoadKeypointsDataRunnable
class  MatchDataRunnable
struct  img_ev
struct  stack_img


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


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
bool sort_img_ev (img_ev i1, img_ev i2)

Define Documentation

#define srandom   srand

Definition at line 63 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 74 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   ) 


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

Definition at line 75 of file PanoDetector.cpp.

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

Function Documentation

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

returns the filename for the keyfile for a given image

Definition at line 95 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 78 of file PanoDetector.cpp.

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

bool sort_img_ev ( img_ev  i1,
img_ev  i2 

Definition at line 912 of file PanoDetector.cpp.

References img_ev::ev.

Generated on 1 Nov 2014 for Hugintrunk by  doxygen 1.4.7