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

program to modify some aspects of a project file on the command line More...

#include <fstream>
#include <sstream>
#include <cmath>
#include <getopt.h>
#include <panodata/Panorama.h>
#include <algorithms/nona/CenterHorizontally.h>
#include <algorithms/basic/StraightenPanorama.h>
#include <algorithms/basic/RotatePanorama.h>
#include <algorithms/basic/TranslatePanorama.h>
#include <algorithms/nona/FitPanorama.h>
#include <algorithms/basic/CalculateOptimalScale.h>
#include <algorithms/basic/CalculateOptimalROI.h>
#include <algorithms/basic/LayerStacks.h>
#include <algorithms/basic/CalculateMeanExposure.h>
#include "hugin_utils/utils.h"
#include "PanoOptionsFromIni.h"
Include dependency graph for pano_modify.cpp:

Go to the source code of this file.

Macros

#define EMPTYARG   "(empty)"
 

Functions

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

Detailed Description

program to modify some aspects of a project file on the command line

Author
Thomas Modes

$Id$

Definition in file pano_modify.cpp.

Macro Definition Documentation

#define EMPTYARG   "(empty)"

Referenced by main().

Function Documentation

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

Definition at line 120 of file pano_modify.cpp.

References HuginBase::PanoramaOptions::blendMode, HuginBase::CalculateMeanExposure::calcMeanExposure(), HuginBase::CalculateOptimalScale::calcOptimalScale(), EMPTYARG, HuginBase::PanoramaOptions::ENBLEND_BLEND, HuginBase::PanoramaOptions::enblendOptions, HuginBase::PanoramaOptions::enfuseOptions, hugin_utils::FileExists(), HuginBase::PanoramaOptions::fovCalcSupported(), HuginBase::Panorama::getActiveImages(), HuginBase::getHDRStacks(), HuginBase::PanoramaOptions::getHeight(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::Panorama::getOptions(), hugin_utils::GetOutputFilename(), hugin_utils::getPathPrefix(), HuginBase::PanoramaOptions::getProjection(), HuginBase::PanoramaOptions::getProjectionParameters(), HuginBase::CalculateFitPanorama::getResultHeight(), HuginBase::CalculateFitPanorama::getResultHorizontalFOV(), HuginBase::CalculateOptimalROI::getResultOptimalROI(), HuginBase::CalculateOptimalROIOutside::getResultOptimalROI(), HuginBase::PanoramaOptions::getROI(), HuginBase::PanoramaOptions::getVFOV(), HuginBase::PanoramaOptions::getWidth(), HuginBase::PanoramaOptions::hdrmergeOptions, HuginBase::PanoramaOptions::INTERNAL_BLEND, vigra_ext::INTERP_SINC_1024, HuginBase::PanoramaOptions::interpolator, HuginBase::PanoramaOptions::m_projFeatures, HuginBase::PanoramaOptions::outputExposureValue, HuginBase::PanoramaOptions::outputHDRBlended, HuginBase::PanoramaOptions::outputHDRLayers, HuginBase::PanoramaOptions::outputHDRStacks, HuginBase::PanoramaOptions::outputImageType, HuginBase::PanoramaOptions::outputImageTypeCompression, HuginBase::PanoramaOptions::outputImageTypeHDR, HuginBase::PanoramaOptions::outputImageTypeHDRCompression, HuginBase::PanoramaOptions::outputLDRBlended, HuginBase::PanoramaOptions::outputLDRExposureBlended, HuginBase::PanoramaOptions::outputLDRExposureLayers, HuginBase::PanoramaOptions::outputLDRExposureLayersFused, HuginBase::PanoramaOptions::outputLDRExposureRemapped, HuginBase::PanoramaOptions::outputLDRLayers, HuginBase::PanoramaOptions::outputLDRStacks, HuginBase::PanoramaOptions::outputRangeCompression, HuginBase::PanoramaOptions::quality, ReadPanoramaOptionsFromIni(), HuginBase::Panorama::ReadPTOFile(), hugin_utils::roundi(), HuginBase::PanoramaAlgorithm::run(), HuginBase::PanoramaOptions::setHeight(), HuginBase::PanoramaOptions::setHFOV(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::setProjection(), HuginBase::PanoramaOptions::setProjectionParameters(), HuginBase::PanoramaOptions::setROI(), HuginBase::CalculateOptimalROI::setStacks(), HuginBase::PanoramaOptions::setVFOV(), HuginBase::PanoramaOptions::setWidth(), hugin_utils::SplitString(), hugin_utils::stringToDouble(), hugin_utils::stringToInt(), hugin_utils::stripPath(), hugin_utils::StrTrim(), HuginBase::PanoramaOptions::tiff_saveROI, HuginBase::PanoramaOptions::tiffCompression, hugin_utils::tolower(), hugin_utils::toupper(), usage(), HuginBase::PanoramaOptions::verdandiOptions, HuginBase::Panorama::WritePTOFile(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

static void usage ( const char *  name)
static

Definition at line 46 of file pano_modify.cpp.

References hugin_utils::GetHuginVersion().