![]() |
aimsalgo
5.1.2
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 carto::rc_ptr< carto::Volume< T > > &thing) |
classical histogram computation function. More... | |
void | doit (const carto::rc_ptr< carto::Volume< T > > &thing, T mindataval, T maxdataval) |
unsigned | bins () const |
void | setBins (unsigned bins) |
T | minDataValue () const |
T | maxDataValue () const |
std::vector< T > * | unique (const carto::rc_ptr< carto::Volume< T > > &thing, size_t abort_max=0) const |
![]() | |
Histogram () | |
constructor. More... | |
Histogram (const Histogram< T > &other) | |
copy constructor. More... | |
virtual | ~Histogram () |
destructor. More... | |
carto::VolumeRef< int32_t > & | data () |
return a reference to the data field of the histogram class. More... | |
const carto::VolumeRef< int32_t > & | data () const |
return a constant reference to the data field of the histogram class. More... | |
int32_t * | beginValid () |
return the iterator to the first valid value of the histogram More... | |
int32_t * | endValid () |
return the iterator to the last valid value of the histogram More... | |
int32_t * | beginValid () const |
return the constant iterator to the first valid value of the histogram More... | |
int32_t * | endValid () const |
return the constant iterator to the last valid value of the histogram 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... | |
Additional Inherited Members | |
![]() | |
int | _nPoints |
total number of points More... | |
int | _minValid |
minimum used value More... | |
int | _maxValid |
maximum used value More... | |
carto::VolumeRef< 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 79 of file regularBinnedHisto.h.
|
inline |
Definition at line 86 of file regularBinnedHisto.h.
|
inlinevirtual |
Definition at line 56 of file regularBinnedHisto.h.
|
inline |
Definition at line 64 of file regularBinnedHisto.h.
|
inlinevirtual |
classical histogram computation function.
Reimplemented from Histogram< T >.
Definition at line 103 of file regularBinnedHisto.h.
Referenced by AimsEMThreshold< T, U >::processEMThresholds().
|
inline |
Definition at line 111 of file regularBinnedHisto.h.
References carto::NDIterator_base::ended(), carto::const_line_NDIterator< class >::inc_line_ptr(), and carto::const_line_NDIterator< class >::line_length().
|
inline |
Definition at line 67 of file regularBinnedHisto.h.
|
inline |
Definition at line 66 of file regularBinnedHisto.h.
|
inline |
Definition at line 95 of file regularBinnedHisto.h.
|
inline |
Definition at line 155 of file regularBinnedHisto.h.
References carto::NDIterator_base::ended(), carto::const_line_NDIterator< class >::inc_line_ptr(), and carto::const_line_NDIterator< class >::line_length().