oln::utils::histogram_max< T, CPT, V2P, Exact > Class Template Reference

#include <histogram.hh>

Inheritance diagram for oln::utils::histogram_max< T, CPT, V2P, Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::utils::histogram_max< T, CPT, V2P, Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef mlc::exact_vt< histogram_max<
T, CPT, V2P, Exact >, Exact
>::ret 
exact_type
typedef hist_traits< exact_type
>::value_type 
value_type
typedef hist_traits< exact_type
>::cpt_type 
cpt_type
typedef hist_traits< exact_type
>::value_to_point_type 
value_to_point_type
typedef hist_traits< exact_type
>::point_type 
point_type
typedef hist_traits< exact_type
>::img_type 
img_type
typedef histogram< T, CPT,
V2P, exact_type > 
upper_type
enum  { dim = hist_traits<exact_type>::dim }

Public Member Functions

 histogram_max (const value_to_point_type &v2p=value_to_point_type())
template<class I>  histogram_max (const oln::abstract::image< I > &input, const value_to_point_type &v2p=value_to_point_type())
const cpt_type at (const value_type &i) const
 operator[] should be called.

cpt_type & at (const value_type &i)
 operator[] should be called.

value_type max ()
 Quick function max.

value_type res ()
 Return the max.


Protected Member Functions

void adjust (const value_type &idx)
 Maintain the worst max.


Protected Attributes

value_type max_
 Index of the worst max element.


Detailed Description

template<typename T, typename CPT, class V2P, class Exact>
class oln::utils::histogram_max< T, CPT, V2P, Exact >

Build the histogram and has quick max function.

See also:
histogram_minmax

Definition at line 568 of file histogram.hh.


The documentation for this class was generated from the following file:
Generated on Thu Apr 15 20:17:25 2004 for Olena by doxygen 1.3.6-20040222