![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkComputeDisplacementDistribution.h>
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 SPIE paper
[1] Y.Qiao, B.P.F. Lelieveldt, M.Staring "Fast automatic estimation of the optimization step size for nonrigid image registration," SPIE Medical Imaging: Image Processing,February, 2014. http://elastix.isi.uu.nl/marius/publications/2014_c_SPIEMI.php
Definition at line 44 of file itkComputeDisplacementDistribution.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DerivativeType | DerivativeType |
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 Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::ScalesType | ScalesType |
typedef ComputeDisplacementDistribution | Self |
typedef ScaledSingleValuedNonLinearOptimizer | Superclass |
typedef TransformType::Pointer | TransformPointer |
typedef TTransform | TransformType |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::CostFunctionType | CostFunctionType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef ScaledCostFunctionType::Pointer | ScaledCostFunctionPointer |
typedef ScaledSingleValuedCostFunction | ScaledCostFunctionType |
typedef NonLinearOptimizer::ScalesType | ScalesType |
typedef ScaledSingleValuedNonLinearOptimizer | Self |
typedef SingleValuedNonLinearOptimizer | Superclass |
Public Member Functions | |
virtual void | ComputeDistributionTerms (const ParametersType &mu, double &jacg, double &maxJJ, std::string method) |
virtual const char * | GetClassName () const |
virtual const FixedImageMaskType * | GetFixedImageMask () |
virtual const FixedImageRegionType & | GetFixedImageRegion () |
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 ®ion) |
virtual void | SetNumberOfJacobianMeasurements (SizeValueType _arg) |
virtual void | SetTransform (TransformType *_arg) |
![]() | |
virtual const ParametersType & | GetCurrentPosition (void) const |
virtual bool | GetMaximize () const |
virtual const ScaledCostFunctionType * | GetScaledCostFunction () |
virtual const ParametersType & | GetScaledCurrentPosition () |
bool | GetUseScales (void) const |
virtual void | InitializeScales (void) |
virtual void | MaximizeOff () |
virtual void | MaximizeOn () |
virtual void | SetCostFunction (CostFunctionType *costFunction) |
virtual void | SetMaximize (bool _arg) |
virtual void | SetUseScales (bool arg) |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
Protected Types | |
typedef TransformType::ScalarType | CoordinateRepresentationType |
typedef FixedImageType::IndexType | FixedImageIndexType |
typedef FixedImageType::PointType | FixedImagePointType |
typedef ImageGridSamplerType::Pointer | ImageGridSamplerPointer |
typedef ImageGridSampler< FixedImageType > | ImageGridSamplerType |
typedef ImageRandomSamplerBaseType::Pointer | ImageRandomSamplerBasePointer |
typedef ImageRandomSamplerBase< FixedImageType > | ImageRandomSamplerBaseType |
typedef ImageSampleContainerType::Pointer | ImageSampleContainerPointer |
typedef ImageGridSamplerType::ImageSampleContainerType | ImageSampleContainerType |
typedef ImageSamplerBaseType::Pointer | ImageSamplerBasePointer |
typedef ImageSamplerBase< FixedImageType > | ImageSamplerBaseType |
typedef TransformType::JacobianType | JacobianType |
typedef JacobianType::ValueType | JacobianValueType |
typedef TransformType::NumberOfParametersType | NumberOfParametersType |
typedef JacobianType | TransformJacobianType |
Protected Member Functions | |
ComputeDisplacementDistribution () | |
virtual void | SampleFixedImageForJacobianTerms (ImageSampleContainerPointer &sampleContainer) |
virtual | ~ComputeDisplacementDistribution () |
![]() | |
virtual void | GetScaledDerivative (const ParametersType ¶meters, DerivativeType &derivative) const |
virtual MeasureType | GetScaledValue (const ParametersType ¶meters) const |
virtual void | GetScaledValueAndDerivative (const ParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const |
void | PrintSelf (std::ostream &os, Indent indent) const |
ScaledSingleValuedNonLinearOptimizer () | |
virtual void | SetCurrentPosition (const ParametersType ¶m) |
virtual void | SetScaledCurrentPosition (const ParametersType ¶meters) |
virtual | ~ScaledSingleValuedNonLinearOptimizer () |
Protected Attributes | |
ScaledSingleValuedCostFunction::Pointer | m_CostFunction |
FixedImageType::ConstPointer | m_FixedImage |
FixedImageMaskConstPointer | m_FixedImageMask |
FixedImageRegionType | m_FixedImageRegion |
SizeValueType | m_NumberOfJacobianMeasurements |
TransformPointer | m_Transform |
![]() | |
ScaledCostFunctionPointer | m_ScaledCostFunction |
ParametersType | m_ScaledCurrentPosition |
Private Member Functions | |
ComputeDisplacementDistribution (const Self &) | |
void | operator= (const Self &) |
typedef SmartPointer< const Self > itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::ConstPointer |
Definition at line 53 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 143 of file itkComputeDisplacementDistribution.h.
typedef Superclass::DerivativeType itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::DerivativeType |
Definition at line 68 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 124 of file itkComputeDisplacementDistribution.h.
typedef FixedImageMaskType::ConstPointer itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageMaskConstPointer |
Definition at line 78 of file itkComputeDisplacementDistribution.h.
typedef FixedImageMaskType::Pointer itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageMaskPointer |
Definition at line 77 of file itkComputeDisplacementDistribution.h.
typedef SpatialObject< itkGetStaticConstMacro( FixedImageDimension ) > itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageMaskType |
Definition at line 76 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 125 of file itkComputeDisplacementDistribution.h.
typedef FixedImageType::RegionType itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageRegionType |
Definition at line 66 of file itkComputeDisplacementDistribution.h.
typedef TFixedImage itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageType |
typedef
Definition at line 60 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 136 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 135 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 133 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 132 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 139 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 138 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 131 of file itkComputeDisplacementDistribution.h.
|
protected |
Samplers.
Definition at line 130 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 126 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 127 of file itkComputeDisplacementDistribution.h.
typedef TransformType::NonZeroJacobianIndicesType itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::NonZeroJacobianIndicesType |
Definition at line 79 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 144 of file itkComputeDisplacementDistribution.h.
typedef Superclass::ParametersType itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::ParametersType |
Definition at line 67 of file itkComputeDisplacementDistribution.h.
typedef SmartPointer< Self > itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::Pointer |
Definition at line 52 of file itkComputeDisplacementDistribution.h.
typedef Superclass::ScalesType itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::ScalesType |
Definition at line 69 of file itkComputeDisplacementDistribution.h.
typedef ComputeDisplacementDistribution itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::Self |
Standard ITK.
Definition at line 50 of file itkComputeDisplacementDistribution.h.
typedef ScaledSingleValuedNonLinearOptimizer itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::Superclass |
Definition at line 51 of file itkComputeDisplacementDistribution.h.
|
protected |
Typedefs for support of sparse Jacobians and AdvancedTransforms.
Definition at line 142 of file itkComputeDisplacementDistribution.h.
typedef TransformType::Pointer itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::TransformPointer |
Definition at line 65 of file itkComputeDisplacementDistribution.h.
typedef TTransform itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::TransformType |
Definition at line 64 of file itkComputeDisplacementDistribution.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 115 of file itkComputeDisplacementDistribution.h.
|
private |
|
virtual |
The main functions that performs the computation.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ScaledSingleValuedNonLinearOptimizer.
|
virtual |
|
virtual |
Get the region over which the metric will be computed.
itk::ComputeDisplacementDistribution< 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.
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Sample the fixed image to compute the Jacobian terms.
|
virtual |
Set the fixed image.
|
virtual |
Set/Get the fixed image mask.
|
virtual |
|
inline |
Set the region over which the metric will be computed.
Definition at line 96 of file itkComputeDisplacementDistribution.h.
|
virtual |
Set some parameters.
|
virtual |
Set the transform.
|
protected |
Definition at line 121 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 117 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 119 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 118 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 122 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 120 of file itkComputeDisplacementDistribution.h.
Generated on 07-03-2016 for elastix by ![]() |
![]() |