vigra_ext::ApplyLogFunctor Struct Reference

#include <utils.h>

List of all members.

Public Member Functions

 ApplyLogFunctor (float min_, float max_)
template<class T>
unsigned char operator() (T v) const
template<class T, unsigned int R, unsigned int G, unsigned int B>
vigra::RGBValue< vigra::UInt8, 0, 1, 2 > operator() (const vigra::RGBValue< T, R, G, B > &v) const

Public Attributes

float minv
float maxv
float scale


Detailed Description

Definition at line 488 of file utils.h.


Constructor & Destructor Documentation

vigra_ext::ApplyLogFunctor::ApplyLogFunctor ( float  min_,
float  max_ 
) [inline]

Definition at line 494 of file utils.h.

References vigra_ext::log10(), maxv, minv, and scale.


Member Function Documentation

template<class T, unsigned int R, unsigned int G, unsigned int B>
vigra::RGBValue<vigra::UInt8,0,1,2> vigra_ext::ApplyLogFunctor::operator() ( const vigra::RGBValue< T, R, G, B > &  v  )  const [inline]

Definition at line 513 of file utils.h.

References vigra_ext::log10(), minv, and scale.

template<class T>
unsigned char vigra_ext::ApplyLogFunctor::operator() ( v  )  const [inline]

Definition at line 506 of file utils.h.

References vigra_ext::log10(), minv, and scale.


Member Data Documentation

float vigra_ext::ApplyLogFunctor::maxv

Definition at line 491 of file utils.h.

Referenced by ApplyLogFunctor().

float vigra_ext::ApplyLogFunctor::minv

Definition at line 490 of file utils.h.

Referenced by ApplyLogFunctor(), and operator()().

float vigra_ext::ApplyLogFunctor::scale

Definition at line 492 of file utils.h.

Referenced by ApplyLogFunctor(), and operator()().


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