#include <itkComputePreconditionerUsingDisplacementDistribution.h>
This is a helper class for the automatic estimation of a preconditioner for the FPSGD optimizer. // update below 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 TMI paper.
[1] Y. Qiao, B. van Lew, B.P.F. Lelieveldt, M. Staring Fast Automatic Step Size Estimation for Gradient Descent Optimization of Image Registration IEEE Transactions on Medical Imaging, vol. 35, no. 2, pp. 391 - 403, February 2016 http://dx.doi.org/10.1109/TMI.2015.2476354
Definition at line 40 of file itkComputePreconditionerUsingDisplacementDistribution.h.
Public Member Functions | |
void | Compute (const ParametersType &mu, double &jacg, double &maxJJ, std::string method) override |
virtual void | Compute (const ParametersType &mu, double &maxJJ, ParametersType &preconditioner) |
void | ComputeJacobiTypePreconditioner (double &maxJJ, ParametersType &preconditioner) |
virtual const char * | GetClassName () const |
virtual const double & | GetConditionNumber () |
virtual const double & | GetMaximumStepLength () |
virtual const double & | GetRegularizationKappa () |
ITK_DISALLOW_COPY_AND_MOVE (ComputePreconditionerUsingDisplacementDistribution) | |
itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension) | |
virtual void | PreconditionerInterpolation (ParametersType &preconditioner) |
virtual void | SetConditionNumber (double _arg) |
virtual void | SetMaximumStepLength (double _arg) |
virtual void | SetRegularizationKappa (double _arg) |
Public Member Functions inherited from itk::ComputeDisplacementDistribution< TFixedImage, TTransform > | |
virtual void | AfterThreadedCompute (double &jacg, double &maxJJ) |
virtual void | BeforeThreadedCompute (const ParametersType &mu) |
virtual void | ComputeSingleThreaded (const ParametersType &mu, double &jacg, double &maxJJ, std::string method) |
virtual void | ComputeUsingSearchDirection (const ParametersType &mu, double &jacg, double &maxJJ, std::string methods) |
virtual const FixedImageMaskType * | GetFixedImageMask () |
virtual const FixedImageRegionType & | GetFixedImageRegion () |
ITK_DISALLOW_COPY_AND_MOVE (ComputeDisplacementDistribution) | |
itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension) | |
virtual void | SetFixedImage (const FixedImageType *_arg) |
virtual void | SetFixedImageMask (const FixedImageMaskType *_arg) |
virtual void | SetFixedImageMask (FixedImageMaskType *_arg) |
void | SetFixedImageRegion (const FixedImageRegionType ®ion) |
virtual void | SetNumberOfJacobianMeasurements (SizeValueType _arg) |
void | SetNumberOfWorkUnits (ThreadIdType numberOfThreads) |
virtual void | SetTransform (TransformType *_arg) |
Public Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer | |
const ParametersType & | GetCurrentPosition () const override |
virtual bool | GetMaximize () const |
virtual const ScaledCostFunctionType * | GetScaledCostFunction () |
virtual const ParametersType & | GetScaledCurrentPosition () |
bool | GetUseScales () const |
virtual void | InitializeScales () |
ITK_DISALLOW_COPY_AND_MOVE (ScaledSingleValuedNonLinearOptimizer) | |
virtual void | MaximizeOff () |
virtual void | MaximizeOn () |
void | SetCostFunction (CostFunctionType *costFunction) override |
virtual void | SetMaximize (bool _arg) |
virtual void | SetUseScales (bool arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ComputeDisplacementDistribution< TFixedImage, TTransform > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer | |
static Pointer | New () |
Protected Member Functions | |
ComputePreconditionerUsingDisplacementDistribution () | |
~ComputePreconditionerUsingDisplacementDistribution () override=default | |
Protected Member Functions inherited from itk::ComputeDisplacementDistribution< TFixedImage, TTransform > | |
ComputeDisplacementDistribution () | |
virtual void | InitializeThreadingParameters () |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedComputePerThreadStruct, AlignedComputePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, ComputePerThreadStruct, PaddedComputePerThreadStruct) | |
void | LaunchComputeThreaderCallback () const |
virtual void | SampleFixedImageForJacobianTerms (ImageSampleContainerPointer &sampleContainer) |
virtual void | ThreadedCompute (ThreadIdType threadID) |
~ComputeDisplacementDistribution () override=default | |
Protected Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer | |
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 override |
ScaledSingleValuedNonLinearOptimizer () | |
void | SetCurrentPosition (const ParametersType ¶m) override |
virtual void | SetScaledCurrentPosition (const ParametersType ¶meters) |
~ScaledSingleValuedNonLinearOptimizer () override=default | |
Protected Attributes | |
double | m_ConditionNumber {} |
double | m_MaximumStepLength {} |
double | m_RegularizationKappa {} |
Protected Attributes inherited from itk::ComputeDisplacementDistribution< TFixedImage, TTransform > | |
ScaledSingleValuedCostFunction::Pointer | m_CostFunction {} |
DerivativeType | m_ExactGradient {} |
FixedImageType::ConstPointer | m_FixedImage {} |
FixedImageMaskConstPointer | m_FixedImageMask {} |
FixedImageRegionType | m_FixedImageRegion {} |
SizeValueType | m_NumberOfJacobianMeasurements {} |
SizeValueType | m_NumberOfParameters {} |
MultiThreaderBase::Pointer | m_Threader {} |
TransformPointer | m_Transform {} |
Protected Attributes inherited from itk::ScaledSingleValuedNonLinearOptimizer | |
ScaledCostFunctionPointer | m_ScaledCostFunction {} |
ParametersType | m_ScaledCurrentPosition {} |
Additional Inherited Members | |
Static Protected Member Functions inherited from itk::ComputeDisplacementDistribution< TFixedImage, TTransform > | |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ComputeThreaderCallback (void *arg) |
using itk::ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform >::ConstPointer = SmartPointer<const Self> |
Definition at line 50 of file itkComputePreconditionerUsingDisplacementDistribution.h.
|
protected |
Definition at line 176 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 154 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageMaskConstPointer |
Definition at line 81 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageMaskPointer |
Definition at line 80 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageMaskType |
Definition at line 79 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImagePixelType |
Definition at line 67 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 155 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageRegionType |
Definition at line 70 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::FixedImageType |
typedef
Definition at line 66 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 164 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 163 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 170 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 169 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 167 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 166 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 172 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 171 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 161 of file itkComputeDisplacementDistribution.h.
|
protected |
Samplers.
Definition at line 160 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 156 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 157 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::NonZeroJacobianIndicesType |
Definition at line 82 of file itkComputeDisplacementDistribution.h.
|
protected |
Definition at line 177 of file itkComputeDisplacementDistribution.h.
using itk::ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform >::Pointer = SmartPointer<Self> |
Definition at line 49 of file itkComputePreconditionerUsingDisplacementDistribution.h.
using itk::ScaledSingleValuedNonLinearOptimizer::ScalesType |
Definition at line 73 of file itkScaledSingleValuedNonLinearOptimizer.h.
using itk::ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform >::Self = ComputePreconditionerUsingDisplacementDistribution |
Standard ITK.
Definition at line 47 of file itkComputePreconditionerUsingDisplacementDistribution.h.
using itk::ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform >::Superclass = ComputeDisplacementDistribution<TFixedImage, TTransform> |
Definition at line 48 of file itkComputePreconditionerUsingDisplacementDistribution.h.
|
protected |
Typedefs for support of sparse Jacobians and AdvancedTransforms.
Definition at line 175 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::TransformPointer |
Definition at line 69 of file itkComputeDisplacementDistribution.h.
using itk::ComputeDisplacementDistribution< TFixedImage, TTransform >::TransformType |
Definition at line 68 of file itkComputeDisplacementDistribution.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
The main function that performs the computation. DO NOT USE.
Reimplemented from itk::ComputeDisplacementDistribution< TFixedImage, TTransform >.
|
virtual |
The main function that performs the computation. The aims to be a generic function, working for all transformations.
void itk::ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform >::ComputeJacobiTypePreconditioner | ( | double & | maxJJ, |
ParametersType & | preconditioner ) |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ComputeDisplacementDistribution< TFixedImage, TTransform >.
|
virtual |
|
virtual |
|
virtual |
itk::ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform >::ITK_DISALLOW_COPY_AND_MOVE | ( | ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform > | ) |
itk::ComputePreconditionerUsingDisplacementDistribution< TFixedImage, TTransform >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | ) |
|
static |
Method for creation through the object factory.
|
virtual |
Interpolate the preconditioner, for the non-visited entries.
|
virtual |
Set/get kappa for condition number.
|
virtual |
Set/get maximum step length delta.
|
virtual |
Set/get kappa for regularization.
|
protected |
Definition at line 131 of file itkComputePreconditionerUsingDisplacementDistribution.h.
|
protected |
Definition at line 129 of file itkComputePreconditionerUsingDisplacementDistribution.h.
|
protected |
Definition at line 130 of file itkComputePreconditionerUsingDisplacementDistribution.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |