vigra_ext::FindComponentsMinMax< VALUETYPE > Class Template Reference

#include <utils.h>

List of all members.

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

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

the functor's argument type

Definition at line 305 of file utils.h.

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

the functor's result type

Definition at line 307 of file utils.h.

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

Deprecated:
use argument_type

Definition at line 309 of file utils.h.


Constructor & Destructor Documentation

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

init min and max

Definition at line 312 of file utils.h.


Member Function Documentation

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

update min and max with components of RGBValue<VALUETYPE>

Definition at line 338 of file utils.h.

References vigra_ext::FindComponentsMinMax< VALUETYPE >::count, vigra_ext::getMaxComponent(), vigra_ext::getMinComponent(), vigra_ext::FindComponentsMinMax< VALUETYPE >::max, and vigra_ext::FindComponentsMinMax< VALUETYPE >::min.

template<class VALUETYPE>
void vigra_ext::FindComponentsMinMax< VALUETYPE >::operator() ( argument_type const &  v  )  [inline]

update min and max

Definition at line 322 of file utils.h.

References vigra_ext::FindComponentsMinMax< VALUETYPE >::count, vigra_ext::FindComponentsMinMax< VALUETYPE >::max, and vigra_ext::FindComponentsMinMax< VALUETYPE >::min.

template<class VALUETYPE>
void vigra_ext::FindComponentsMinMax< VALUETYPE >::reset (  )  [inline]

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

Definition at line 316 of file utils.h.

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


Member Data Documentation

template<class VALUETYPE>
unsigned int vigra_ext::FindComponentsMinMax< VALUETYPE >::count

the number of values processed so far

Definition at line 366 of file utils.h.

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

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

the current max

Definition at line 364 of file utils.h.

Referenced by loadImagesPyr(), vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()(), and OptimizePhotometricPanel::runOptimizer().

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

the current min

Definition at line 362 of file utils.h.

Referenced by loadImagesPyr(), vigra_ext::FindComponentsMinMax< VALUETYPE >::operator()(), and OptimizePhotometricPanel::runOptimizer().


The documentation for this class was generated from the following file:
Generated on 22 Jan 2018 for Hugintrunk by  doxygen 1.4.7