vig_optimize.cpp File Reference

a simple test stitcher More...

#include <hugin_config.h>
#include <hugin_version.h>
#include <fstream>
#include <sstream>
#include <algorithms/optimizer/PhotometricOptimizer.h>
#include "ExtractPoints.h"
#include <unistd.h>
#include <hugin_basic.h>
#include <nona/Stitcher.h>
#include <tiff.h>

Include dependency graph for vig_optimize.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void usage (const char *name)
void loadPointsC (FILE *f, std::vector< PointPairRGB > &vec)
void loadPoints (istream &i, std::vector< PointPairRGB > &vec)
bool hasphotometricParams (Panorama &pano)
int main (int argc, char *argv[])


Detailed Description

a simple test stitcher

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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file vig_optimize.cpp.


Function Documentation

bool hasphotometricParams Panorama pano  ) 
 

Definition at line 138 of file vig_optimize.cpp.

References HuginBase::Panorama::getOptimizeVector(), and HuginBase::OptimizeVector.

Referenced by main().

void loadPoints istream i,
std::vector< PointPairRGB > &  vec
 

Definition at line 114 of file vig_optimize.cpp.

References vigra_ext::PointPairT< VALUE >::i1, vigra_ext::PointPairT< VALUE >::i2, vigra_ext::PointPairT< VALUE >::imgNr1, vigra_ext::PointPairT< VALUE >::imgNr2, vigra_ext::PointPairT< VALUE >::p1, vigra_ext::PointPairT< VALUE >::p2, vigra_ext::PointPairRGB, vigra_ext::PointPairT< VALUE >::r1, vigra_ext::PointPairT< VALUE >::r2, hugin_utils::roundi(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

void loadPointsC FILE *  f,
std::vector< PointPairRGB > &  vec
 

Definition at line 86 of file vig_optimize.cpp.

References vigra_ext::PointPairT< VALUE >::i1, vigra_ext::PointPairT< VALUE >::i2, vigra_ext::PointPairT< VALUE >::imgNr1, vigra_ext::PointPairT< VALUE >::imgNr2, vigra_ext::PointPairT< VALUE >::p1, vigra_ext::PointPairT< VALUE >::p2, vigra_ext::PointPairRGB, vigra_ext::PointPairT< VALUE >::r1, vigra_ext::PointPairT< VALUE >::r2, hugin_utils::roundi(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

Referenced by main().

int main int  argc,
char *  argv[]
 

Definition at line 157 of file vig_optimize.cpp.

References cerr, cout, fill_set(), AppBase::ProgressDisplay::finishSubtask(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), hugin_utils::getPathPrefix(), hasphotometricParams(), makefile::ifstream, loadImgsAndExtractPoints(), loadPointsC(), makefile::ofstream, HuginBase::Panorama::printPanoramaScript(), HuginBase::Panorama::readData(), HuginBase::Panorama::setFilePrefix(), AppBase::ProgressDisplay::startSubtask(), makefile::string, HuginBase::UIntSet, and usage().

void usage const char *  name  )  [static]
 

Definition at line 54 of file vig_optimize.cpp.

References cerr.


Generated on Tue Sep 2 01:25:47 2014 for Hugintrunk by  doxygen 1.3.9.1