Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
vigra_ext::ApplyLogFunctor Struct Reference

#include <utils.h>

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 595 of file utils.h.

Constructor & Destructor Documentation

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

Definition at line 601 of file utils.h.

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

Member Function Documentation

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

Definition at line 613 of file utils.h.

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

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 620 of file utils.h.

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

Member Data Documentation

float vigra_ext::ApplyLogFunctor::maxv

Definition at line 598 of file utils.h.

Referenced by ApplyLogFunctor().

float vigra_ext::ApplyLogFunctor::minv

Definition at line 597 of file utils.h.

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

float vigra_ext::ApplyLogFunctor::scale

Definition at line 599 of file utils.h.

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


The documentation for this struct was generated from the following file: