Hugin trunk 0.1
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
PanoDetector Class Reference

#include <PanoDetector.h>

Classes

struct  ImgData
 
struct  MatchData
 

Public Types

enum  MatchingStrategy { ALLPAIRS =0 , LINEAR , MULTIROW , PREALIGNED }
 for selecting matching strategy More...
 
typedef std::vector< std::string > FileNameList_t
 
typedef std::vector< std::string >::iterator FileNameListIt_t
 
typedef KDTreeSpace::KDTree< KDElemKeyPoint, doubleKPKDTree
 
typedef std::shared_ptr< KPKDTreeKPKDTreePtr
 
typedef lfeat::KeyPointDetector KeyPointDetector
 
typedef std::map< int, ImgDataImgData_t
 
typedef std::map< int, ImgData >::iterator ImgDataIt_t
 
typedef std::vector< MatchDataMatchData_t
 
typedef std::vector< MatchData >::iterator MatchDataIt_t
 

Public Member Functions

 PanoDetector ()
 
 ~PanoDetector ()
 
bool checkData ()
 
void printDetails ()
 
void printFilenames ()
 
void printHelp ()
 
void run ()
 
bool match (std::vector< HuginBase::UIntSet > &checkedPairs)
 
bool matchMultiRow ()
 
bool matchPrealigned (HuginBase::Panorama *pano, std::vector< HuginBase::UIntSet > &connectedImages, std::vector< size_t > imgMap, bool exactOverlap=true)
 does only matches image pairs which overlaps and don't have control points
 
HuginBase::PanoramagetPanoramaInfo () const
 
void setKeyPointsIdx (std::vector< int > keyPointsIdx)
 
std::vector< intgetKeyPointsIdx () const
 
void setWriteAllKeyPoints (bool writeAllKeyPoints=true)
 
bool getWriteAllKeyPoints () const
 
void setVerbose (int level)
 
int getVerbose () const
 
void setSieve1Width (int iWidth)
 
void setSieve1Height (int iHeight)
 
void setSieve1Size (int iSize)
 
int getSieve1Width () const
 
int getSieve1Height () const
 
int getSieve1Size () const
 
void setKDTreeSearchSteps (int iSteps)
 
void setKDTreeSecondDistance (double iDist)
 
int getKDTreeSearchSteps () const
 
double getKDTreeSecondDistance () const
 
void setMinimumMatches (int iMatches)
 
void setRansacIterations (int iIters)
 
void setRansacDistanceThreshold (int iDT)
 
void setRansacMode (HuginBase::RANSACOptimizer::Mode mode)
 
int getMinimumMatches () const
 
int getRansacIterations () const
 
int getRansacDistanceThreshold () const
 
HuginBase::RANSACOptimizer::Mode getRansacMode ()
 
void setSieve2Width (int iWidth)
 
void setSieve2Height (int iHeight)
 
void setSieve2Size (int iSize)
 
int getSieve2Width () const
 
int getSieve2Height () const
 
int getSieve2Size () const
 
void setLinearMatchLen (int iLen)
 
int getLinearMatchLen () const
 
void setMatchingStrategy (MatchingStrategy iMatchStrategy)
 
MatchingStrategy getMatchingStrategy () const
 
bool getDownscale () const
 
void setDownscale (bool iDown)
 
void setOutputFile (const std::string &outputFile)
 
void setInputFile (const std::string &inputFile)
 
void setKeyfilesPath (const std::string &keypath)
 
bool getCached () const
 
void setCached (bool iCached)
 
bool getCleanup () const
 
void setCleanup (bool iCleanup)
 
bool getCeleste () const
 
void setCeleste (bool iCeleste)
 
double getCelesteThreshold () const
 
void setCelesteThreshold (double iCelesteThreshold)
 
int getCelesteRadius () const
 
void setCelesteRadius (int iCelesteRadius)
 
void setTest (bool iTest)
 
bool getTest () const
 
void setCores (int iCores)
 

Static Public Member Functions

static bool LoadKeypoints (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool AnalyzeImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool FindKeyPointsInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool FilterKeyPointsInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool MakeKeyPointDescriptorsInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool RemapBackKeypoints (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool BuildKDTreesInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool FreeMemoryInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector)
 
static bool FindMatchesInPair (MatchData &ioMatchData, const PanoDetector &iPanoDetector)
 
static bool RansacMatchesInPair (MatchData &ioMatchData, const PanoDetector &iPanoDetector)
 
static bool RansacMatchesInPairCam (MatchData &ioMatchData, const PanoDetector &iPanoDetector)
 
static bool RansacMatchesInPairHomography (MatchData &ioMatchData, const PanoDetector &iPanoDetector)
 
static bool FilterMatchesInPair (MatchData &ioMatchData, const PanoDetector &iPanoDetector)
 

Private Member Functions

 PanoDetector (const PanoDetector &)
 
PanoDetectoroperator= (const PanoDetector &)
 
void buildMultiRowImageSets ()
 search for image layer and image stacks for the multirow matching step
 
bool loadProject ()
 
bool checkLoadSuccess ()
 
void CleanupKeyfiles ()
 
void writeOutput ()
 
void writeKeyfile (ImgData &imgInfo)
 
bool LoadSVMModel ()
 

Private Attributes

bool _writeAllKeyPoints
 
std::vector< int_keyPointsIdx
 
int _verbose
 
int _sieve1Width
 
int _sieve1Height
 
int _sieve1Size
 
int _kdTreeSearchSteps
 
double _kdTreeSecondDistance
 
int _minimumMatches
 
HuginBase::RANSACOptimizer::Mode _ransacMode
 
int _ransacIters
 
int _ransacDistanceThres
 
int _sieve2Width
 
int _sieve2Height
 
int _sieve2Size
 
MatchingStrategy _matchingStrategy
 
int _linearMatchLen
 
bool _test
 
int _cores
 
bool _downscale
 
bool _cache
 
bool _cleanup
 
bool _celeste
 
double _celesteThreshold
 
int _celesteRadius
 
std::string _keypath
 
std::string _prefix
 
std::string _outputFile
 
bool _outputGiven
 
std::string _inputFile
 
HuginBase::Panorama_panoramaInfo
 
HuginBase::Panorama _panoramaInfoCopy
 
std::set< std::string > _cpsHashSet
 
HuginBase::UIntSet _image_layer
 image set contains only the images with the median exposure of each stack
 
std::vector< HuginBase::UIntVector_image_stacks
 vector with image numbers of all stacks, contains only the unlinked stacks
 
ImgData_t _filesData
 
struct celeste::svm_modelsvmModel
 

Detailed Description

Definition at line 46 of file PanoDetector.h.

Member Typedef Documentation

◆ FileNameList_t

typedef std::vector<std::string> PanoDetector::FileNameList_t

Definition at line 49 of file PanoDetector.h.

◆ FileNameListIt_t

typedef std::vector<std::string>::iterator PanoDetector::FileNameListIt_t

Definition at line 50 of file PanoDetector.h.

◆ ImgData_t

Definition at line 445 of file PanoDetector.h.

◆ ImgDataIt_t

Definition at line 446 of file PanoDetector.h.

◆ KeyPointDetector

Definition at line 54 of file PanoDetector.h.

◆ KPKDTree

Definition at line 51 of file PanoDetector.h.

◆ KPKDTreePtr

Definition at line 52 of file PanoDetector.h.

◆ MatchData_t

Definition at line 455 of file PanoDetector.h.

◆ MatchDataIt_t

Definition at line 456 of file PanoDetector.h.

Member Enumeration Documentation

◆ MatchingStrategy

for selecting matching strategy

Enumerator
ALLPAIRS 
LINEAR 
MULTIROW 
PREALIGNED 

Definition at line 57 of file PanoDetector.h.

Constructor & Destructor Documentation

◆ PanoDetector() [1/2]

PanoDetector::PanoDetector ( )

Definition at line 101 of file PanoDetector.cpp.

References _panoramaInfo.

◆ ~PanoDetector()

PanoDetector::~PanoDetector ( )

Definition at line 115 of file PanoDetector.cpp.

References _panoramaInfo.

◆ PanoDetector() [2/2]

PanoDetector::PanoDetector ( const PanoDetector )
private

Member Function Documentation

◆ AnalyzeImage()

bool PanoDetector::AnalyzeImage ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

◆ BuildKDTreesInImage()

bool PanoDetector::BuildKDTreesInImage ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

Definition at line 851 of file PanoDetectorLogic.cpp.

References threshold(), and TRACE_IMG.

Referenced by ImgDataRunnable::run(), and LoadKeypointsDataRunnable::run().

◆ buildMultiRowImageSets()

void PanoDetector::buildMultiRowImageSets ( )
private

search for image layer and image stacks for the multirow matching step

Definition at line 918 of file PanoDetector.cpp.

References _image_layer, _image_stacks, _panoramaInfo, HuginBase::Panorama::getImage(), HuginBase::getSortedStacks(), and threshold().

Referenced by run().

◆ checkData()

bool PanoDetector::checkData ( )

Definition at line 120 of file PanoDetector.cpp.

References _filesData, _linearMatchLen, and _test.

◆ checkLoadSuccess()

bool PanoDetector::checkLoadSuccess ( )
private

Definition at line 882 of file PanoDetector.cpp.

References _filesData, _keyPointsIdx, and threshold().

Referenced by run().

◆ CleanupKeyfiles()

void PanoDetector::CleanupKeyfiles ( )
private

Definition at line 907 of file PanoDetector.cpp.

References _filesData, and threshold().

Referenced by run().

◆ FilterKeyPointsInImage()

bool PanoDetector::FilterKeyPointsInImage ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

Definition at line 733 of file PanoDetectorLogic.cpp.

References threshold(), and TRACE_IMG.

Referenced by ImgDataRunnable::run(), and WriteKeyPointsRunnable::run().

◆ FilterMatchesInPair()

bool PanoDetector::FilterMatchesInPair ( MatchData ioMatchData,
const PanoDetector iPanoDetector 
)
static

Definition at line 1140 of file PanoDetectorLogic.cpp.

References set_contains(), threshold(), and TRACE_PAIR.

Referenced by MatchDataRunnable::run().

◆ FindKeyPointsInImage()

bool PanoDetector::FindKeyPointsInImage ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

Definition at line 717 of file PanoDetectorLogic.cpp.

References threshold(), and TRACE_IMG.

Referenced by ImgDataRunnable::run(), and WriteKeyPointsRunnable::run().

◆ FindMatchesInPair()

bool PanoDetector::FindMatchesInPair ( MatchData ioMatchData,
const PanoDetector iPanoDetector 
)
static

Definition at line 887 of file PanoDetectorLogic.cpp.

References threshold(), and TRACE_PAIR.

Referenced by MatchDataRunnable::run().

◆ FreeMemoryInImage()

bool PanoDetector::FreeMemoryInImage ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

Definition at line 876 of file PanoDetectorLogic.cpp.

References threshold(), and TRACE_IMG.

Referenced by ImgDataRunnable::run(), and WriteKeyPointsRunnable::run().

◆ getCached()

bool PanoDetector::getCached ( ) const
inline

Definition at line 260 of file PanoDetector.h.

References _cache.

◆ getCeleste()

bool PanoDetector::getCeleste ( ) const
inline

Definition at line 276 of file PanoDetector.h.

References _celeste.

◆ getCelesteRadius()

int PanoDetector::getCelesteRadius ( ) const
inline

Definition at line 292 of file PanoDetector.h.

References _celesteRadius.

◆ getCelesteThreshold()

double PanoDetector::getCelesteThreshold ( ) const
inline

Definition at line 284 of file PanoDetector.h.

References _celesteThreshold.

◆ getCleanup()

bool PanoDetector::getCleanup ( ) const
inline

Definition at line 268 of file PanoDetector.h.

References _cleanup.

◆ getDownscale()

bool PanoDetector::getDownscale ( ) const
inline

Definition at line 237 of file PanoDetector.h.

References _downscale.

◆ getKDTreeSearchSteps()

int PanoDetector::getKDTreeSearchSteps ( ) const
inline

Definition at line 153 of file PanoDetector.h.

References _kdTreeSearchSteps.

◆ getKDTreeSecondDistance()

double PanoDetector::getKDTreeSecondDistance ( ) const
inline

Definition at line 157 of file PanoDetector.h.

References _kdTreeSecondDistance.

◆ getKeyPointsIdx()

std::vector< int > PanoDetector::getKeyPointsIdx ( ) const
inline

Definition at line 98 of file PanoDetector.h.

References _keyPointsIdx.

◆ getLinearMatchLen()

int PanoDetector::getLinearMatchLen ( ) const
inline

Definition at line 224 of file PanoDetector.h.

References _linearMatchLen.

◆ getMatchingStrategy()

MatchingStrategy PanoDetector::getMatchingStrategy ( ) const
inline

Definition at line 232 of file PanoDetector.h.

References _matchingStrategy.

Referenced by match(), and run().

◆ getMinimumMatches()

int PanoDetector::getMinimumMatches ( ) const
inline

Definition at line 178 of file PanoDetector.h.

References _minimumMatches.

◆ getPanoramaInfo()

HuginBase::Panorama * PanoDetector::getPanoramaInfo ( ) const
inline

Definition at line 89 of file PanoDetector.h.

References _panoramaInfo.

◆ getRansacDistanceThreshold()

int PanoDetector::getRansacDistanceThreshold ( ) const
inline

Definition at line 186 of file PanoDetector.h.

References _ransacDistanceThres.

◆ getRansacIterations()

int PanoDetector::getRansacIterations ( ) const
inline

Definition at line 182 of file PanoDetector.h.

References _ransacIters.

◆ getRansacMode()

HuginBase::RANSACOptimizer::Mode PanoDetector::getRansacMode ( )
inline

Definition at line 190 of file PanoDetector.h.

References _ransacMode.

◆ getSieve1Height()

int PanoDetector::getSieve1Height ( ) const
inline

Definition at line 136 of file PanoDetector.h.

References _sieve1Height.

◆ getSieve1Size()

int PanoDetector::getSieve1Size ( ) const
inline

Definition at line 140 of file PanoDetector.h.

References _sieve1Size.

◆ getSieve1Width()

int PanoDetector::getSieve1Width ( ) const
inline

Definition at line 132 of file PanoDetector.h.

References _sieve1Width.

◆ getSieve2Height()

int PanoDetector::getSieve2Height ( ) const
inline

Definition at line 211 of file PanoDetector.h.

References _sieve2Height.

◆ getSieve2Size()

int PanoDetector::getSieve2Size ( ) const
inline

Definition at line 215 of file PanoDetector.h.

References _sieve2Size.

◆ getSieve2Width()

int PanoDetector::getSieve2Width ( ) const
inline

Definition at line 207 of file PanoDetector.h.

References _sieve2Width.

◆ getTest()

bool PanoDetector::getTest ( ) const
inline

Definition at line 304 of file PanoDetector.h.

References _test.

◆ getVerbose()

int PanoDetector::getVerbose ( ) const
inline

Definition at line 115 of file PanoDetector.h.

References _verbose.

Referenced by matchMultiRow(), and run().

◆ getWriteAllKeyPoints()

bool PanoDetector::getWriteAllKeyPoints ( ) const
inline

Definition at line 106 of file PanoDetector.h.

References _writeAllKeyPoints.

◆ LoadKeypoints()

bool PanoDetector::LoadKeypoints ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

◆ loadProject()

bool PanoDetector::loadProject ( )
private

◆ LoadSVMModel()

bool PanoDetector::LoadSVMModel ( )
private

Definition at line 380 of file PanoDetector.cpp.

References hugin_utils::GetDataDir(), celeste::loadSVMmodel(), svmModel, and threshold().

Referenced by run().

◆ MakeKeyPointDescriptorsInImage()

bool PanoDetector::MakeKeyPointDescriptorsInImage ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

Definition at line 777 of file PanoDetectorLogic.cpp.

References threshold(), and TRACE_IMG.

Referenced by ImgDataRunnable::run(), and WriteKeyPointsRunnable::run().

◆ match()

bool PanoDetector::match ( std::vector< HuginBase::UIntSet > &  checkedPairs)

◆ matchMultiRow()

bool PanoDetector::matchMultiRow ( )

◆ matchPrealigned()

bool PanoDetector::matchPrealigned ( HuginBase::Panorama pano,
std::vector< HuginBase::UIntSet > &  connectedImages,
std::vector< size_t imgMap,
bool  exactOverlap = true 
)

does only matches image pairs which overlaps and don't have control points

Parameters
aExecutorexecutor for threading
panopano, which should be used for determing of overlap, can contain also less images than _panoramaInfo
connectedImagescontains a list of already connected or tested image pairs, which should be skipped
imgMapmap of image nr in partial pano and full panorama
exactOverlapif true, only really overlapping image pairs are matched, if false it increases the hfov to take also narrow overlaps better into account
Returns
true, if detection was successful

Definition at line 1182 of file PanoDetector.cpp.

References _filesData, PanoDetector::MatchData::_i1, PanoDetector::MatchData::_matches, _panoramaInfo, HuginBase::Panorama::addCtrlPoint(), HuginBase::Panorama::duplicate(), HuginBase::Panorama::getVariables(), map_get(), HuginBase::BaseSrcPanoImage::RECTILINEAR, RunQueue(), set_contains(), threshold(), and TRACE_INFO.

Referenced by matchMultiRow(), and run().

◆ operator=()

PanoDetector & PanoDetector::operator= ( const PanoDetector )
private

◆ printDetails()

void PanoDetector::printDetails ( )

◆ printFilenames()

void PanoDetector::printFilenames ( )

◆ printHelp()

void PanoDetector::printHelp ( )

◆ RansacMatchesInPair()

bool PanoDetector::RansacMatchesInPair ( MatchData ioMatchData,
const PanoDetector iPanoDetector 
)
static

◆ RansacMatchesInPairCam()

bool PanoDetector::RansacMatchesInPairCam ( MatchData ioMatchData,
const PanoDetector iPanoDetector 
)
static

◆ RansacMatchesInPairHomography()

bool PanoDetector::RansacMatchesInPairHomography ( MatchData ioMatchData,
const PanoDetector iPanoDetector 
)
static

◆ RemapBackKeypoints()

bool PanoDetector::RemapBackKeypoints ( ImgData ioImgInfo,
const PanoDetector iPanoDetector 
)
static

◆ run()

void PanoDetector::run ( )

◆ setCached()

void PanoDetector::setCached ( bool  iCached)
inline

Definition at line 264 of file PanoDetector.h.

References _cache, and threshold().

◆ setCeleste()

void PanoDetector::setCeleste ( bool  iCeleste)
inline

Definition at line 280 of file PanoDetector.h.

References _celeste, and threshold().

Referenced by run().

◆ setCelesteRadius()

void PanoDetector::setCelesteRadius ( int  iCelesteRadius)
inline

Definition at line 296 of file PanoDetector.h.

References _celesteRadius, and threshold().

◆ setCelesteThreshold()

void PanoDetector::setCelesteThreshold ( double  iCelesteThreshold)
inline

Definition at line 288 of file PanoDetector.h.

References _celesteThreshold, and threshold().

◆ setCleanup()

void PanoDetector::setCleanup ( bool  iCleanup)
inline

Definition at line 272 of file PanoDetector.h.

References _cleanup, and threshold().

◆ setCores()

void PanoDetector::setCores ( int  iCores)
inline

Definition at line 308 of file PanoDetector.h.

References _cores, and threshold().

Referenced by run().

◆ setDownscale()

void PanoDetector::setDownscale ( bool  iDown)
inline

Definition at line 241 of file PanoDetector.h.

References _downscale, and threshold().

◆ setInputFile()

void PanoDetector::setInputFile ( const std::string &  inputFile)
inline

Definition at line 252 of file PanoDetector.h.

References _inputFile, and threshold().

◆ setKDTreeSearchSteps()

void PanoDetector::setKDTreeSearchSteps ( int  iSteps)
inline

Definition at line 145 of file PanoDetector.h.

References _kdTreeSearchSteps, and threshold().

◆ setKDTreeSecondDistance()

void PanoDetector::setKDTreeSecondDistance ( double  iDist)
inline

Definition at line 149 of file PanoDetector.h.

References _kdTreeSecondDistance, and threshold().

◆ setKeyfilesPath()

void PanoDetector::setKeyfilesPath ( const std::string &  keypath)
inline

Definition at line 256 of file PanoDetector.h.

References _keypath, and threshold().

◆ setKeyPointsIdx()

void PanoDetector::setKeyPointsIdx ( std::vector< int keyPointsIdx)
inline

Definition at line 94 of file PanoDetector.h.

References _keyPointsIdx, and threshold().

◆ setLinearMatchLen()

void PanoDetector::setLinearMatchLen ( int  iLen)
inline

Definition at line 220 of file PanoDetector.h.

References _linearMatchLen, and threshold().

◆ setMatchingStrategy()

void PanoDetector::setMatchingStrategy ( MatchingStrategy  iMatchStrategy)
inline

Definition at line 228 of file PanoDetector.h.

References _matchingStrategy, and threshold().

◆ setMinimumMatches()

void PanoDetector::setMinimumMatches ( int  iMatches)
inline

Definition at line 162 of file PanoDetector.h.

References _minimumMatches, and threshold().

◆ setOutputFile()

void PanoDetector::setOutputFile ( const std::string &  outputFile)
inline

Definition at line 247 of file PanoDetector.h.

References _outputFile, _outputGiven, and threshold().

◆ setRansacDistanceThreshold()

void PanoDetector::setRansacDistanceThreshold ( int  iDT)
inline

Definition at line 170 of file PanoDetector.h.

References _ransacDistanceThres, and threshold().

◆ setRansacIterations()

void PanoDetector::setRansacIterations ( int  iIters)
inline

Definition at line 166 of file PanoDetector.h.

References _ransacIters, and threshold().

◆ setRansacMode()

void PanoDetector::setRansacMode ( HuginBase::RANSACOptimizer::Mode  mode)
inline

Definition at line 174 of file PanoDetector.h.

References _ransacMode.

◆ setSieve1Height()

void PanoDetector::setSieve1Height ( int  iHeight)
inline

Definition at line 124 of file PanoDetector.h.

References _sieve1Height, and threshold().

◆ setSieve1Size()

void PanoDetector::setSieve1Size ( int  iSize)
inline

Definition at line 128 of file PanoDetector.h.

References _sieve1Size, and threshold().

◆ setSieve1Width()

void PanoDetector::setSieve1Width ( int  iWidth)
inline

Definition at line 120 of file PanoDetector.h.

References _sieve1Width, and threshold().

◆ setSieve2Height()

void PanoDetector::setSieve2Height ( int  iHeight)
inline

Definition at line 199 of file PanoDetector.h.

References _sieve2Height, and threshold().

◆ setSieve2Size()

void PanoDetector::setSieve2Size ( int  iSize)
inline

Definition at line 203 of file PanoDetector.h.

References _sieve2Size, and threshold().

◆ setSieve2Width()

void PanoDetector::setSieve2Width ( int  iWidth)
inline

Definition at line 195 of file PanoDetector.h.

References _sieve2Width, and threshold().

◆ setTest()

void PanoDetector::setTest ( bool  iTest)
inline

Definition at line 300 of file PanoDetector.h.

References _test, and threshold().

◆ setVerbose()

void PanoDetector::setVerbose ( int  level)
inline

Definition at line 111 of file PanoDetector.h.

References _verbose.

◆ setWriteAllKeyPoints()

void PanoDetector::setWriteAllKeyPoints ( bool  writeAllKeyPoints = true)
inline

Definition at line 102 of file PanoDetector.h.

References _writeAllKeyPoints, and threshold().

◆ writeKeyfile()

void PanoDetector::writeKeyfile ( ImgData imgInfo)
private

Definition at line 1223 of file PanoDetectorLogic.cpp.

References _panoramaInfo, HuginBase::Panorama::getImage(), and threshold().

Referenced by run().

◆ writeOutput()

void PanoDetector::writeOutput ( )
private

Member Data Documentation

◆ _cache

bool PanoDetector::_cache
private

Definition at line 351 of file PanoDetector.h.

Referenced by getCached(), printDetails(), printFilenames(), run(), and setCached().

◆ _celeste

bool PanoDetector::_celeste
private

Definition at line 353 of file PanoDetector.h.

Referenced by getCeleste(), loadProject(), printDetails(), run(), and setCeleste().

◆ _celesteRadius

int PanoDetector::_celesteRadius
private

Definition at line 355 of file PanoDetector.h.

Referenced by getCelesteRadius(), printDetails(), and setCelesteRadius().

◆ _celesteThreshold

double PanoDetector::_celesteThreshold
private

Definition at line 354 of file PanoDetector.h.

Referenced by getCelesteThreshold(), printDetails(), and setCelesteThreshold().

◆ _cleanup

bool PanoDetector::_cleanup
private

Definition at line 352 of file PanoDetector.h.

Referenced by getCleanup(), printDetails(), run(), and setCleanup().

◆ _cores

int PanoDetector::_cores
private

Definition at line 349 of file PanoDetector.h.

Referenced by run(), and setCores().

◆ _cpsHashSet

std::set<std::string> PanoDetector::_cpsHashSet
private

Definition at line 369 of file PanoDetector.h.

Referenced by loadProject().

◆ _downscale

bool PanoDetector::_downscale
private

Definition at line 350 of file PanoDetector.h.

Referenced by getDownscale(), loadProject(), printDetails(), and setDownscale().

◆ _filesData

ImgData_t PanoDetector::_filesData
private

◆ _image_layer

HuginBase::UIntSet PanoDetector::_image_layer
private

image set contains only the images with the median exposure of each stack

Definition at line 375 of file PanoDetector.h.

Referenced by buildMultiRowImageSets(), matchMultiRow(), and run().

◆ _image_stacks

std::vector<HuginBase::UIntVector> PanoDetector::_image_stacks
private

vector with image numbers of all stacks, contains only the unlinked stacks

Definition at line 377 of file PanoDetector.h.

Referenced by buildMultiRowImageSets(), matchMultiRow(), and run().

◆ _inputFile

std::string PanoDetector::_inputFile
private

Definition at line 364 of file PanoDetector.h.

Referenced by loadProject(), printDetails(), and setInputFile().

◆ _kdTreeSearchSteps

int PanoDetector::_kdTreeSearchSteps
private

Definition at line 333 of file PanoDetector.h.

Referenced by getKDTreeSearchSteps(), printDetails(), and setKDTreeSearchSteps().

◆ _kdTreeSecondDistance

double PanoDetector::_kdTreeSecondDistance
private

Definition at line 334 of file PanoDetector.h.

Referenced by getKDTreeSecondDistance(), printDetails(), and setKDTreeSecondDistance().

◆ _keypath

std::string PanoDetector::_keypath
private

Definition at line 356 of file PanoDetector.h.

Referenced by loadProject(), printDetails(), and setKeyfilesPath().

◆ _keyPointsIdx

std::vector<int> PanoDetector::_keyPointsIdx
private

◆ _linearMatchLen

int PanoDetector::_linearMatchLen
private

Definition at line 346 of file PanoDetector.h.

Referenced by checkData(), getLinearMatchLen(), match(), printDetails(), and setLinearMatchLen().

◆ _matchingStrategy

MatchingStrategy PanoDetector::_matchingStrategy
private

Definition at line 345 of file PanoDetector.h.

Referenced by getMatchingStrategy(), printDetails(), and setMatchingStrategy().

◆ _minimumMatches

int PanoDetector::_minimumMatches
private

Definition at line 336 of file PanoDetector.h.

Referenced by getMinimumMatches(), printDetails(), and setMinimumMatches().

◆ _outputFile

std::string PanoDetector::_outputFile
private

Definition at line 362 of file PanoDetector.h.

Referenced by printDetails(), run(), setOutputFile(), and writeOutput().

◆ _outputGiven

bool PanoDetector::_outputGiven
private

Definition at line 363 of file PanoDetector.h.

Referenced by run(), and setOutputFile().

◆ _panoramaInfo

HuginBase::Panorama* PanoDetector::_panoramaInfo
private

◆ _panoramaInfoCopy

HuginBase::Panorama PanoDetector::_panoramaInfoCopy
private

Definition at line 368 of file PanoDetector.h.

Referenced by loadProject().

◆ _prefix

std::string PanoDetector::_prefix
private

Definition at line 357 of file PanoDetector.h.

Referenced by loadProject(), and printFilenames().

◆ _ransacDistanceThres

int PanoDetector::_ransacDistanceThres
private

◆ _ransacIters

int PanoDetector::_ransacIters
private

Definition at line 338 of file PanoDetector.h.

Referenced by getRansacIterations(), printDetails(), and setRansacIterations().

◆ _ransacMode

HuginBase::RANSACOptimizer::Mode PanoDetector::_ransacMode
private

Definition at line 337 of file PanoDetector.h.

Referenced by getRansacMode(), printDetails(), and setRansacMode().

◆ _sieve1Height

int PanoDetector::_sieve1Height
private

Definition at line 330 of file PanoDetector.h.

Referenced by getSieve1Height(), printDetails(), and setSieve1Height().

◆ _sieve1Size

int PanoDetector::_sieve1Size
private

Definition at line 331 of file PanoDetector.h.

Referenced by getSieve1Size(), printDetails(), and setSieve1Size().

◆ _sieve1Width

int PanoDetector::_sieve1Width
private

Definition at line 329 of file PanoDetector.h.

Referenced by getSieve1Width(), printDetails(), and setSieve1Width().

◆ _sieve2Height

int PanoDetector::_sieve2Height
private

Definition at line 342 of file PanoDetector.h.

Referenced by getSieve2Height(), printDetails(), and setSieve2Height().

◆ _sieve2Size

int PanoDetector::_sieve2Size
private

Definition at line 343 of file PanoDetector.h.

Referenced by getSieve2Size(), printDetails(), and setSieve2Size().

◆ _sieve2Width

int PanoDetector::_sieve2Width
private

Definition at line 341 of file PanoDetector.h.

Referenced by getSieve2Width(), printDetails(), and setSieve2Width().

◆ _test

bool PanoDetector::_test
private

Definition at line 348 of file PanoDetector.h.

Referenced by checkData(), getTest(), and setTest().

◆ _verbose

int PanoDetector::_verbose
private

Definition at line 327 of file PanoDetector.h.

Referenced by getVerbose(), run(), and setVerbose().

◆ _writeAllKeyPoints

bool PanoDetector::_writeAllKeyPoints
private

Definition at line 324 of file PanoDetector.h.

Referenced by getWriteAllKeyPoints(), printDetails(), run(), and setWriteAllKeyPoints().

◆ svmModel

struct celeste::svm_model* PanoDetector::svmModel
private

Definition at line 478 of file PanoDetector.h.

Referenced by LoadSVMModel(), and run().


The documentation for this class was generated from the following files: