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

a tool to perform distortion, vignetting and chromatic abberation correction. More...

#include <hugin_config.h>
#include <fstream>
#include <sstream>
#include <vigra/error.hxx>
#include <vigra/impex.hxx>
#include <vigra/codec.hxx>
#include <vigra_ext/impexalpha.hxx>
#include <getopt.h>
#include <appbase/ProgressDisplay.h>
#include <nona/SpaceTransform.h>
#include <photometric/ResponseTransform.h>
#include <hugin_basic.h>
#include <lensdb/LensDB.h>
#include <tiffio.h>
#include <vigra_ext/ImageTransforms.h>
Include dependency graph for fulla.cpp:

Go to the source code of this file.

Classes

class  NullTransform
 

Functions

template<class SrcImgType , class AlphaImgType , class FlatImgType , class DestImgType >
void correctImage (SrcImgType &srcImg, const AlphaImgType &srcAlpha, const FlatImgType &srcFlat, HuginBase::SrcPanoImage src, vigra_ext::Interpolator interpolator, double maxValue, DestImgType &destImg, AlphaImgType &destAlpha, bool doCrop, AppBase::ProgressDisplay *progress)
 
template<class PIXELTYPE >
void correctRGB (HuginBase::SrcPanoImage &src, vigra::ImageImportInfo &info, const char *outfile, bool crop, const std::string &compression, AppBase::ProgressDisplay *progress)
 
static void usage (const char *name)
 
int main (int argc, char *argv[])
 
template<class SrcImgType , class AlphaImgType , class FlatImgType , class DestImgType >
void correctImage (SrcImgType &srcImg, const AlphaImgType &srcAlpha, FlatImgType &srcFlat, HuginBase::SrcPanoImage src, vigra_ext::Interpolator interpolator, double maxValue, DestImgType &destImg, AlphaImgType &destAlpha, bool doCrop, AppBase::ProgressDisplay *progress)
 remap a single image More...
 

Detailed Description

a tool to perform distortion, vignetting and chromatic abberation correction.

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 fulla.cpp.

Function Documentation

template<class SrcImgType , class AlphaImgType , class FlatImgType , class DestImgType >
void correctImage ( SrcImgType &  srcImg,
const AlphaImgType &  srcAlpha,
const FlatImgType &  srcFlat,
HuginBase::SrcPanoImage  src,
vigra_ext::Interpolator  interpolator,
double  maxValue,
DestImgType &  destImg,
AlphaImgType &  destAlpha,
bool  doCrop,
AppBase::ProgressDisplay progress 
)

Referenced by correctRGB().

template<class SrcImgType , class AlphaImgType , class FlatImgType , class DestImgType >
void correctImage ( SrcImgType &  srcImg,
const AlphaImgType &  srcAlpha,
FlatImgType &  srcFlat,
HuginBase::SrcPanoImage  src,
vigra_ext::Interpolator  interpolator,
double  maxValue,
DestImgType &  destImg,
AlphaImgType &  destAlpha,
bool  doCrop,
AppBase::ProgressDisplay progress 
)
template<class PIXELTYPE >
void correctRGB ( HuginBase::SrcPanoImage src,
vigra::ImageImportInfo &  info,
const char *  outfile,
bool  crop,
const std::string &  compression,
AppBase::ProgressDisplay progress 
)
int main ( int  argc,
char *  argv[] 
)
static void usage ( const char *  name)
static

Definition at line 63 of file fulla.cpp.

References hugin_utils::GetHuginVersion().