Basic (non-template) 2-D histogram functions. More...
#include <cmtkJointHistogramBase.h>
Public Types | |
typedef JointHistogramBase | Self |
This class. | |
typedef SmartPointer< Self > | SmartPtr |
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. |
Basic (non-template) 2-D histogram functions.
Definition at line 49 of file cmtkJointHistogramBase.h.
This class.
Reimplemented in cmtk::JointHistogram< T >, cmtk::RegistrationJointHistogram< I >, cmtk::VoxelMatchingMutInf< I >, cmtk::VoxelMatchingNormMutInf< I >, cmtk::JointHistogram< int >, and cmtk::JointHistogram< unsigned int >.
Definition at line 53 of file cmtkJointHistogramBase.h.
Smart pointer.
Reimplemented in cmtk::JointHistogram< T >, cmtk::RegistrationJointHistogram< I >, cmtk::VoxelMatchingMutInf< I >, cmtk::VoxelMatchingNormMutInf< I >, cmtk::JointHistogram< int >, and cmtk::JointHistogram< unsigned int >.
Definition at line 56 of file cmtkJointHistogramBase.h.
size_t cmtk::JointHistogramBase::CalcNumBins | ( | const size_t | numberOfSamples, |
const Types::DataItemRange & | valueRange | ||
) | [static] |
Calculate optimum number of histogram bins.
numberOfSamples | Number of data values. |
valueRange | Range 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().