Loading...
Searching...
No Matches
elxTransformRigidityPenaltyTerm.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 elxTransformRigidityPenaltyTerm_h
#define elxTransformRigidityPenaltyTerm_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkTransformRigidityPenaltyTerm.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT TransformRigidityPenalty
: public itk::TransformRigidityPenaltyTerm<typename MetricBase<TElastix>::FixedImageType, double>
, public MetricBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(TransformRigidityPenalty);
using Self = TransformRigidityPenalty;
using Superclass1 = itk::TransformRigidityPenaltyTerm<typename MetricBase<TElastix>::FixedImageType, double>;
using Superclass2 = MetricBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(TransformRigidityPenalty, itk::TransformRigidityPenaltyTerm);
elxClassNameMacro("TransformRigidityPenalty");
using typename Superclass1::CoordinateRepresentationType;
using typename Superclass1::MovingImageType;
using typename Superclass1::MovingImagePixelType;
using typename Superclass1::MovingImageConstPointer;
using typename Superclass1::FixedImageType;
using typename Superclass1::FixedImageConstPointer;
using typename Superclass1::FixedImageRegionType;
using typename Superclass1::TransformType;
using typename Superclass1::TransformPointer;
using typename Superclass1::InputPointType;
using typename Superclass1::OutputPointType;
using typename Superclass1::TransformParametersType;
using typename Superclass1::TransformJacobianType;
using typename Superclass1::InterpolatorType;
using typename Superclass1::InterpolatorPointer;
using typename Superclass1::RealType;
using typename Superclass1::GradientPixelType;
using typename Superclass1::GradientImageType;
using typename Superclass1::GradientImagePointer;
using typename Superclass1::FixedImageMaskType;
using typename Superclass1::FixedImageMaskPointer;
using typename Superclass1::MovingImageMaskType;
using typename Superclass1::MovingImageMaskPointer;
using typename Superclass1::MeasureType;
using typename Superclass1::DerivativeType;
using typename Superclass1::ParametersType;
using typename Superclass1::FixedImagePixelType;
using typename Superclass1::MovingImageRegionType;
using typename Superclass1::ImageSamplerType;
using typename Superclass1::ImageSamplerPointer;
using typename Superclass1::ImageSampleContainerType;
using typename Superclass1::ImageSampleContainerPointer;
using typename Superclass1::FixedImageLimiterType;
using typename Superclass1::MovingImageLimiterType;
using typename Superclass1::FixedImageLimiterOutputType;
using typename Superclass1::MovingImageLimiterOutputType;
using typename Superclass1::CoefficientImageType;
using typename Superclass1::RigidityImageType;
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension);
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension);
using typename Superclass2::ElastixType;
using typename Superclass2::RegistrationType;
using ITKBaseType = typename Superclass2::ITKBaseType;
void
Initialize() override;
void
BeforeEachResolution() override;
void
BeforeRegistration() override;
void
AfterEachIteration() override;
void
SelectNewSamples() override
{}
protected:
TransformRigidityPenalty() = default;
~TransformRigidityPenalty() override = default;
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxTransformRigidityPenaltyTerm.hxx"
#endif
#endif // end #ifndef elxTransformRigidityPenaltyTerm_h
elastix::MetricBase::MetricBase
MetricBase()=default
elastix::MetricBase::ITKBaseType
itk::SingleValuedCostFunction ITKBaseType
Definition elxMetricBase.h:97
elastix::MetricBase::RegistrationType
typename ElastixType::RegistrationBaseType RegistrationType
Definition elxBaseComponentSE.h:62
elastix::MetricBase::ElastixType
TElastix ElastixType
Definition elxBaseComponentSE.h:57
elastix::TransformRigidityPenalty::SelectNewSamples
void SelectNewSamples() override
Definition elxTransformRigidityPenaltyTerm.h:222
elastix::TransformRigidityPenalty::Superclass1
itk::TransformRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
Definition elxTransformRigidityPenaltyTerm.h:119
elastix::TransformRigidityPenalty::BeforeEachResolution
void BeforeEachResolution() override
elastix::TransformRigidityPenalty::elxClassNameMacro
elxClassNameMacro("TransformRigidityPenalty")
elastix::TransformRigidityPenalty::BeforeRegistration
void BeforeRegistration() override
elastix::TransformRigidityPenalty::Self
TransformRigidityPenalty Self
Definition elxTransformRigidityPenaltyTerm.h:118
elastix::TransformRigidityPenalty::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
elastix::TransformRigidityPenalty::Initialize
void Initialize() override
elastix::TransformRigidityPenalty::~TransformRigidityPenalty
~TransformRigidityPenalty() override=default
elastix::TransformRigidityPenalty::AfterEachIteration
void AfterEachIteration() override
elastix::TransformRigidityPenalty::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxTransformRigidityPenaltyTerm.h:233
elastix::TransformRigidityPenalty::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(TransformRigidityPenalty)
elastix::TransformRigidityPenalty::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxTransformRigidityPenaltyTerm.h:186
elastix::TransformRigidityPenalty::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxTransformRigidityPenaltyTerm.h:122
elastix::TransformRigidityPenalty::Superclass2
MetricBase< TElastix > Superclass2
Definition elxTransformRigidityPenaltyTerm.h:120
elastix::TransformRigidityPenalty::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elastix::TransformRigidityPenalty::TransformRigidityPenalty
TransformRigidityPenalty()=default
elastix::TransformRigidityPenalty::Pointer
itk::SmartPointer< Self > Pointer
Definition elxTransformRigidityPenaltyTerm.h:121
itk::TransformRigidityPenaltyTerm
A cost function that calculates a rigidity penalty term.
Definition itkTransformRigidityPenaltyTerm.h:72
elxIncludes.h
itkTransformRigidityPenaltyTerm.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |