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

#include <utils.h>

Public Member Functions

 ApplyGammaFunctor (TIn min_, TIn max_, float gamma_)
 
TOut operator() (TIn v) const
 
vigra::RGBValue< TOut > operator() (const vigra::RGBValue< TIn > &v) const
 

Public Attributes

float minv
 
float maxv
 
float gamma
 
float scale
 

Detailed Description

template<class TIn, class TOut = vigra::UInt8>
struct vigra_ext::ApplyGammaFunctor< TIn, TOut >

Definition at line 630 of file utils.h.

Constructor & Destructor Documentation

template<class TIn, class TOut = vigra::UInt8>
vigra_ext::ApplyGammaFunctor< TIn, TOut >::ApplyGammaFunctor ( TIn  min_,
TIn  max_,
float  gamma_ 
)
inline

Member Function Documentation

template<class TIn, class TOut = vigra::UInt8>
TOut vigra_ext::ApplyGammaFunctor< TIn, TOut >::operator() ( TIn  v) const
inline
template<class TIn, class TOut = vigra::UInt8>
vigra::RGBValue<TOut> vigra_ext::ApplyGammaFunctor< TIn, TOut >::operator() ( const vigra::RGBValue< TIn > &  v) const
inline

Member Data Documentation

template<class TIn, class TOut = vigra::UInt8>
float vigra_ext::ApplyGammaFunctor< TIn, TOut >::gamma
template<class TIn, class TOut = vigra::UInt8>
float vigra_ext::ApplyGammaFunctor< TIn, TOut >::maxv
template<class TIn, class TOut = vigra::UInt8>
float vigra_ext::ApplyGammaFunctor< TIn, TOut >::minv
template<class TIn, class TOut = vigra::UInt8>
float vigra_ext::ApplyGammaFunctor< TIn, TOut >::scale

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