Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
VignettingCorrection.h File Reference
#include <vector>
#include <functional>
#include "hugin_config.h"
#include <vigra/stdimage.hxx>
#include <vigra/transformimage.hxx>
#include <vigra/inspectimage.hxx>
#include <vigra/combineimages.hxx>
#include <vigra/functorexpression.hxx>
#include <vigra_ext/utils.h>
#include <random>
Include dependency graph for VignettingCorrection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vigra_ext::VigCorrFlatDivFunctor< VT1, VT2, InvResp, Adjust >
 
class  vigra_ext::VigCorrDivFunctor< VT1, InvResp, VigFunc, Adjust >
 
class  vigra_ext::VigCorrFlatAddFunctor< VT1, VT2, InvResp, Adjust >
 
class  vigra_ext::VigCorrAddFunctor< VT1, InvResp, VigFunc, Adjust >
 
struct  vigra_ext::PolySqDistFunctor< NTERMS >
 
struct  vigra_ext::DitherFunctor< T >
 Dither code taken from enblend and adapted to a standalone functor. More...
 
struct  vigra_ext::GammaFunctor
 
struct  vigra_ext::LinearTransformFunctor< PT >
 Calculate ret = p * a + b. More...
 

Namespaces

 vigra_ext
 

Functions

bool vigra_ext::isTrueType (vigra::VigraFalseType)
 
bool vigra_ext::isTrueType (vigra::VigraTrueType)
 
template<class T >
bool vigra_ext::ditheringNeeded (T const &)
 
template<class SrcImageIterator , class SrcAccessor , class DestImageIterator , class DestAccessor , class Functor >
void vigra_ext::applyRadialVigCorrection (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > src, vigra::pair< DestImageIterator, DestAccessor > dest, double cx, double cy, Functor const &f)
 
template<class SrcImageIterator , class SrcAccessor , class DestImageIterator , class DestAccessor , class Functor >
void vigra_ext::applyRadialVigCorrection (SrcImageIterator src_upperleft, SrcImageIterator src_lowerright, SrcAccessor sa, DestImageIterator dest_upperleft, DestAccessor da, double cx, double cy, Functor const &f)
 
template<class SrcImageIterator , class SrcAccessor , class DestImageIterator , class DestAccessor , class Functor >
void vigra_ext::applyRadialVigCorrectionDither (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > src, vigra::pair< DestImageIterator, DestAccessor > dest, double cx, double cy, Functor const &f, bool dither)
 Apply flatfield correction with dithering. More...
 
template<class ImgIter , class ImgAccessor , class FFIter , class FFAccessor , class DestIter , class DestAccessor , class Functor >
void vigra_ext::combineTwoImagesDither (vigra::triple< ImgIter, ImgIter, ImgAccessor > srcImg, vigra::pair< FFIter, FFAccessor > ffImg, vigra::pair< DestIter, DestAccessor > destImg, Functor const &f, bool dither)
 Apply combine two images. More...
 
template<class ImgIter , class ImgAccessor , class FFIter , class FFAccessor , class DestIter , class DestAccessor >
void vigra_ext::flatfieldVigCorrection (vigra::triple< ImgIter, ImgIter, ImgAccessor > srcImg, vigra::pair< FFIter, FFAccessor > ffImg, vigra::pair< DestIter, DestAccessor > destImg, double gamma, double gammaMaxVal, bool division, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote a, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote b, bool dither)
 
template<class ImgIter , class ImgAccessor , class DestIter , class DestAccessor >
void vigra_ext::radialVigCorrection (vigra::triple< ImgIter, ImgIter, ImgAccessor > srcImg, vigra::pair< DestIter, DestAccessor > destImg, double gamma, double gammaMaxVal, const std::vector< double > &radCoeff, hugin_utils::FDiff2D center, bool division, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote a, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote b, bool dither)
 
template<class ImgIter , class ImgAccessor , class DestIter , class DestAccessor >
void vigra_ext::applyBrightnessCorrection (vigra::triple< ImgIter, ImgIter, ImgAccessor > srcImg, vigra::pair< DestIter, DestAccessor > destImg, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote a, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote b)
 
template<class ImgIter , class ImgAccessor , class DestIter , class DestAccessor >
void vigra_ext::applyGammaAndBrightCorrection (vigra::triple< ImgIter, ImgIter, ImgAccessor > srcImg, vigra::pair< DestIter, DestAccessor > destImg, double gamma, double maxGVal, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote a, typename vigra::NumericTraits< typename ImgAccessor::value_type >::RealPromote b)
 
template<class ImgIter , class ImgAccessor , class DestIter , class DestAccessor >
void vigra_ext::applyGammaCorrection (vigra::triple< ImgIter, ImgIter, ImgAccessor > srcImg, vigra::pair< DestIter, DestAccessor > destImg, double gamma, double maxGVal)
 

Detailed Description

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de

$Id$

This 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 Lesser 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 VignettingCorrection.h.