go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
itk::ComputeJacobianTerms< TFixedImage, TTransform > Class Template Reference

#include <itkComputeJacobianTerms.h>

Detailed Description

template<class TFixedImage, class TTransform>
class itk::ComputeJacobianTerms< TFixedImage, TTransform >

This is a helper class for the automatic parameter estimation of the ASGD optimizer.

More specifically this class computes the Jacobian terms related to the automatic parameter estimation for the adaptive stochastic gradient descent optimizer. Details can be found in the paper.

Definition at line 38 of file itkComputeJacobianTerms.h.

Inheritance diagram for itk::ComputeJacobianTerms< TFixedImage, TTransform >:
Inheritance graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
 
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
 
typedef SpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskType
 
typedef FixedImageType::RegionType FixedImageRegionType
 
typedef TFixedImage FixedImageType
 
typedef TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef SmartPointer< SelfPointer
 
typedef ScaledSingleValuedNonLinearOptimizerType::ScaledCostFunctionPointer ScaledCostFunctionPointer
 
typedef ScaledSingleValuedNonLinearOptimizer ScaledSingleValuedNonLinearOptimizerType
 
typedef ScaledSingleValuedNonLinearOptimizerType::ScalesType ScalesType
 
typedef ComputeJacobianTerms Self
 
typedef Object Superclass
 
typedef TransformType::Pointer TransformPointer
 
typedef TTransform TransformType
 

Public Member Functions

virtual void ComputeParameters (double &TrC, double &TrCC, double &maxJJ, double &maxJCJ)
 
virtual const char * GetClassName () const
 
virtual const FixedImageMaskTypeGetFixedImageMask ()
 
virtual const FixedImageRegionTypeGetFixedImageRegion ()
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
virtual void SetFixedImage (const FixedImageType *_arg)
 
virtual void SetFixedImageMask (FixedImageMaskType *_arg)
 
virtual void SetFixedImageMask (const FixedImageMaskType *_arg)
 
void SetFixedImageRegion (const FixedImageRegionType &region)
 
virtual void SetMaxBandCovSize (unsigned int _arg)
 
virtual void SetNumberOfBandStructureSamples (unsigned int _arg)
 
virtual void SetNumberOfJacobianMeasurements (SizeValueType _arg)
 
virtual void SetScales (ScalesType _arg)
 
virtual void SetTransform (TransformType *_arg)
 
virtual void SetUseScales (bool _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

typedef TransformType::ScalarType CoordinateRepresentationType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef FixedImageType::PointType FixedImagePointType
 
typedef ImageGridSamplerType::Pointer ImageGridSamplerPointer
 
typedef ImageGridSampler< FixedImageTypeImageGridSamplerType
 
typedef ImageRandomSamplerBaseType::Pointer ImageRandomSamplerBasePointer
 
typedef ImageRandomSamplerBase< FixedImageTypeImageRandomSamplerBaseType
 
typedef ImageSampleContainerType::Pointer ImageSampleContainerPointer
 
typedef ImageGridSamplerType::ImageSampleContainerType ImageSampleContainerType
 
typedef ImageSamplerBaseType::Pointer ImageSamplerBasePointer
 
typedef ImageSamplerBase< FixedImageTypeImageSamplerBaseType
 
typedef TransformType::JacobianType JacobianType
 
typedef JacobianType::ValueType JacobianValueType
 
typedef TransformType::NumberOfParametersType NumberOfParametersType
 
typedef JacobianType TransformJacobianType
 

Protected Member Functions

 ComputeJacobianTerms ()
 
virtual void SampleFixedImageForJacobianTerms (ImageSampleContainerPointer &sampleContainer)
 
virtual ~ComputeJacobianTerms ()
 

Protected Attributes

FixedImageType::ConstPointer m_FixedImage
 
FixedImageMaskConstPointer m_FixedImageMask
 
FixedImageRegionType m_FixedImageRegion
 
unsigned int m_MaxBandCovSize
 
unsigned int m_NumberOfBandStructureSamples
 
SizeValueType m_NumberOfJacobianMeasurements
 
ScalesType m_Scales
 
TransformPointer m_Transform
 
bool m_UseScales
 

Private Member Functions

 ComputeJacobianTerms (const Self &)
 
void operator= (const Self &)
 

Member Typedef Documentation

template<class TFixedImage , class TTransform >
typedef SmartPointer< const Self > itk::ComputeJacobianTerms< TFixedImage, TTransform >::ConstPointer

Definition at line 47 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef TransformType::ScalarType itk::ComputeJacobianTerms< TFixedImage, TTransform >::CoordinateRepresentationType
protected

Definition at line 146 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef FixedImageType::IndexType itk::ComputeJacobianTerms< TFixedImage, TTransform >::FixedImageIndexType
protected

Definition at line 127 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef FixedImageMaskType::ConstPointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::FixedImageMaskConstPointer

Definition at line 68 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef FixedImageMaskType::Pointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::FixedImageMaskPointer

Definition at line 67 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef SpatialObject< itkGetStaticConstMacro( FixedImageDimension ) > itk::ComputeJacobianTerms< TFixedImage, TTransform >::FixedImageMaskType

Definition at line 66 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef FixedImageType::PointType itk::ComputeJacobianTerms< TFixedImage, TTransform >::FixedImagePointType
protected

Definition at line 128 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef FixedImageType::RegionType itk::ComputeJacobianTerms< TFixedImage, TTransform >::FixedImageRegionType

Definition at line 59 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef TFixedImage itk::ComputeJacobianTerms< TFixedImage, TTransform >::FixedImageType

typedef

Definition at line 53 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageGridSamplerType::Pointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageGridSamplerPointer
protected

Definition at line 139 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageGridSampler< FixedImageType > itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageGridSamplerType
protected

Definition at line 138 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageRandomSamplerBaseType::Pointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageRandomSamplerBasePointer
protected

Definition at line 136 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageRandomSamplerBase< FixedImageType > itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageRandomSamplerBaseType
protected

Definition at line 135 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageSampleContainerType::Pointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageSampleContainerPointer
protected

Definition at line 142 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageGridSamplerType ::ImageSampleContainerType itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageSampleContainerType
protected

Definition at line 141 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageSamplerBaseType::Pointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageSamplerBasePointer
protected

Definition at line 134 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ImageSamplerBase< FixedImageType > itk::ComputeJacobianTerms< TFixedImage, TTransform >::ImageSamplerBaseType
protected

Samplers.

Definition at line 133 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef TransformType::JacobianType itk::ComputeJacobianTerms< TFixedImage, TTransform >::JacobianType
protected

Definition at line 129 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef JacobianType::ValueType itk::ComputeJacobianTerms< TFixedImage, TTransform >::JacobianValueType
protected

Definition at line 130 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef TransformType::NonZeroJacobianIndicesType itk::ComputeJacobianTerms< TFixedImage, TTransform >::NonZeroJacobianIndicesType

Definition at line 74 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef TransformType::NumberOfParametersType itk::ComputeJacobianTerms< TFixedImage, TTransform >::NumberOfParametersType
protected

Definition at line 147 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef SmartPointer< Self > itk::ComputeJacobianTerms< TFixedImage, TTransform >::Pointer

Definition at line 46 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ScaledSingleValuedNonLinearOptimizerType ::ScaledCostFunctionPointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::ScaledCostFunctionPointer

Definition at line 72 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ScaledSingleValuedNonLinearOptimizer itk::ComputeJacobianTerms< TFixedImage, TTransform >::ScaledSingleValuedNonLinearOptimizerType

Definition at line 70 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ScaledSingleValuedNonLinearOptimizerType::ScalesType itk::ComputeJacobianTerms< TFixedImage, TTransform >::ScalesType

Definition at line 73 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef ComputeJacobianTerms itk::ComputeJacobianTerms< TFixedImage, TTransform >::Self

Standard ITK.

Definition at line 44 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef Object itk::ComputeJacobianTerms< TFixedImage, TTransform >::Superclass

Definition at line 45 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef JacobianType itk::ComputeJacobianTerms< TFixedImage, TTransform >::TransformJacobianType
protected

Typedefs for support of sparse Jacobians and AdvancedTransforms.

Definition at line 145 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef TransformType::Pointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::TransformPointer

Definition at line 58 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
typedef TTransform itk::ComputeJacobianTerms< TFixedImage, TTransform >::TransformType

Definition at line 57 of file itkComputeJacobianTerms.h.

Constructor & Destructor Documentation

template<class TFixedImage , class TTransform >
itk::ComputeJacobianTerms< TFixedImage, TTransform >::ComputeJacobianTerms ( )
protected
template<class TFixedImage , class TTransform >
virtual itk::ComputeJacobianTerms< TFixedImage, TTransform >::~ComputeJacobianTerms ( )
inlineprotectedvirtual

Definition at line 114 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
itk::ComputeJacobianTerms< TFixedImage, TTransform >::ComputeJacobianTerms ( const Self )
private

Member Function Documentation

template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::ComputeParameters ( double TrC,
double TrCC,
double maxJJ,
double maxJCJ 
)
virtual

The main functions that performs the computation.

template<class TFixedImage , class TTransform >
virtual const char* itk::ComputeJacobianTerms< TFixedImage, TTransform >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<class TFixedImage , class TTransform >
virtual const FixedImageMaskType* itk::ComputeJacobianTerms< TFixedImage, TTransform >::GetFixedImageMask ( )
virtual
template<class TFixedImage , class TTransform >
virtual const FixedImageRegionType& itk::ComputeJacobianTerms< TFixedImage, TTransform >::GetFixedImageRegion ( )
virtual

Get the region over which the metric will be computed.

template<class TFixedImage , class TTransform >
itk::ComputeJacobianTerms< TFixedImage, TTransform >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned  int,
TFixedImage::ImageDimension   
)

Type for the mask of the fixed image. Only pixels that are "inside" this mask will be considered for the computation of the Jacobian terms.

template<class TFixedImage , class TTransform >
static Pointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::New ( )
static

Method for creation through the object factory.

template<class TFixedImage , class TTransform >
void itk::ComputeJacobianTerms< TFixedImage, TTransform >::operator= ( const Self )
private
template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SampleFixedImageForJacobianTerms ( ImageSampleContainerPointer sampleContainer)
protectedvirtual

Sample the fixed image to compute the Jacobian terms.

template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetFixedImage ( const FixedImageType _arg)
virtual

Set the fixed image.

template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetFixedImageMask ( FixedImageMaskType _arg)
virtual

Set/Get the fixed image mask.

template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetFixedImageMask ( const FixedImageMaskType _arg)
virtual
template<class TFixedImage , class TTransform >
void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetFixedImageRegion ( const FixedImageRegionType region)
inline

Set the region over which the metric will be computed.

Definition at line 95 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetMaxBandCovSize ( unsigned int  _arg)
virtual
template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetNumberOfBandStructureSamples ( unsigned int  _arg)
virtual
template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetNumberOfJacobianMeasurements ( SizeValueType  _arg)
virtual
template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetScales ( ScalesType  _arg)
virtual

Set some parameters.

template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetTransform ( TransformType _arg)
virtual

Set the transform.

template<class TFixedImage , class TTransform >
virtual void itk::ComputeJacobianTerms< TFixedImage, TTransform >::SetUseScales ( bool  _arg)
virtual

Field Documentation

template<class TFixedImage , class TTransform >
FixedImageType::ConstPointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_FixedImage
protected

Definition at line 116 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
FixedImageMaskConstPointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_FixedImageMask
protected

Definition at line 118 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
FixedImageRegionType itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_FixedImageRegion
protected

Definition at line 117 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
unsigned int itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_MaxBandCovSize
protected

Definition at line 123 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
unsigned int itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_NumberOfBandStructureSamples
protected

Definition at line 124 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
SizeValueType itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_NumberOfJacobianMeasurements
protected

Definition at line 125 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
ScalesType itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_Scales
protected

Definition at line 120 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
TransformPointer itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_Transform
protected

Definition at line 119 of file itkComputeJacobianTerms.h.

template<class TFixedImage , class TTransform >
bool itk::ComputeJacobianTerms< TFixedImage, TTransform >::m_UseScales
protected

Definition at line 121 of file itkComputeJacobianTerms.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo