Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
vigra_ext::FindComponentsMinMax< VALUETYPE > Class Template Reference

#include <utils.h>

Public Types

typedef VALUETYPE argument_type
 the functor's argument type
 
typedef VALUETYPE result_type
 the functor's result type
 
typedef VALUETYPE value_type
 

Public Member Functions

 FindComponentsMinMax ()
 init min and max
 
void reset ()
 (re-)init functor (clear min, max)

 
void operator() (argument_type const &v)
 update min and max
 
void operator() (vigra::RGBValue< VALUETYPE > const &v)
 update min and max with components of RGBValue<VALUETYPE>
 

Public Attributes

VALUETYPE min
 the current min
 
VALUETYPE max
 the current max
 
unsigned int count
 the number of values processed so far
 

Detailed Description

template<class VALUETYPE>
class vigra_ext::FindComponentsMinMax< VALUETYPE >

Definition at line 301 of file utils.h.

Member Typedef Documentation

◆ argument_type

the functor's argument type

Definition at line 305 of file utils.h.

◆ result_type

the functor's result type

Definition at line 307 of file utils.h.

◆ value_type

Deprecated:
use argument_type

Definition at line 309 of file utils.h.

Constructor & Destructor Documentation

◆ FindComponentsMinMax()

template<class VALUETYPE >
vigra_ext::FindComponentsMinMax< VALUETYPE >::FindComponentsMinMax ( )
inline

init min and max

Definition at line 312 of file utils.h.

Member Function Documentation

◆ operator()() [1/2]

◆ operator()() [2/2]

template<class VALUETYPE >
void vigra_ext::FindComponentsMinMax< VALUETYPE >::operator() ( vigra::RGBValue< VALUETYPE > const v)
inline

◆ reset()

(re-)init functor (clear min, max)

Definition at line 316 of file utils.h.

References vigra_ext::FindComponentsMinMax< VALUETYPE >::count.

Member Data Documentation

◆ count

◆ max

◆ min


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