#include <histogram.hh>
Inheritance diagram for oln::utils::histogram_max< T, CPT, V2P, Exact >:
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. |
Definition at line 568 of file histogram.hh.