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]


Detailed Description

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

Definition at line 554 of file utils.h.


Constructor & Destructor 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(), hugin_utils::roundi(), and vigra_ext::ApplyGammaFunctor< TIn, TOut >::scale.


Member Function Documentation

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 30 Oct 2014 for Hugintrunk by  doxygen 1.4.7