vigra_ext::ReduceToHDRFunctor< VALUETYPE > Class Template Reference

#include <HDRUtils.h>

List of all members.

Public Types

typedef VALUETYPE argument_type
typedef VALUETYPE first_argument_type
typedef VALUETYPE second_argument_type
typedef VALUETYPE result_type
typedef vigra::NumericTraits<
VALUETYPE > 
Traits
typedef Traits::RealPromote real_type

Public Member Functions

 ReduceToHDRFunctor ()
void reset ()
template<class T, class M>
void operator() (T const &v, M const &m)
real_type operator() () const
 return the result

Protected Attributes

real_type result
double weight
real_type maxValue
double maxComp
real_type minValue
double minComp
double maxW
double minW


Detailed Description

template<class VALUETYPE = vigra::RGBValue<float>>
class vigra_ext::ReduceToHDRFunctor< VALUETYPE >

Definition at line 36 of file HDRUtils.h.


Member Typedef Documentation

template<class VALUETYPE = vigra::RGBValue<float>>
typedef VALUETYPE vigra_ext::ReduceToHDRFunctor< VALUETYPE >::argument_type

Definition at line 39 of file HDRUtils.h.

template<class VALUETYPE = vigra::RGBValue<float>>
typedef VALUETYPE vigra_ext::ReduceToHDRFunctor< VALUETYPE >::first_argument_type

Definition at line 40 of file HDRUtils.h.

template<class VALUETYPE = vigra::RGBValue<float>>
typedef Traits::RealPromote vigra_ext::ReduceToHDRFunctor< VALUETYPE >::real_type

Definition at line 45 of file HDRUtils.h.

template<class VALUETYPE = vigra::RGBValue<float>>
typedef VALUETYPE vigra_ext::ReduceToHDRFunctor< VALUETYPE >::result_type

Definition at line 42 of file HDRUtils.h.

template<class VALUETYPE = vigra::RGBValue<float>>
typedef VALUETYPE vigra_ext::ReduceToHDRFunctor< VALUETYPE >::second_argument_type

Definition at line 41 of file HDRUtils.h.

template<class VALUETYPE = vigra::RGBValue<float>>
typedef vigra::NumericTraits<VALUETYPE> vigra_ext::ReduceToHDRFunctor< VALUETYPE >::Traits

Definition at line 44 of file HDRUtils.h.


Constructor & Destructor Documentation

template<class VALUETYPE = vigra::RGBValue<float>>
vigra_ext::ReduceToHDRFunctor< VALUETYPE >::ReduceToHDRFunctor (  )  [inline]

Definition at line 47 of file HDRUtils.h.

References vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset().


Member Function Documentation

template<class VALUETYPE = vigra::RGBValue<float>>
real_type vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator() (  )  const [inline]

return the result

Definition at line 102 of file HDRUtils.h.

References vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxValue, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxW, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minValue, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minW, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::result, and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::weight.

template<class VALUETYPE = vigra::RGBValue<float>>
template<class T, class M>
void vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator() ( T const &  v,
M const &  m 
) [inline]

Definition at line 65 of file HDRUtils.h.

References vigra_ext::getMaxComponent(), celeste::max(), vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxComp, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxValue, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxW, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minComp, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minValue, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minW, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::result, and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::weight.

template<class VALUETYPE = vigra::RGBValue<float>>
void vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset (  )  [inline]

Definition at line 52 of file HDRUtils.h.

References vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxComp, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxW, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minComp, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minW, vigra_ext::ReduceToHDRFunctor< VALUETYPE >::result, and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::weight.

Referenced by mergeWeightedAverage(), and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::ReduceToHDRFunctor().


Member Data Documentation

template<class VALUETYPE = vigra::RGBValue<float>>
double vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxComp [protected]

Definition at line 124 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()(), and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset().

template<class VALUETYPE = vigra::RGBValue<float>>
real_type vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxValue [protected]

Definition at line 123 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()().

template<class VALUETYPE = vigra::RGBValue<float>>
double vigra_ext::ReduceToHDRFunctor< VALUETYPE >::maxW [protected]

Definition at line 127 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()(), and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset().

template<class VALUETYPE = vigra::RGBValue<float>>
double vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minComp [protected]

Definition at line 126 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()(), and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset().

template<class VALUETYPE = vigra::RGBValue<float>>
real_type vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minValue [protected]

Definition at line 125 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()().

template<class VALUETYPE = vigra::RGBValue<float>>
double vigra_ext::ReduceToHDRFunctor< VALUETYPE >::minW [protected]

Definition at line 128 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()(), and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset().

template<class VALUETYPE = vigra::RGBValue<float>>
real_type vigra_ext::ReduceToHDRFunctor< VALUETYPE >::result [protected]

Definition at line 120 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()(), and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset().

template<class VALUETYPE = vigra::RGBValue<float>>
double vigra_ext::ReduceToHDRFunctor< VALUETYPE >::weight [protected]

Definition at line 121 of file HDRUtils.h.

Referenced by vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()(), and vigra_ext::ReduceToHDRFunctor< VALUETYPE >::reset().


The documentation for this class was generated from the following file:
Generated on 5 Dec 2014 for Hugintrunk by  doxygen 1.4.7