Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
vigra_ext::DitherFunctor< T > Struct Template Reference

Dither code taken from enblend and adapted to a standalone functor. More...

#include <VignettingCorrection.h>

Public Types

typedef T result_type
 

Public Member Functions

double dither (const double &v) const
 
dither (const T &v, vigra::VigraFalseType) const
 
dither (const T &v, vigra::VigraTrueType) const
 
operator() (const T &v) const
 

Public Attributes

std::mt19937 Twister
 

Detailed Description

template<class T>
struct vigra_ext::DitherFunctor< T >

Dither code taken from enblend and adapted to a standalone functor.

Definition at line 232 of file VignettingCorrection.h.

Member Typedef Documentation

template<class T >
typedef T vigra_ext::DitherFunctor< T >::result_type

Definition at line 236 of file VignettingCorrection.h.

Member Function Documentation

template<class T >
double vigra_ext::DitherFunctor< T >::dither ( const double &  v) const
inline
template<class T >
T vigra_ext::DitherFunctor< T >::dither ( const T &  v,
vigra::VigraFalseType   
) const
inline

Definition at line 262 of file VignettingCorrection.h.

References vigra_ext::DitherFunctor< T >::dither().

template<class T >
T vigra_ext::DitherFunctor< T >::dither ( const T &  v,
vigra::VigraTrueType   
) const
inline

Definition at line 272 of file VignettingCorrection.h.

References vigra_ext::DitherFunctor< T >::dither().

template<class T >
T vigra_ext::DitherFunctor< T >::operator() ( const T &  v) const
inline

Definition at line 277 of file VignettingCorrection.h.

References vigra_ext::DitherFunctor< T >::dither().

Member Data Documentation

template<class T >
std::mt19937 vigra_ext::DitherFunctor< T >::Twister

Definition at line 234 of file VignettingCorrection.h.

Referenced by vigra_ext::DitherFunctor< T >::dither().


The documentation for this struct was generated from the following file: