aimsalgo  5.0.5
Neuroimaging image processing
CumulatedHistogram< T > Class Template Reference

#include <aims/histogram/cumulated.h>

Inheritance diagram for CumulatedHistogram< T >:
Collaboration diagram for CumulatedHistogram< T >:

Public Member Functions

 CumulatedHistogram ()
 Constructors and destructor. More...
 
 CumulatedHistogram (const CumulatedHistogram< T > &other)
 copy constructor More...
 
virtual ~CumulatedHistogram ()
 destructor More...
 
Cumulated histogram computation
void doit (const AimsData< T > &thing)
 computation from an AimsData More...
 
void doit (const SimpleHistogram< T > &thing)
 computation from an already computed classical histogram More...
 
Cumulated histogram container class.
int valueForPercentage (float)
 return the bin value for a given percentage More...
 
- Public Member Functions inherited from Histogram< T >
int minValid () const
 return the minimum valid (used) value of the histogram More...
 
int maxValid () const
 returnn the maximum valid (used) value of the histogram More...
 
int totalPoints () const
 return the total number of points in the histogram More...
 
 Histogram ()
 constructor. More...
 
 Histogram (const Histogram< T > &other)
 copy constructor. More...
 
virtual ~Histogram ()
 destructor. More...
 
AimsData< int32_t > & data ()
 return a reference to the data field of the histogram class. More...
 
const AimsData< int32_t > & data () const
 return a constant reference to the data field of the histogram class. More...
 
AimsData< int32_t >::iterator beginValid ()
 return the iterator to the first valid value of the histogram More...
 
AimsData< int32_t >::iterator endValid ()
 return the iterator to the last valid value of the histogram More...
 
AimsData< int32_t >::const_iterator beginValid () const
 return the constant iterator to the first valid value of the histogram More...
 
AimsData< int32_t >::const_iterator endValid () const
 return the constant iterator to the last valid value of the histogram More...
 

Additional Inherited Members

- Protected Attributes inherited from Histogram< T >
int _nPoints
 total number of points More...
 
int _minValid
 minimum used value More...
 
int _maxValid
 maximum used value More...
 
AimsData< int32_t > _data
 histogram datas More...
 

Detailed Description

template<class T>
class CumulatedHistogram< T >

Definition at line 42 of file cumulated.h.

Constructor & Destructor Documentation

◆ CumulatedHistogram() [1/2]

template<class T>
CumulatedHistogram< T >::CumulatedHistogram ( )
inline

Constructors and destructor.

constructor

Definition at line 49 of file cumulated.h.

◆ CumulatedHistogram() [2/2]

template<class T>
CumulatedHistogram< T >::CumulatedHistogram ( const CumulatedHistogram< T > &  other)
inline

copy constructor

Definition at line 51 of file cumulated.h.

◆ ~CumulatedHistogram()

template<class T>
virtual CumulatedHistogram< T >::~CumulatedHistogram ( )
inlinevirtual

destructor

Definition at line 54 of file cumulated.h.

References CumulatedHistogram< T >::doit(), and CumulatedHistogram< T >::valueForPercentage().

Member Function Documentation

◆ doit() [1/2]

template<class T >
void CumulatedHistogram< T >::doit ( const AimsData< T > &  thing)
inlinevirtual

computation from an AimsData

Reimplemented from Histogram< T >.

Definition at line 72 of file cumulated.h.

References SimpleHistogram< T >::doit().

Referenced by CumulatedHistogram< T >::~CumulatedHistogram().

◆ doit() [2/2]

◆ valueForPercentage()

template<class T >
int CumulatedHistogram< T >::valueForPercentage ( float  percent)
inline

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