Loading...
Searching...
No Matches
itkComputePreconditionerUsingDisplacementDistribution.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkComputePreconditionerUsingDisplacementDistribution_h
#define itkComputePreconditionerUsingDisplacementDistribution_h
#include "itkComputeDisplacementDistribution.h"
namespace itk
{
template <class TFixedImage, class TTransform>
class ITK_TEMPLATE_EXPORT ComputePreconditionerUsingDisplacementDistribution
: public ComputeDisplacementDistribution<TFixedImage, TTransform>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(ComputePreconditionerUsingDisplacementDistribution);
using Self = ComputePreconditionerUsingDisplacementDistribution;
using Superclass = ComputeDisplacementDistribution<TFixedImage, TTransform>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(ComputePreconditionerUsingDisplacementDistribution, ComputeDisplacementDistribution);
using typename Superclass::FixedImageType;
using typename Superclass::FixedImagePixelType;
using typename Superclass::TransformType;
using typename Superclass::TransformPointer;
using typename Superclass::FixedImageRegionType;
using typename Superclass::ParametersType;
using typename Superclass::DerivativeType;
using typename Superclass::ScalesType;
using typename Superclass::FixedImageMaskType;
using typename Superclass::FixedImageMaskPointer;
using typename Superclass::FixedImageMaskConstPointer;
using typename Superclass::NonZeroJacobianIndicesType;
// check
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
itkSetClampMacro(RegularizationKappa, double, 0.0, 1.0);
itkGetConstReferenceMacro(RegularizationKappa, double);
itkSetMacro(MaximumStepLength, double);
itkGetConstReferenceMacro(MaximumStepLength, double);
itkSetClampMacro(ConditionNumber, double, 0.0, 10.0);
itkGetConstReferenceMacro(ConditionNumber, double);
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 void
PreconditionerInterpolation(ParametersType & preconditioner);
protected:
ComputePreconditionerUsingDisplacementDistribution();
~ComputePreconditionerUsingDisplacementDistribution() override = default;
using typename Superclass::FixedImageIndexType;
using typename Superclass::FixedImagePointType;
using typename Superclass::JacobianType;
using typename Superclass::JacobianValueType;
using typename Superclass::ImageSamplerBaseType;
using typename Superclass::ImageSamplerBasePointer;
using typename Superclass::ImageFullSamplerType;
using typename Superclass::ImageFullSamplerPointer;
using typename Superclass::ImageRandomSamplerBaseType;
using typename Superclass::ImageRandomSamplerBasePointer;
using typename Superclass::ImageGridSamplerType;
using typename Superclass::ImageGridSamplerPointer;
using typename Superclass::ImageSampleContainerType;
using typename Superclass::ImageSampleContainerPointer;
using typename Superclass::TransformJacobianType;
using typename Superclass::CoordinateRepresentationType;
using typename Superclass::NumberOfParametersType;
double m_MaximumStepLength{};
double m_RegularizationKappa{};
double m_ConditionNumber{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkComputePreconditionerUsingDisplacementDistribution.hxx"
#endif
#endif // end #ifndef itkComputePreconditionerUsingDisplacementDistribution_h
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageFullSamplerPointer
typename ImageFullSamplerType::Pointer ImageFullSamplerPointer
Definition itkComputeDisplacementDistribution.h:164
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImagePointType
typename FixedImageType::PointType FixedImagePointType
Definition itkComputeDisplacementDistribution.h:155
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImagePixelType
typename FixedImageType::PixelType FixedImagePixelType
Definition itkComputeDisplacementDistribution.h:67
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImageMaskPointer
typename FixedImageMaskType::Pointer FixedImageMaskPointer
Definition itkComputeDisplacementDistribution.h:80
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageGridSamplerPointer
typename ImageGridSamplerType::Pointer ImageGridSamplerPointer
Definition itkComputeDisplacementDistribution.h:170
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageGridSamplerType
ImageGridSampler< FixedImageType > ImageGridSamplerType
Definition itkComputeDisplacementDistribution.h:169
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::TransformType
TransformType TransformType
Definition itkComputeDisplacementDistribution.h:68
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageRandomSamplerBaseType
ImageRandomSamplerBase< FixedImageType > ImageRandomSamplerBaseType
Definition itkComputeDisplacementDistribution.h:166
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImageIndexType
typename FixedImageType::IndexType FixedImageIndexType
Definition itkComputeDisplacementDistribution.h:154
itk::ComputeDisplacementDistribution::ComputeDisplacementDistribution
ComputeDisplacementDistribution()
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::JacobianType
typename TransformType::JacobianType JacobianType
Definition itkComputeDisplacementDistribution.h:156
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ScalesType
NonLinearOptimizer::ScalesType ScalesType
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageRandomSamplerBasePointer
typename ImageRandomSamplerBaseType::Pointer ImageRandomSamplerBasePointer
Definition itkComputeDisplacementDistribution.h:167
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageFullSamplerType
ImageFullSampler< FixedImageType > ImageFullSamplerType
Definition itkComputeDisplacementDistribution.h:163
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImageRegionType
typename FixedImageType::RegionType FixedImageRegionType
Definition itkComputeDisplacementDistribution.h:70
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImageMaskType
ImageMaskSpatialObject< Self::FixedImageDimension > FixedImageMaskType
Definition itkComputeDisplacementDistribution.h:79
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageSampleContainerPointer
typename ImageSampleContainerType::Pointer ImageSampleContainerPointer
Definition itkComputeDisplacementDistribution.h:172
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::NumberOfParametersType
typename TransformType::NumberOfParametersType NumberOfParametersType
Definition itkComputeDisplacementDistribution.h:177
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::NonZeroJacobianIndicesType
typename TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition itkComputeDisplacementDistribution.h:82
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageSampleContainerType
typename ImageGridSamplerType ::ImageSampleContainerType ImageSampleContainerType
Definition itkComputeDisplacementDistribution.h:171
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImageType
FixedImageType FixedImageType
Definition itkComputeDisplacementDistribution.h:66
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageSamplerBaseType
ImageSamplerBase< FixedImageType > ImageSamplerBaseType
Definition itkComputeDisplacementDistribution.h:160
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::TransformPointer
typename TransformType::Pointer TransformPointer
Definition itkComputeDisplacementDistribution.h:69
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::CoordinateRepresentationType
typename TransformType::ScalarType CoordinateRepresentationType
Definition itkComputeDisplacementDistribution.h:176
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::JacobianValueType
typename JacobianType::ValueType JacobianValueType
Definition itkComputeDisplacementDistribution.h:157
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::TransformJacobianType
JacobianType TransformJacobianType
Definition itkComputeDisplacementDistribution.h:175
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::ImageSamplerBasePointer
typename ImageSamplerBaseType::Pointer ImageSamplerBasePointer
Definition itkComputeDisplacementDistribution.h:161
itk::ComputeDisplacementDistribution< FixedImageType, TransformType >::FixedImageMaskConstPointer
typename FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
Definition itkComputeDisplacementDistribution.h:81
itk::ComputePreconditionerUsingDisplacementDistribution::Self
ComputePreconditionerUsingDisplacementDistribution Self
Definition itkComputePreconditionerUsingDisplacementDistribution.h:47
itk::ComputePreconditionerUsingDisplacementDistribution::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(ComputePreconditionerUsingDisplacementDistribution)
itk::ComputePreconditionerUsingDisplacementDistribution< FixedImageType, TransformType >::m_RegularizationKappa
double m_RegularizationKappa
Definition itkComputePreconditionerUsingDisplacementDistribution.h:130
itk::ComputePreconditionerUsingDisplacementDistribution::Compute
void Compute(const ParametersType &mu, double &jacg, double &maxJJ, std::string method) override
itk::ComputePreconditionerUsingDisplacementDistribution::ComputePreconditionerUsingDisplacementDistribution
ComputePreconditionerUsingDisplacementDistribution()
itk::ComputePreconditionerUsingDisplacementDistribution::Superclass
ComputeDisplacementDistribution< TFixedImage, TTransform > Superclass
Definition itkComputePreconditionerUsingDisplacementDistribution.h:48
itk::ComputePreconditionerUsingDisplacementDistribution::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkComputePreconditionerUsingDisplacementDistribution.h:50
itk::ComputePreconditionerUsingDisplacementDistribution::~ComputePreconditionerUsingDisplacementDistribution
~ComputePreconditionerUsingDisplacementDistribution() override=default
itk::ComputePreconditionerUsingDisplacementDistribution::ComputeJacobiTypePreconditioner
void ComputeJacobiTypePreconditioner(double &maxJJ, ParametersType &preconditioner)
itk::ComputePreconditionerUsingDisplacementDistribution::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
itk::ComputePreconditionerUsingDisplacementDistribution::Compute
virtual void Compute(const ParametersType &mu, double &maxJJ, ParametersType &preconditioner)
itk::ComputePreconditionerUsingDisplacementDistribution< FixedImageType, TransformType >::m_ConditionNumber
double m_ConditionNumber
Definition itkComputePreconditionerUsingDisplacementDistribution.h:131
itk::ComputePreconditionerUsingDisplacementDistribution::PreconditionerInterpolation
virtual void PreconditionerInterpolation(ParametersType &preconditioner)
itk::ComputePreconditionerUsingDisplacementDistribution::Pointer
SmartPointer< Self > Pointer
Definition itkComputePreconditionerUsingDisplacementDistribution.h:49
itk::ComputePreconditionerUsingDisplacementDistribution< FixedImageType, TransformType >::m_MaximumStepLength
double m_MaximumStepLength
Definition itkComputePreconditionerUsingDisplacementDistribution.h:129
itkComputeDisplacementDistribution.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |