autooptimiser.cpp File Reference

a smarter PTOptimizer, with pairwise optimisation before global optimisation starts More...

#include <hugin_config.h>
#include <fstream>
#include <sstream>
#include <unistd.h>
#include <hugin_basic.h>
#include <hugin_utils/stl_utils.h>
#include <appbase/ProgressDisplay.h>
#include <algorithms/optimizer/PTOptimizer.h>
#include <algorithms/nona/CenterHorizontally.h>
#include <algorithms/basic/StraightenPanorama.h>
#include <algorithms/basic/CalculateMeanExposure.h>
#include <algorithms/nona/FitPanorama.h>
#include <algorithms/basic/CalculateOptimalScale.h>
#include <algorithms/optimizer/PhotometricOptimizer.h>
#include <panodata/ImageVariableGroup.h>
#include <panodata/StandardImageVariableGroups.h>
#include "ExtractPoints.h"

Include dependency graph for autooptimiser.cpp:

Go to the source code of this file.

Functions

static void usage (const char *name)
int main (int argc, char *argv[])


Detailed Description

a smarter PTOptimizer, with pairwise optimisation before global optimisation starts

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see <http://www.gnu.org/licenses/>.

Definition in file autooptimiser.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 90 of file autooptimiser.cpp.

References PTools::autoOptimise(), PT::calcMeanExposure(), cerr, cout, fill_set(), HuginBase::Panorama::getCtrlPoints(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), hugin_utils::getPathPrefix(), HuginBase::PanoramaOptions::getProjection(), HuginBase::CalculateFitPanorama::getResultHeight(), HuginBase::CalculateFitPanorama::getResultHorizontalFOV(), HuginBase::Panorama::getSrcImage(), HuginBase::ConstImageVariableGroup::getVarLinkedInPart(), HuginBase::PanoramaOptions::getVFOV(), HuginBase::PanoramaOptions::getWidth(), HuginBase::ConstImageVariableGroup::IVE_EMoRParams, HuginBase::ConstImageVariableGroup::IVE_RadialVigCorrCenterShift, HuginBase::ConstImageVariableGroup::IVE_RadialVigCorrCoeff, HuginBase::ConstImageVariableGroup::IVE_ResponseType, HuginBase::ConstImageVariableGroup::IVE_VigCorrMode, HuginBase::ImageVariableGroup::linkVariablePart(), PT::loadImgsAndExtractPoints(), HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR, HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR_WB, HuginBase::PTools::optimize(), HuginBase::PanoramaOptions::outputExposureValue, HuginBase::PanoramaOptions::outputMode, HuginBase::Panorama::printPanoramaScript(), HuginBase::Panorama::readData(), hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), HuginBase::Panorama::setFilePrefix(), HuginBase::PanoramaOptions::setHeight(), HuginBase::PanoramaOptions::setHFOV(), AppBase::ProgressDisplay::setMessage(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::setProjection(), HuginBase::Panorama::setSrcImage(), HuginBase::PanoramaOptions::setWidth(), PTools::smartOptimize(), hugin_utils::stripPath(), AppBase::ProgressDisplay::taskFinished(), usage(), and X.

static void usage ( const char *  name  )  [static]

Definition at line 57 of file autooptimiser.cpp.

References cerr, and hugin_utils::GetHuginVersion().


Generated on 3 Sep 2015 for Hugintrunk by  doxygen 1.4.7