![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
#include <aims/histogram/cumulated.h>
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... | |
![]() | |
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 | |
![]() | |
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... | |
Definition at line 42 of file cumulated.h.
|
inline |
|
inline |
copy constructor
Definition at line 51 of file cumulated.h.
|
inlinevirtual |
destructor
Definition at line 54 of file cumulated.h.
References CumulatedHistogram< T >::doit(), and CumulatedHistogram< T >::valueForPercentage().
|
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().
|
inline |
computation from an already computed classical histogram
Definition at line 82 of file cumulated.h.
References Histogram< T >::_data, Histogram< T >::_maxValid, Histogram< T >::_minValid, Histogram< T >::_nPoints, AimsData< T >::begin(), AimsData< int32_t >::begin(), Histogram< T >::data(), AimsData< int32_t >::dimX(), AimsData< int32_t >::end(), Histogram< T >::maxValid(), Histogram< T >::minValid(), and Histogram< T >::totalPoints().
|
inline |
return the bin value for a given percentage
Definition at line 102 of file cumulated.h.
References Histogram< T >::_data, Histogram< T >::_minValid, Histogram< T >::_nPoints, AimsData< int32_t >::begin(), and AimsData< int32_t >::end().
Referenced by CumulatedHistogram< T >::~CumulatedHistogram().