#include <PanoDetector.h>
Public Types | |
| typedef std::vector< std::string > | FileNameList_t |
| typedef std::vector< std::string >::iterator | FileNameListIt_t |
| typedef KDTreeSpace::KDTree< KDElemKeyPoint, double > | KPKDTree |
| typedef boost::shared_ptr< KPKDTree > | KPKDTreePtr |
| typedef lfeat::KeyPointDetector | KeyPointDetector |
| typedef std::map< int, ImgData > | ImgData_t |
| typedef std::map< int, ImgData >::iterator | ImgDataIt_t |
| typedef std::vector< MatchData > | MatchData_t |
| typedef std::vector< MatchData >::iterator | MatchDataIt_t |
| enum | MatchingStrategy { ALLPAIRS = 0, LINEAR, MULTIROW, PREALIGNED } |
| for selecting matching strategy More... | |
Public Member Functions | |
| PanoDetector () | |
| bool | checkData () |
| void | printDetails () |
| void | printFilenames () |
| void | printHelp () |
| void | run () |
| bool | match (ZThread::PoolExecutor &aExecutor, std::vector< HuginBase::UIntSet > &checkedPairs) |
| bool | matchMultiRow (ZThread::PoolExecutor &aExecutor) |
| bool | matchPrealigned (ZThread::PoolExecutor &aExecutor, 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 | |
| Panorama * | getPanoramaInfo () const |
| void | setKeyPointsIdx (std::vector< int > keyPointsIdx) |
| std::vector< int > | getKeyPointsIdx () 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 (RANSACOptimizer::Mode mode) |
| int | getMinimumMatches () const |
| int | getRansacIterations () const |
| int | getRansacDistanceThreshold () const |
| 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 | |
| bool | LoadKeypoints (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | AnalyzeImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | FindKeyPointsInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | FilterKeyPointsInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | MakeKeyPointDescriptorsInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | RemapBackKeypoints (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | BuildKDTreesInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | FreeMemoryInImage (ImgData &ioImgInfo, const PanoDetector &iPanoDetector) |
| bool | FindMatchesInPair (MatchData &ioMatchData, const PanoDetector &iPanoDetector) |
| bool | RansacMatchesInPair (MatchData &ioMatchData, const PanoDetector &iPanoDetector) |
| bool | RansacMatchesInPairCam (MatchData &ioMatchData, const PanoDetector &iPanoDetector) |
| bool | RansacMatchesInPairHomography (MatchData &ioMatchData, const PanoDetector &iPanoDetector) |
| bool | FilterMatchesInPair (MatchData &ioMatchData, const PanoDetector &iPanoDetector) |
Private Member Functions | |
| 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 |
| 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 |
| Panorama * | _panoramaInfo |
| Panorama | _panoramaInfoCopy |
| ImgData_t | _filesData |
| MatchData_t | _matchesData |
| celeste::svm_model * | svmModel |
|
|
Definition at line 53 of file PanoDetector.h. |
|
|
Definition at line 54 of file PanoDetector.h. |
|
|
Definition at line 405 of file PanoDetector.h. |
|
|
Definition at line 406 of file PanoDetector.h. Referenced by CleanupKeyfiles(), and run(). |
|
|
Definition at line 58 of file PanoDetector.h. Referenced by FindKeyPointsInImage(). |
|
|
Definition at line 55 of file PanoDetector.h. |
|
|
Definition at line 56 of file PanoDetector.h. |
|
|
Definition at line 415 of file PanoDetector.h. |
|
|
Definition at line 416 of file PanoDetector.h. |
|
|
for selecting matching strategy
Definition at line 61 of file PanoDetector.h. |
|
|
Definition at line 111 of file PanoDetector.cpp. References _panoramaInfo, and hugin_utils::getCPUCount(). |
|
||||||||||||
|
||||||||||||
|
Definition at line 556 of file PanoDetectorLogic.cpp. References PanoDetector::ImgData::_descLength, PanoDetector::ImgData::_flann_descriptors, PanoDetector::ImgData::_flann_index, PanoDetector::ImgData::_kp, lfeat::KeyPointPtr, and TRACE_IMG. Referenced by LoadKeypointsDataRunnable::run(), and ImgDataRunnable::run(). |
|
|
Definition at line 124 of file PanoDetector.cpp. References _filesData, and _linearMatchLen. Referenced by main(). |
|
|
Definition at line 866 of file PanoDetector.cpp. References _filesData, and _keyPointsIdx. Referenced by run(). |
|
|
Definition at line 891 of file PanoDetector.cpp. References _filesData, and ImgDataIt_t. Referenced by run(). |
|
||||||||||||
|
Definition at line 438 of file PanoDetectorLogic.cpp. References PanoDetector::ImgData::_detectHeight, PanoDetector::ImgData::_detectWidth, PanoDetector::ImgData::_distancemap, PanoDetector::ImgData::_kp, getSieve1Height(), getSieve1Size(), getSieve1Width(), lfeat::KeyPointPtr, and TRACE_IMG. Referenced by WriteKeyPointsRunnable::run(), and ImgDataRunnable::run(). |
|
||||||||||||
|
Definition at line 842 of file PanoDetectorLogic.cpp. References PanoDetector::MatchData::_matches, getSieve2Height(), getSieve2Size(), getSieve2Width(), celeste::max(), lfeat::PointMatchPtr, and TRACE_PAIR. Referenced by MatchDataRunnable::run(). |
|
||||||||||||
|
Definition at line 422 of file PanoDetectorLogic.cpp. References PanoDetector::ImgData::_ii, PanoDetector::ImgData::_kp, lfeat::KeyPointDetector::detectKeypoints(), KeyPointDetector, and TRACE_IMG. Referenced by WriteKeyPointsRunnable::run(), and ImgDataRunnable::run(). |
|
||||||||||||
|
Definition at line 593 of file PanoDetectorLogic.cpp. References PanoDetector::ImgData::_flann_descriptors, PanoDetector::ImgData::_flann_index, PanoDetector::MatchData::_i1, PanoDetector::MatchData::_i2, PanoDetector::ImgData::_kp, PanoDetector::MatchData::_matches, getKDTreeSearchSteps(), getKDTreeSecondDistance(), and TRACE_PAIR. Referenced by MatchDataRunnable::run(). |
|
||||||||||||
|
Definition at line 582 of file PanoDetectorLogic.cpp. References PanoDetector::ImgData::_distancemap, PanoDetector::ImgData::_ii, lfeat::Image::clean(), and TRACE_IMG. Referenced by WriteKeyPointsRunnable::run(), and ImgDataRunnable::run(). |
|
|
Definition at line 263 of file PanoDetector.h. |
|
|
Definition at line 279 of file PanoDetector.h. Referenced by AnalyzeImage(). |
|
|
Definition at line 295 of file PanoDetector.h. Referenced by AnalyzeImage(). |
|
|
Definition at line 287 of file PanoDetector.h. Referenced by AnalyzeImage(). |
|
|
Definition at line 271 of file PanoDetector.h. |
|
|
Definition at line 240 of file PanoDetector.h. Referenced by RansacMatchesInPairHomography(). |
|
|
Definition at line 156 of file PanoDetector.h. Referenced by FindMatchesInPair(). |
|
|
Definition at line 160 of file PanoDetector.h. Referenced by FindMatchesInPair(). |
|
|
Definition at line 101 of file PanoDetector.h. |
|
|
Definition at line 227 of file PanoDetector.h. |
|
|
Definition at line 235 of file PanoDetector.h. |
|
|
Definition at line 181 of file PanoDetector.h. Referenced by RansacMatchesInPairCam(), and RansacMatchesInPairHomography(). |
|
|
Definition at line 92 of file PanoDetector.h. |
|
|
Definition at line 189 of file PanoDetector.h. Referenced by RansacMatchesInPairCam(), and RansacMatchesInPairHomography(). |
|
|
Definition at line 185 of file PanoDetector.h. Referenced by RansacMatchesInPairHomography(). |
|
|
Definition at line 193 of file PanoDetector.h. |
|
|
Definition at line 139 of file PanoDetector.h. Referenced by FilterKeyPointsInImage(). |
|
|
Definition at line 143 of file PanoDetector.h. Referenced by FilterKeyPointsInImage(). |
|
|
Definition at line 135 of file PanoDetector.h. Referenced by FilterKeyPointsInImage(). |
|
|
Definition at line 214 of file PanoDetector.h. Referenced by FilterMatchesInPair(). |
|
|
Definition at line 218 of file PanoDetector.h. Referenced by FilterMatchesInPair(). |
|
|
Definition at line 210 of file PanoDetector.h. Referenced by FilterMatchesInPair(). |
|
|
Definition at line 307 of file PanoDetector.h. Referenced by RansacMatchesInPairHomography(). |
|
|
Definition at line 118 of file PanoDetector.h. Referenced by main(), matchMultiRow(), and run(). |
|
|
Definition at line 109 of file PanoDetector.h. |
|
||||||||||||
|
|
|
Definition at line 377 of file PanoDetector.cpp. References cout, makefile::ifstream, celeste::loadSVMmodel(), makefile::path, makefile::string, and svmModel. Referenced by run(). |
|
||||||||||||
|
Definition at line 481 of file PanoDetectorLogic.cpp. References PanoDetector::ImgData::_descLength, PanoDetector::ImgData::_ii, PanoDetector::ImgData::_kp, lfeat::KeyPointPtr, lfeat::KeyPointVect_t, and TRACE_IMG. Referenced by WriteKeyPointsRunnable::run(), and ImgDataRunnable::run(). |
|
||||||||||||
|
Definition at line 667 of file PanoDetector.cpp. References _filesData, PanoDetector::MatchData::_i1, PanoDetector::MatchData::_i2, PanoDetector::MatchData::_matches, _matchesData, PanoDetector::ImgData::_number, _panoramaInfo, HuginBase::Panorama::addCtrlPoint(), getMatchingStrategy(), set_contains(), TRACE_ERROR, and TRACE_INFO. Referenced by matchMultiRow(), and run(). |
|
|
||||||||||||||||||||||||
|
does only matches image pairs which overlaps and don't have control points
Definition at line 1167 of file PanoDetector.cpp. References _filesData, PanoDetector::MatchData::_i1, PanoDetector::MatchData::_i2, PanoDetector::MatchData::_matches, _matchesData, PanoDetector::ImgData::_number, _panoramaInfo, HuginBase::Panorama::addCtrlPoint(), HuginBase::CalculateImageOverlap::calculate(), HuginBase::Panorama::duplicate(), HuginBase::Panorama::getNrOfImages(), HuginBase::CalculateImageOverlap::getOverlap(), makefile::Variable::getValue(), HuginBase::Panorama::getVariables(), map_get(), set_contains(), TRACE_ERROR, TRACE_INFO, HuginBase::Panorama::updateVariables(), and HuginBase::VariableMapVector. Referenced by matchMultiRow(), and run(). |
|
|
Definition at line 146 of file PanoDetector.cpp. References _celesteRadius, _celesteThreshold, _cores, _downscale, _inputFile, _kdTreeSearchSteps, _kdTreeSecondDistance, _keypath, _keyPointsIdx, _linearMatchLen, _minimumMatches, _outputFile, _ransacDistanceThres, _ransacIters, _sieve1Height, _sieve1Size, _sieve1Width, _sieve2Height, _sieve2Size, _sieve2Width, ALLPAIRS, cout, LINEAR, MULTIROW, and PREALIGNED. Referenced by main(). |
|
|
Definition at line 244 of file PanoDetector.cpp. References _cache, _filesData, _keyPointsIdx, _panoramaInfo, _prefix, cout, HuginBase::Panorama::getImage(), and HuginBase::Panorama::getNrOfImages(). Referenced by run(). |
|
|
|
|
||||||||||||
|
Definition at line 670 of file PanoDetectorLogic.cpp. References PanoDetector::MatchData::_i1, PanoDetector::MatchData::_i2, PanoDetector::ImgData::_number, _panoramaInfo, _ransacMode, HuginBase::Panorama::getImage(), RansacMatchesInPairCam(), and RansacMatchesInPairHomography(). Referenced by MatchDataRunnable::run(). |
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
|
Write output project Definition at line 436 of file PanoDetector.cpp. References _cores, _filesData, _keyPointsIdx, _outputFile, _panoramaInfo, _verbose, ALLPAIRS, checkLoadSuccess(), CleanupKeyfiles(), cout, celeste::destroySVMmodel(), HuginBase::Panorama::getCtrlPoints(), getMatchingStrategy(), HuginBase::Panorama::getNrOfImages(), utils::getTotalMemory(), getVerbose(), ImgDataIt_t, LINEAR, loadProject(), LoadSVMModel(), match(), matchMultiRow(), matchPrealigned(), MULTIROW, PREALIGNED, printFilenames(), setCeleste(), setCores(), srandom, svmModel, TRACE_ERROR, TRACE_INFO, writeKeyfile(), and writeOutput(). Referenced by main(). |
|
|
Definition at line 267 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 283 of file PanoDetector.h. Referenced by parseOptions(), and run(). |
|
|
Definition at line 299 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 291 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 275 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 311 of file PanoDetector.h. Referenced by parseOptions(), and run(). |
|
|
Definition at line 244 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 255 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 148 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 152 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 259 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 97 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 223 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 231 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 165 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 250 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 173 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 169 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 177 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 127 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 131 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 123 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 202 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 206 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 198 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 303 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 114 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
Definition at line 105 of file PanoDetector.h. Referenced by parseOptions(). |
|
|
|
Definition at line 909 of file PanoDetectorLogic.cpp. References _outputFile, _panoramaInfo, cerr, makefile::ofstream, HuginBase::Panorama::removeDuplicateCtrlPoints(), and HuginBase::Panorama::writeData(). Referenced by run(). |
|
|
Definition at line 350 of file PanoDetector.h. Referenced by printFilenames(). |
|
|
Definition at line 352 of file PanoDetector.h. Referenced by loadProject(). |
|
|
Definition at line 354 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 353 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 351 of file PanoDetector.h. |
|
|
Definition at line 348 of file PanoDetector.h. Referenced by printDetails(), and run(). |
|
|
Definition at line 349 of file PanoDetector.h. Referenced by AnalyzeImage(), printDetails(), and RemapBackKeypoints(). |
|
|
Definition at line 437 of file PanoDetector.h. Referenced by checkData(), checkLoadSuccess(), CleanupKeyfiles(), loadProject(), match(), matchMultiRow(), matchPrealigned(), printFilenames(), and run(). |
|
|
Definition at line 363 of file PanoDetector.h. Referenced by loadProject(), and printDetails(). |
|
|
Definition at line 332 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 333 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 355 of file PanoDetector.h. Referenced by loadProject(), and printDetails(). |
|
|
Definition at line 324 of file PanoDetector.h. Referenced by checkLoadSuccess(), printDetails(), printFilenames(), and run(). |
|
|
Definition at line 345 of file PanoDetector.h. Referenced by checkData(), and printDetails(). |
|
|
Definition at line 438 of file PanoDetector.h. Referenced by match(), matchMultiRow(), and matchPrealigned(). |
|
|
Definition at line 344 of file PanoDetector.h. |
|
|
Definition at line 335 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 361 of file PanoDetector.h. Referenced by printDetails(), run(), and writeOutput(). |
|
|
Definition at line 362 of file PanoDetector.h. |
|
|
Definition at line 366 of file PanoDetector.h. Referenced by loadProject(), match(), matchMultiRow(), matchPrealigned(), PanoDetector(), printFilenames(), RansacMatchesInPair(), RansacMatchesInPairCam(), run(), writeKeyfile(), and writeOutput(). |
|
|
Definition at line 367 of file PanoDetector.h. Referenced by AnalyzeImage(), loadProject(), and RemapBackKeypoints(). |
|
|
Definition at line 356 of file PanoDetector.h. Referenced by loadProject(), and printFilenames(). |
|
|
Definition at line 338 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 337 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 336 of file PanoDetector.h. Referenced by RansacMatchesInPair(), and RansacMatchesInPairCam(). |
|
|
Definition at line 329 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 330 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 328 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 341 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 342 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 340 of file PanoDetector.h. Referenced by printDetails(). |
|
|
Definition at line 347 of file PanoDetector.h. |
|
|
Definition at line 326 of file PanoDetector.h. Referenced by run(). |
|
|
Definition at line 323 of file PanoDetector.h. |
|
|
Definition at line 439 of file PanoDetector.h. Referenced by AnalyzeImage(), LoadSVMModel(), and run(). |
1.3.9.1