align_image_stack.cpp File Reference
program to align a set of well overlapping images (~90%) More...
#include <hugin_config.h>
#include <hugin_version.h>
#include <fstream>
#include <sstream>
#include <vigra/error.hxx>
#include <vigra/impex.hxx>
#include <vigra/cornerdetection.hxx>
#include <vigra/localminmax.hxx>
#include <hugin_utils/utils.h>
#include <vigra_ext/Pyramid.h>
#include <vigra_ext/Correlation.h>
#include <vigra_ext/InterestPoints.h>
#include <panodata/Panorama.h>
#include <panotools/PanoToolsOptimizerWrapper.h>
#include <panodata/StandardImageVariableGroups.h>
#include <algorithms/optimizer/PTOptimizer.h>
#include <nona/Stitcher.h>
#include <algorithms/basic/CalculateOptimalROI.h>
#include <unistd.h>
#include <tiff.h>
Include dependency graph for align_image_stack.cpp:
Go to the source code of this file.
|
Classes |
| struct | Parameters |
Functions |
| void | usage (const char *name) |
| template<class ImageType> |
| void | createCtrlPoints (Panorama &pano, int img1, const ImageType &leftImg, const ImageType &leftImgOrig, int img2, const ImageType &rightImg, const ImageType &rightImgOrig, int pyrLevel, double scale, unsigned nPoints, unsigned grid, bool stereo=false) |
| void | alignStereoWindow (Panorama &pano, bool pop_out) |
| void | autoCrop (Panorama &pano) |
| template<class PixelType> |
| int | main2 (std::vector< std::string > files, Parameters param) |
| int | main (int argc, char *argv[]) |
Variables |
| int | g_verbose = 0 |
Detailed Description
program to align a set of well overlapping images (~90%)
- Author:
- Pablo d'Angelo <pablo.dangelo@web.de>
- Id
- align_image_stack.cpp 2493 2007-10-24 20:26:26Z dangelo
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 align_image_stack.cpp.
Function Documentation
| void alignStereoWindow |
( |
Panorama & |
pano, |
|
|
bool |
pop_out |
|
) |
|
|
|
template<class ImageType> |
| void createCtrlPoints |
( |
Panorama & |
pano, |
|
|
int |
img1, |
|
|
const ImageType & |
leftImg, |
|
|
const ImageType & |
leftImgOrig, |
|
|
int |
img2, |
|
|
const ImageType & |
rightImg, |
|
|
const ImageType & |
rightImgOrig, |
|
|
int |
pyrLevel, |
|
|
double |
scale, |
|
|
unsigned |
nPoints, |
|
|
unsigned |
grid, |
|
|
bool |
stereo = false |
|
) |
|
|
|
|
Definition at line 160 of file align_image_stack.cpp.
References HuginBase::Panorama::addCtrlPoint(), cout, vigra_ext::CorrelationResult::curv, DEBUG_DEBUG, vigra_ext::findInterestPointsOnGrid(), g_verbose, vigra_ext::CorrelationResult::maxi, vigra_ext::CorrelationResult::maxpos, vigra_ext::PointFineTune(), vigra_ext::srcImageRange(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. |
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
|
|
|
|
Definition at line 724 of file align_image_stack.cpp.
References Parameters::alignedPrefix, cerr, Parameters::cpErrorThreshold, Parameters::crop, Parameters::fisheye, g_verbose, Parameters::grid, Parameters::hdrFile, Parameters::hfov, Parameters::linear, Parameters::nPoints, Parameters::optCenter, Parameters::optDistortion, Parameters::optHFOV, Parameters::optX, Parameters::optY, Parameters::optZ, Parameters::pop_out, Parameters::ptoFile, Parameters::pyrLevel, Parameters::stereo, Parameters::stereo_window, and usage(). |
|
|
Definition at line 435 of file align_image_stack.cpp.
References HuginBase::Panorama::addImage(), Parameters::alignedPrefix, alignStereoWindow(), autoCrop(), cerr, cout, Parameters::cpErrorThreshold, HuginBase::CPVector, createCtrlPoints(), Parameters::crop, vigra_ext::destImage(), Parameters::fisheye, g_verbose, HuginBase::Panorama::getActiveImages(), HuginBase::Panorama::getCtrlPoints(), HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HuginBase::Panorama::getSrcImage(), Parameters::grid, Parameters::hdrFile, Parameters::hfov, HuginBase::PanoramaOptions::huberSigma, ImageType, vigra::importImageAlpha(), Parameters::linear, HuginBase::Panorama::linkImageVariableStack(), Parameters::nPoints, Parameters::optCenter, Parameters::optDistortion, Parameters::optHFOV, HuginBase::PTools::optimize(), HuginBase::OptimizeVector, Parameters::optX, Parameters::optY, Parameters::optZ, HuginBase::PanoramaOptions::outfile, HuginBase::PanoramaOptions::outputExposureValue, HuginBase::PanoramaOptions::outputFormat, HuginBase::PanoramaOptions::outputMode, HuginBase::PanoramaOptions::outputPixelType, Parameters::pop_out, HuginBase::Panorama::printPanoramaScript(), Parameters::ptoFile, Parameters::pyrLevel, HuginBase::SrcPanoImage::readEXIF(), vigra_ext::reduceNTimes(), HuginBase::Panorama::setCtrlPoints(), HuginBase::BaseSrcPanoImage::setExposureValue(), HuginBase::BaseSrcPanoImage::setFilename(), HuginBase::PanoramaOptions::setHeight(), HuginBase::PanoramaOptions::setHFOV(), HuginBase::BaseSrcPanoImage::setHFOV(), HuginBase::Panorama::setOptimizeVector(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::setProjection(), HuginBase::BaseSrcPanoImage::setProjection(), HuginBase::BaseSrcPanoImage::setResponseType(), HuginBase::BaseSrcPanoImage::setRoll(), HuginBase::Panorama::setSrcImage(), HuginBase::PanoramaOptions::setWidth(), Parameters::stereo, Parameters::stereo_window, HuginBase::Nona::stitchPanorama(), HuginBase::ImageVariableGroup::switchParts(), HuginBase::PanoramaOptions::tiff_saveROI, HuginBase::UIntSet, HuginBase::Panorama::unlinkImageVariableHFOV(), HuginBase::Panorama::unlinkImageVariableRadialDistortion(), HuginBase::Panorama::unlinkImageVariableRadialDistortionCenterShift(), and HuginBase::StandardImageVariableGroups::update(). |
| void usage |
( |
const char * |
name |
) |
[static] |
|
Variable Documentation
Generated on Mon May 20 01:25:45 2013 for Hugintrunk by
1.3.9.1