Hugintrunk
0.1
|
a simple test stitcher More...
#include <hugin_config.h>
#include <fstream>
#include <sstream>
#include <algorithms/optimizer/PhotometricOptimizer.h>
#include "ExtractPoints.h"
#include <getopt.h>
#include <hugin_basic.h>
#include <nona/Stitcher.h>
#include <tiff.h>
Go to the source code of this file.
Functions | |
static void | usage (const char *name) |
void | loadPointsC (FILE *f, std::vector< vigra_ext::PointPairRGB > &vec) |
void | loadPoints (std::istream &i, std::vector< vigra_ext::PointPairRGB > &vec) |
bool | hasphotometricParams (HuginBase::Panorama &pano) |
int | main (int argc, char *argv[]) |
a simple test stitcher
$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 vig_optimize.cpp.
bool hasphotometricParams | ( | HuginBase::Panorama & | pano | ) |
Definition at line 126 of file vig_optimize.cpp.
References HuginBase::Panorama::getOptimizeVector().
Referenced by main().
void loadPoints | ( | std::istream & | i, |
std::vector< vigra_ext::PointPairRGB > & | vec | ||
) |
Definition at line 100 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::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< vigra_ext::PointPairRGB > & | vec | ||
) |
Definition at line 69 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::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 145 of file vig_optimize.cpp.
References HuginBase::Panorama::getOptimizeVector(), hugin_utils::GetOutputFilename(), hugin_utils::getPathPrefix(), hasphotometricParams(), loadImgsAndExtractPoints(), loadPointsC(), HuginBase::Panorama::ReadPTOFile(), HuginBase::PanoramaAlgorithm::run(), AppBase::ProgressDisplay::setMessage(), hugin_utils::stripPath(), AppBase::ProgressDisplay::taskFinished(), usage(), and HuginBase::Panorama::WritePTOFile().
|
static |
Definition at line 39 of file vig_optimize.cpp.
References hugin_utils::GetHuginVersion().