aimsalgo  5.1.2
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 carto::rc_ptr< carto::Volume< T > > &thing)
 computation from a Volume More...
 
void doit (const SimpleHistogram< T > &thing)
 computation from an already computed classical histogram More...
 
int valueForPercentage (float)
 return the bin value for a given percentage More...
 
- Public Member Functions inherited from Histogram< T >
 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

- 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...
 
carto::VolumeRef< 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.

Member Function Documentation

◆ doit() [1/2]

template<class T >
void CumulatedHistogram< T >::doit ( const carto::rc_ptr< carto::Volume< T > > &  thing)
inlinevirtual

computation from a Volume

Reimplemented from Histogram< T >.

Definition at line 72 of file cumulated.h.

References SimpleHistogram< T >::doit().

◆ doit() [2/2]

template<class T >
void CumulatedHistogram< T >::doit ( const SimpleHistogram< T > &  thing)
inline

◆ valueForPercentage()

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

return the bin value for a given percentage

Definition at line 105 of file cumulated.h.


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