![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
Histogram container class, with a specified number of regular bins. More...
#include <aims/histogram/regularBinnedHisto.h>
Public Member Functions | |
RegularBinnedHistogram (unsigned bins=0) | |
RegularBinnedHistogram (const RegularBinnedHistogram< T > &other) | |
virtual | ~RegularBinnedHistogram () |
void | doit (const AimsData< T > &thing) |
classical histogram computation function. More... | |
void | doit (const AimsData< T > &thing, T mindataval, T maxdataval) |
unsigned | bins () const |
void | setBins (unsigned bins) |
T | minDataValue () const |
T | maxDataValue () const |
std::vector< T > * | unique (const AimsData< T > &thing, size_t abort_max=0) const |
![]() | |
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... | |
Histogram container class, with a specified number of regular bins.
Definition at line 50 of file regularBinnedHisto.h.
|
inline |
Definition at line 78 of file regularBinnedHisto.h.
|
inline |
Definition at line 85 of file regularBinnedHisto.h.
|
inlinevirtual |
Definition at line 56 of file regularBinnedHisto.h.
References aims::RegularBinnedHistogram< T >::doit().
|
inline |
Definition at line 63 of file regularBinnedHisto.h.
References aims::RegularBinnedHistogram< T >::setBins().
Referenced by aims::RegularBinnedHistogram< T >::setBins().
|
inlinevirtual |
classical histogram computation function.
Reimplemented from Histogram< T >.
Definition at line 102 of file regularBinnedHisto.h.
References AimsData< T >::maximum(), and AimsData< T >::minimum().
Referenced by AimsEMThreshold< T, U >::processEMThresholds(), and aims::RegularBinnedHistogram< T >::~RegularBinnedHistogram().
|
inline |
Definition at line 109 of file regularBinnedHisto.h.
References Histogram< T >::_data, AimsData< T >::dimT(), AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::dimZ(), AimsData< T >::end(), and nt.
|
inline |
Definition at line 66 of file regularBinnedHisto.h.
References aims::RegularBinnedHistogram< T >::unique().
|
inline |
Definition at line 65 of file regularBinnedHisto.h.
|
inline |
Definition at line 94 of file regularBinnedHisto.h.
References Histogram< T >::_data, and aims::RegularBinnedHistogram< T >::bins().
Referenced by aims::RegularBinnedHistogram< T >::bins().
|
inline |
Definition at line 152 of file regularBinnedHisto.h.
References AimsData< T >::begin(), and AimsData< T >::end().
Referenced by aims::RegularBinnedHistogram< T >::maxDataValue().