Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Static Private Member Functions

cmtk::CongealingFunctional< TXform > Class Template Reference
[cmtkRegistration Library]

Functional base class for groupwise congealing registration. More...

#include <cmtkCongealingFunctional.h>

Inheritance diagram for cmtk::CongealingFunctional< TXform >:
Inheritance graph
[legend]
Collaboration diagram for cmtk::CongealingFunctional< TXform >:
Collaboration graph
[legend]

List of all members.

Classes

class  EvaluateThreadParameters
 Thread parameter for entropy evaluation. More...

Public Types

typedef
GroupwiseRegistrationFunctionalXformTemplate
< TXform > 
Superclass
 Type of parent class.
typedef CongealingFunctional
< TXform > 
Self
 Type of this class.
typedef SmartPointer< SelfSmartPtr
 Smart pointer.
typedef TXform XformType
 Transformation type.
typedef XformType::SmartPtr XformPointer
 Smart pointer to transformation type.
typedef unsigned int HistogramBinType
 Base type for histogram bins.
typedef Histogram
< HistogramBinType
HistogramType
 Histogram type.

Public Member Functions

 CongealingFunctional ()
 Constructor.
virtual ~CongealingFunctional ()
 Destructor.
virtual void SetNumberOfHistogramBins (const size_t numberOfHistogramBins)
 Set number of histogram bins.
virtual void SetTemplateGrid (UniformVolume::SmartPtr &templateGrid, const int downsample=1, const bool useTemplateData=false)
 Set template grid.
virtual Self::ReturnType Evaluate ()
 Evaluate functional with currently set parameters.

Protected Member Functions

virtual void UpdateStandardDeviationByPixel ()
 Update standard deviation by pixel.
void CreateGaussianKernels ()
 Create Gaussian kernels for samples in histogram.
virtual bool Wiggle ()
 Update probabilistic sample table..

Protected Attributes

std::vector< bytem_StandardDeviationByPixel
 Standard deviation over all images by pixel.
bool m_NeedsUpdateStandardDeviationByPixel
 Flag whether standard deviations by pixel need updating.
std::vector< HistogramBinType * > m_HistogramKernel
 Histogram sample kernels.
std::vector< size_t > m_HistogramKernelRadius
 Radius of histogram sample kernel.
std::vector< HistogramTypem_ThreadHistograms
 Histograms for computation threads.

Private Types

typedef ThreadParameters< SelfThreadParametersType
 Thread parameters with no further data.

Static Private Member Functions

static void UpdateStandardDeviationByPixelThreadFunc (void *const args, const size_t taskIdx, const size_t taskCnt, const size_t, const size_t)
 Thread function to update standard dedviations by pixel.
static void EvaluateThread (void *const args, const size_t taskIdx, const size_t taskCnt, const size_t threadIdx, const size_t threadCnt)
 Evaluate functional with currently set parameters.
static void EvaluateProbabilisticThread (void *const args, const size_t taskIdx, const size_t taskCnt, const size_t threadIdx, const size_t threadCnt)
 Evaluate functional with currently set parameters with probabilistic sampling.

Detailed Description

template<class TXform>
class cmtk::CongealingFunctional< TXform >

Functional base class for groupwise congealing registration.

This functional evaluates Lilla Zollei's entropy criterion for massively groupwise image registration.

References

[1] L . Zoellei, E. Learned-Miller, E. Grimson, W.M. Wells III: "Efficient Population Registration of 3D Data", ICCV 2005, Computer Vision for Biomedical Image Applications; Beijing, China

Definition at line 67 of file cmtkCongealingFunctional.h.


Member Typedef Documentation

template<class TXform>
typedef unsigned int cmtk::CongealingFunctional< TXform >::HistogramBinType

Base type for histogram bins.

Definition at line 88 of file cmtkCongealingFunctional.h.

template<class TXform>
typedef Histogram<HistogramBinType> cmtk::CongealingFunctional< TXform >::HistogramType

Histogram type.

Reimplemented in cmtk::SplineWarpCongealingFunctional.

Definition at line 91 of file cmtkCongealingFunctional.h.

template<class TXform>
typedef CongealingFunctional<TXform> cmtk::CongealingFunctional< TXform >::Self

Type of this class.

Reimplemented from cmtk::GroupwiseRegistrationFunctionalXformTemplate< TXform >.

Reimplemented in cmtk::SplineWarpCongealingFunctional.

Definition at line 76 of file cmtkCongealingFunctional.h.

template<class TXform>
typedef SmartPointer<Self> cmtk::CongealingFunctional< TXform >::SmartPtr

Smart pointer.

Reimplemented from cmtk::GroupwiseRegistrationFunctionalXformTemplate< TXform >.

Reimplemented in cmtk::SplineWarpCongealingFunctional.

Definition at line 79 of file cmtkCongealingFunctional.h.

template<class TXform>
typedef GroupwiseRegistrationFunctionalXformTemplate<TXform> cmtk::CongealingFunctional< TXform >::Superclass

Type of parent class.

Reimplemented from cmtk::GroupwiseRegistrationFunctionalXformTemplate< TXform >.

Reimplemented in cmtk::SplineWarpCongealingFunctional.

Definition at line 73 of file cmtkCongealingFunctional.h.

template<class TXform>
typedef ThreadParameters<Self> cmtk::CongealingFunctional< TXform >::ThreadParametersType [private]

Thread parameters with no further data.

Reimplemented from cmtk::GroupwiseRegistrationFunctionalXformTemplate< TXform >.

Definition at line 153 of file cmtkCongealingFunctional.h.

template<class TXform>
typedef XformType::SmartPtr cmtk::CongealingFunctional< TXform >::XformPointer

Smart pointer to transformation type.

Reimplemented from cmtk::GroupwiseRegistrationFunctionalXformTemplateBase< TXform >.

Definition at line 85 of file cmtkCongealingFunctional.h.

template<class TXform>
typedef TXform cmtk::CongealingFunctional< TXform >::XformType

Transformation type.

Reimplemented from cmtk::GroupwiseRegistrationFunctionalXformTemplateBase< TXform >.

Definition at line 82 of file cmtkCongealingFunctional.h.


Member Data Documentation

template<class TXform>
std::vector<HistogramBinType*> cmtk::CongealingFunctional< TXform >::m_HistogramKernel [protected]

Histogram sample kernels.

Each element is a pointer to an array that holds the elements of one side of a discretely sampled symmetric kernel the represents samples with uncertainty in a histogram. Element [0] of each such array is the central element.

Definition at line 136 of file cmtkCongealingFunctional.h.

template<class TXform>
std::vector<size_t> cmtk::CongealingFunctional< TXform >::m_HistogramKernelRadius [protected]

Radius of histogram sample kernel.

Each element here is the number of elements in the corresponding HistogramKernel array.

Definition at line 142 of file cmtkCongealingFunctional.h.

template<class TXform>
bool cmtk::CongealingFunctional< TXform >::m_NeedsUpdateStandardDeviationByPixel [protected]

Flag whether standard deviations by pixel need updating.

Definition at line 124 of file cmtkCongealingFunctional.h.

template<class TXform>
std::vector<byte> cmtk::CongealingFunctional< TXform >::m_StandardDeviationByPixel [protected]

Standard deviation over all images by pixel.

Definition at line 113 of file cmtkCongealingFunctional.h.

template<class TXform>
std::vector<HistogramType> cmtk::CongealingFunctional< TXform >::m_ThreadHistograms [protected]

Histograms for computation threads.

Definition at line 146 of file cmtkCongealingFunctional.h.


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