Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
autooptimiser.cpp File Reference

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

#include <hugin_config.h>
#include <fstream>
#include <sstream>
#include <getopt.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.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.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 84 of file autooptimiser.cpp.

References HuginBase::SrcPanoImage::applyEXIFValues(), HuginBase::AutoOptimise::autoOptimise(), HuginBase::CalculateMeanExposure::calcMeanExposure(), HuginBase::CalculateOptimalScale::calcOptimalScale(), HuginBase::PanoramaOptions::CYLINDRICAL, HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getCtrlPoints(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::Panorama::getImage(), HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), hugin_utils::GetOutputFilename(), hugin_utils::getPathPrefix(), HuginBase::PanoramaOptions::getProjection(), HuginBase::CalculateFitPanorama::getResultHeight(), HuginBase::CalculateFitPanorama::getResultHorizontalFOV(), HuginBase::Panorama::getSrcImage(), HuginBase::StandardImageVariableGroups::getStacks(), HuginBase::Panorama::getSubset(), HuginBase::Panorama::getVariables(), HuginBase::ConstImageVariableGroup::getVarLinkedInPart(), HuginBase::PanoramaOptions::getVFOV(), HuginBase::PanoramaOptions::getWidth(), HuginBase::ImageVariableGroup::linkVariablePart(), loadImgsAndExtractPoints(), HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR, HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR_WB, HuginBase::PTools::optimize(), HuginBase::PanoramaOptions::OUTPUT_HDR, HuginBase::PanoramaOptions::outputExposureValue, HuginBase::PanoramaOptions::outputMode, HuginBase::SrcPanoImage::readEXIF(), HuginBase::Panorama::ReadPTOFile(), HuginBase::BaseSrcPanoImage::RECTILINEAR, HuginBase::PanoramaOptions::RECTILINEAR, hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), HuginBase::PanoramaOptions::setHeight(), HuginBase::PanoramaOptions::setHFOV(), AppBase::ProgressDisplay::setMessage(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::setProjection(), HuginBase::Panorama::setSrcImage(), HuginBase::PanoramaOptions::setWidth(), HuginBase::SmartOptimise::smartOptimize(), hugin_utils::stripPath(), AppBase::ProgressDisplay::taskFinished(), HuginBase::Panorama::updateOptimizeVector(), HuginBase::Panorama::updateVariables(), usage(), HuginBase::Panorama::WritePTOFile(), and HuginBase::ControlPoint::X.

static void usage ( const char *  name)
static

Definition at line 48 of file autooptimiser.cpp.

References hugin_utils::GetHuginVersion().