Public Types | Static Public Member Functions

cmtk::JointHistogramBase Class Reference
[cmtkBase Library]

Basic (non-template) 2-D histogram functions. More...

#include <cmtkJointHistogramBase.h>

Inheritance diagram for cmtk::JointHistogramBase:
Inheritance graph
[legend]

List of all members.

Public Types

typedef JointHistogramBase Self
 This class.
typedef SmartPointer< SelfSmartPtr
 Smart pointer.

Static Public Member Functions

static size_t CalcNumBins (const size_t numberOfSamples, const Types::DataItemRange &valueRange)
 Calculate optimum number of histogram bins.
static size_t CalcNumBins (const UniformVolume *volume)
 Calculate optimum number of histogram bins for given volume.

Detailed Description

Basic (non-template) 2-D histogram functions.

Definition at line 49 of file cmtkJointHistogramBase.h.


Member Typedef Documentation


Member Function Documentation

size_t cmtk::JointHistogramBase::CalcNumBins ( const size_t  numberOfSamples,
const Types::DataItemRange valueRange 
) [static]

Calculate optimum number of histogram bins.

Parameters:
numberOfSamplesNumber of data values.
valueRangeRange of values in the data.

Definition at line 37 of file cmtkJointHistogramBase.cxx.

References cmtk::Types::Range< T >::Width().

Referenced by CalcNumBins().

size_t cmtk::JointHistogramBase::CalcNumBins ( const UniformVolume volume ) [static]

Calculate optimum number of histogram bins for given volume.

Definition at line 46 of file cmtkJointHistogramBase.cxx.

References CalcNumBins(), and cmtk::DataGrid::GetCropRegionNumVoxels().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines