vigra_ext::ApplyGammaFunctor< vigra::UInt16, vigra::UInt8 > Struct Template Reference

#include <utils.h>

List of all members.

Public Member Functions

 ApplyGammaFunctor (vigra::UInt16 min, vigra::UInt16 max, float gamma)
vigra::UInt8 operator() (vigra::UInt16 v) const
vigra::RGBValue< vigra::UInt8 > operator() (const vigra::RGBValue< vigra::UInt16 > &v) const

Public Attributes

vigra::UInt8 lut [65536]

template<>
struct vigra_ext::ApplyGammaFunctor< vigra::UInt16, vigra::UInt8 >


Member Function Documentation

vigra_ext::ApplyGammaFunctor< vigra::UInt16, vigra::UInt8 >::ApplyGammaFunctor vigra::UInt16  min,
vigra::UInt16  max,
float  gamma
[inline]
 

Definition at line 558 of file utils.h.

References vigra_ext::pow(), and hugin_utils::roundi().

vigra::RGBValue<vigra::UInt8> vigra_ext::ApplyGammaFunctor< vigra::UInt16, vigra::UInt8 >::operator() const vigra::RGBValue< vigra::UInt16 > &  v  )  const [inline]
 

Definition at line 571 of file utils.h.

vigra::UInt8 vigra_ext::ApplyGammaFunctor< vigra::UInt16, vigra::UInt8 >::operator() vigra::UInt16  v  )  const [inline]
 

Definition at line 566 of file utils.h.


Member Data Documentation

vigra::UInt8 vigra_ext::ApplyGammaFunctor< vigra::UInt16, vigra::UInt8 >::lut[65536]
 

Definition at line 556 of file utils.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 23 01:26:02 2014 for Hugintrunk by  doxygen 1.3.9.1