Loading...
Searching...
No Matches
elxDistancePreservingRigidityPenaltyTerm.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 elxDistancePreservingRigidityPenaltyTerm_h
#define elxDistancePreservingRigidityPenaltyTerm_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkDistancePreservingRigidityPenaltyTerm.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT DistancePreservingRigidityPenalty
: public itk::DistancePreservingRigidityPenaltyTerm<typename MetricBase<TElastix>::FixedImageType, double>
, public MetricBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(DistancePreservingRigidityPenalty);
using Self = DistancePreservingRigidityPenalty;
using Superclass1 = itk::DistancePreservingRigidityPenaltyTerm<typename MetricBase<TElastix>::FixedImageType, double>;
using Superclass2 = MetricBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(DistancePreservingRigidityPenalty, itk::DistancePreservingRigidityPenaltyTerm);
elxClassNameMacro("DistancePreservingRigidityPenalty");
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::SegmentedImageType;
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;
using SegmentedImagePyramidType = itk::MultiResolutionPyramidImageFilter<SegmentedImageType, SegmentedImageType>;
using SegmentedImagePyramidPointer = typename SegmentedImagePyramidType::Pointer;
void
Initialize() override;
void
BeforeRegistration() override;
protected:
DistancePreservingRigidityPenalty() = default;
~DistancePreservingRigidityPenalty() override = default;
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxDistancePreservingRigidityPenaltyTerm.hxx"
#endif
#endif // end #ifndef elxDistancePreservingRigidityPenaltyTerm_h
elastix::DistancePreservingRigidityPenalty::BeforeRegistration
void BeforeRegistration() override
elastix::DistancePreservingRigidityPenalty::DistancePreservingRigidityPenalty
DistancePreservingRigidityPenalty()=default
elastix::DistancePreservingRigidityPenalty::itkStaticConstMacro
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
elastix::DistancePreservingRigidityPenalty::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxDistancePreservingRigidityPenaltyTerm.h:76
elastix::DistancePreservingRigidityPenalty::~DistancePreservingRigidityPenalty
~DistancePreservingRigidityPenalty() override=default
elastix::DistancePreservingRigidityPenalty::Superclass2
MetricBase< TElastix > Superclass2
Definition elxDistancePreservingRigidityPenaltyTerm.h:74
elastix::DistancePreservingRigidityPenalty::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxDistancePreservingRigidityPenaltyTerm.h:167
elastix::DistancePreservingRigidityPenalty::Superclass1
itk::DistancePreservingRigidityPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass1
Definition elxDistancePreservingRigidityPenaltyTerm.h:73
elastix::DistancePreservingRigidityPenalty::elxClassNameMacro
elxClassNameMacro("DistancePreservingRigidityPenalty")
elastix::DistancePreservingRigidityPenalty::itkStaticConstMacro
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
elastix::DistancePreservingRigidityPenalty::Pointer
itk::SmartPointer< Self > Pointer
Definition elxDistancePreservingRigidityPenaltyTerm.h:75
elastix::DistancePreservingRigidityPenalty::SegmentedImagePyramidType
itk::MultiResolutionPyramidImageFilter< SegmentedImageType, SegmentedImageType > SegmentedImagePyramidType
Definition elxDistancePreservingRigidityPenaltyTerm.h:142
elastix::DistancePreservingRigidityPenalty::SegmentedImagePyramidPointer
typename SegmentedImagePyramidType::Pointer SegmentedImagePyramidPointer
Definition elxDistancePreservingRigidityPenaltyTerm.h:143
elastix::DistancePreservingRigidityPenalty::Initialize
void Initialize() override
elastix::DistancePreservingRigidityPenalty::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxDistancePreservingRigidityPenaltyTerm.h:139
elastix::DistancePreservingRigidityPenalty::Self
DistancePreservingRigidityPenalty Self
Definition elxDistancePreservingRigidityPenaltyTerm.h:72
elastix::DistancePreservingRigidityPenalty::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(DistancePreservingRigidityPenalty)
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
itk::DistancePreservingRigidityPenaltyTerm
Definition itkDistancePreservingRigidityPenaltyTerm.h:77
elxIncludes.h
itkDistancePreservingRigidityPenaltyTerm.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |