[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

tools/fulla.cpp File Reference

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

#include <hugin_config.h>
#include <hugin_version.h>
#include <fstream>
#include <sstream>
#include <vigra/error.hxx>
#include <vigra/impex.hxx>
#include <exiv2/image.hpp>
#include <exiv2/exif.hpp>
#include <unistd.h>
#include <appbase/ProgressDisplayOld.h>
#include <nona/SpaceTransform.h>
#include <photometric/ResponseTransform.h>
#include <hugin_basic.h>
#include <lensdb/PTLensDB.h>
#include <tiffio.h>
#include <vigra_ext/MultiThreadOperations.h>
#include <vigra_ext/ImageTransforms.h>

Include dependency graph for fulla.cpp:

Include dependency graph

Functions

template<class SrcImgType, class FlatImgType, class DestImgType>
void correctImage (SrcImgType &srcImg, const FlatImgType &srcFlat, SrcPanoImage src, vigra_ext::Interpolator interpolator, DestImgType &destImg, bool doCrop, AppBase::MultiProgressDisplay &progress)
 remap a single image
template<class PIXELTYPE>
void correctRGB (SrcPanoImage &src, ImageImportInfo &info, const char *outfile, bool crop, const std::string &compression, AppBase::MultiProgressDisplay &progress)
bool getPTLensCoef (const char *fn, string cameraMaker, string cameraName, string lensName, float focalLength, vector< double > &coeff)
int main (int argc, char *argv[])

Detailed Description

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

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


Function Documentation

template<class SrcImgType, class FlatImgType, class DestImgType>
void correctImage SrcImgType &  srcImg,
const FlatImgType &  srcFlat,
SrcPanoImage  src,
vigra_ext::Interpolator  interpolator,
DestImgType &  destImg,
bool  doCrop,
AppBase::MultiProgressDisplay progress
 

remap a single image

Be careful, might modify srcImg (vignetting and brightness correction)

template<class PIXELTYPE>
void correctRGB SrcPanoImage src,
ImageImportInfo &  info,
const char *  outfile,
bool  crop,
const std::string &  compression,
AppBase::MultiProgressDisplay progress
 

bool getPTLensCoef const char *  fn,
string  cameraMaker,
string  cameraName,
string  lensName,
float  focalLength,
vector< double > &  coeff
 

int main int  argc,
char *  argv[]
 


Generated on Mon Sep 20 01:01:32 2010 for Hugintrunk by doxygen 1.3.9.1