go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkComputePreconditionerUsingDisplacementDistribution.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef __itkComputePreconditionerUsingDisplacementDistribution_h
19#define __itkComputePreconditionerUsingDisplacementDistribution_h
20
22
23
24namespace itk
25{
39template< class TFixedImage, class TTransform >
41 public ComputeDisplacementDistribution< TFixedImage, TTransform >
42{
43public:
44
48 TFixedImage, TTransform > Superclass;
50 typedef SmartPointer< const Self > ConstPointer;
51
53 itkNewMacro( Self );
54
58
68
73
74 // check
75 itkStaticConstMacro( FixedImageDimension, unsigned int, FixedImageType::ImageDimension );
76
78 itkSetClampMacro( RegularizationKappa, double, 0.0, 1.0 );
79 itkGetConstReferenceMacro( RegularizationKappa, double );
80
82 itkSetMacro( MaximumStepLength, double );
83 itkGetConstReferenceMacro( MaximumStepLength, double );
84
86 itkSetClampMacro( ConditionNumber, double, 0.0, 10.0 );
87 itkGetConstReferenceMacro( ConditionNumber, double );
88
92 void Compute( const ParametersType & mu,
93 double & jacg, double & maxJJ, std::string method ) override;
94
99 double & jacg, double & maxJJ, std::string methods );
100
104 virtual void ComputeForBSplineOnly( const ParametersType & mu,
105 const double & delta, double & maxJJ, ParametersType & preconditioner );
106
110 virtual void Compute( const ParametersType & mu,
111 double & maxJJ, ParametersType & preconditioner );
112
114 double & maxJJ, ParametersType & preconditioner );
115
117 virtual void PreconditionerInterpolation( ParametersType & preconditioner );
118
119protected:
120
123
141
145
146private:
147
148 ComputePreconditionerUsingDisplacementDistribution( const Self & ); // purposely not implemented
149 void operator=( const Self & ); // purposely not implemented
150
151};
152
153} // end namespace itk
154
155#ifndef ITK_MANUAL_INSTANTIATION
156#include "itkComputePreconditionerUsingDisplacementDistribution.hxx"
157#endif
158
159#endif // end #ifndef __itkComputePreconditionerUsingDisplacementDistribution_h
This is a helper class for the automatic parameter estimation of the ASGD optimizer.
TransformType::NumberOfParametersType NumberOfParametersType
ImageSampleContainerType::Pointer ImageSampleContainerPointer
SpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskType
ImageGridSampler< FixedImageType > ImageGridSamplerType
ImageRandomSamplerBaseType::Pointer ImageRandomSamplerBasePointer
ImageFullSampler< FixedImageType > ImageFullSamplerType
FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
ImageGridSamplerType::ImageSampleContainerType ImageSampleContainerType
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
ImageSamplerBase< FixedImageType > ImageSamplerBaseType
ImageRandomSamplerBase< FixedImageType > ImageRandomSamplerBaseType
This is a helper class for the automatic estimation of a preconditioner for the FPSGD optimizer....
void Compute(const ParametersType &mu, double &jacg, double &maxJJ, std::string method) override
virtual void ComputeForBSplineOnly(const ParametersType &mu, const double &delta, double &maxJJ, ParametersType &preconditioner)
virtual void ComputeJacobiTypePreconditioner(const ParametersType &mu, double &maxJJ, ParametersType &preconditioner)
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
virtual void Compute(const ParametersType &mu, double &maxJJ, ParametersType &preconditioner)
virtual void ComputeDistributionTermsUsingSearchDir(const ParametersType &mu, double &jacg, double &maxJJ, std::string methods)
virtual void PreconditionerInterpolation(ParametersType &preconditioner)


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo