vigra_ext::ApplyGammaFunctor< TIn, TOut > Struct Template Reference

#include <utils.h>

List of all members.

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 523 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]

Definition at line 530 of file utils.h.

References vigra_ext::ApplyGammaFunctor< TIn, TOut >::gamma, vigra_ext::ApplyGammaFunctor< TIn, TOut >::maxv, vigra_ext::ApplyGammaFunctor< TIn, TOut >::minv, and vigra_ext::ApplyGammaFunctor< TIn, TOut >::scale.


Member Function Documentation

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

Definition at line 544 of file utils.h.

References vigra_ext::ApplyGammaFunctor< TIn, TOut >::gamma, vigra_ext::ApplyGammaFunctor< TIn, TOut >::minv, vigra_ext::pow(), and vigra_ext::ApplyGammaFunctor< TIn, TOut >::scale.

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

Definition at line 538 of file utils.h.

References vigra_ext::ApplyGammaFunctor< TIn, TOut >::gamma, vigra_ext::ApplyGammaFunctor< TIn, TOut >::minv, vigra_ext::pow(), and vigra_ext::ApplyGammaFunctor< TIn, TOut >::scale.


Member Data Documentation

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

Definition at line 527 of file utils.h.

Referenced by vigra_ext::ApplyGammaFunctor< TIn, TOut >::ApplyGammaFunctor(), and vigra_ext::ApplyGammaFunctor< TIn, TOut >::operator()().

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

Definition at line 526 of file utils.h.

Referenced by vigra_ext::ApplyGammaFunctor< TIn, TOut >::ApplyGammaFunctor().

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

Definition at line 525 of file utils.h.

Referenced by vigra_ext::ApplyGammaFunctor< TIn, TOut >::ApplyGammaFunctor(), and vigra_ext::ApplyGammaFunctor< TIn, TOut >::operator()().

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

Definition at line 528 of file utils.h.

Referenced by vigra_ext::ApplyGammaFunctor< vigra::UInt16, vigra::UInt8 >::ApplyGammaFunctor(), vigra_ext::ApplyGammaFunctor< TIn, TOut >::ApplyGammaFunctor(), and vigra_ext::ApplyGammaFunctor< TIn, TOut >::operator()().


The documentation for this struct was generated from the following file:
Generated on 26 Nov 2014 for Hugintrunk by  doxygen 1.4.7