Loading...
Searching...
No Matches
itkDeformationFieldRegulizer.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 itkDeformationFieldRegulizer_h
#define itkDeformationFieldRegulizer_h
#include "itkDeformationVectorFieldTransform.h"
#include "itkImageRegionIterator.h"
namespace itk
{
template <class TAnyITKTransform>
class ITK_TEMPLATE_EXPORT DeformationFieldRegulizer : public TAnyITKTransform
{
public:
ITK_DISALLOW_COPY_AND_MOVE(DeformationFieldRegulizer);
using Self = DeformationFieldRegulizer;
using Superclass = TAnyITKTransform;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(DeformationFieldRegulizer, TAnyITKTransform);
itkStaticConstMacro(InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension);
itkStaticConstMacro(OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension);
using typename Superclass::ScalarType;
using typename Superclass::ParametersType;
using typename Superclass::JacobianType;
using typename Superclass::InputVectorType;
using typename Superclass::OutputVectorType;
using typename Superclass::InputCovariantVectorType;
using typename Superclass::OutputCovariantVectorType;
using typename Superclass::InputVnlVectorType;
using typename Superclass::OutputVnlVectorType;
using typename Superclass::InputPointType;
using typename Superclass::OutputPointType;
using IntermediaryDFTransformType = DeformationVectorFieldTransform<ScalarType, Self::InputSpaceDimension>;
using IntermediaryDFTransformPointer = typename IntermediaryDFTransformType::Pointer;
using VectorImageType = typename IntermediaryDFTransformType ::CoefficientVectorImageType;
using VectorPixelType = typename VectorImageType::PixelType;
using IteratorType = ImageRegionIterator<VectorImageType>;
using RegionType = typename VectorImageType::RegionType;
using SpacingType = typename VectorImageType::SpacingType;
using OriginType = typename VectorImageType::PointType;
void
InitializeDeformationFields();
virtual void
UpdateIntermediaryDeformationFieldTransform(typename VectorImageType::Pointer vecImage);
itkSetMacro(DeformationFieldRegion, RegionType);
itkSetMacro(DeformationFieldSpacing, SpacingType);
itkSetMacro(DeformationFieldOrigin, OriginType);
itkGetConstObjectMacro(IntermediaryDeformationFieldTransform, IntermediaryDFTransformType);
OutputPointType
TransformPoint(const InputPointType & inputPoint) const override;
protected:
DeformationFieldRegulizer();
~DeformationFieldRegulizer() override = default;
private:
IntermediaryDFTransformPointer m_IntermediaryDeformationFieldTransform{};
bool m_Initialized{};
RegionType m_DeformationFieldRegion{};
OriginType m_DeformationFieldOrigin{};
SpacingType m_DeformationFieldSpacing{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkDeformationFieldRegulizer.hxx"
#endif
#endif // end #ifndef itkDeformationFieldRegulizer_h
TAnyITKTransform
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::m_DeformationFieldSpacing
SpacingType m_DeformationFieldSpacing
Definition itkDeformationFieldRegulizer.h:128
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::m_Initialized
bool m_Initialized
Definition itkDeformationFieldRegulizer.h:123
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::Superclass
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass
Definition itkDeformationFieldRegulizer.h:48
itk::DeformationFieldRegulizer::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(DeformationFieldRegulizer)
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::IntermediaryDFTransformType
DeformationVectorFieldTransform< ScalarType, Self::InputSpaceDimension > IntermediaryDFTransformType
Definition itkDeformationFieldRegulizer.h:77
itk::DeformationFieldRegulizer::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension)
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::IntermediaryDFTransformPointer
typename IntermediaryDFTransformType::Pointer IntermediaryDFTransformPointer
Definition itkDeformationFieldRegulizer.h:78
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::RegionType
typename VectorImageType::RegionType RegionType
Definition itkDeformationFieldRegulizer.h:84
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::VectorImageType
typename IntermediaryDFTransformType ::CoefficientVectorImageType VectorImageType
Definition itkDeformationFieldRegulizer.h:79
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::Self
DeformationFieldRegulizer Self
Definition itkDeformationFieldRegulizer.h:47
itk::DeformationFieldRegulizer::TransformPoint
OutputPointType TransformPoint(const InputPointType &inputPoint) const override
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::m_DeformationFieldRegion
RegionType m_DeformationFieldRegion
Definition itkDeformationFieldRegulizer.h:126
itk::DeformationFieldRegulizer::InitializeDeformationFields
void InitializeDeformationFields()
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::VectorPixelType
typename VectorImageType::PixelType VectorPixelType
Definition itkDeformationFieldRegulizer.h:80
itk::DeformationFieldRegulizer::DeformationFieldRegulizer
DeformationFieldRegulizer()
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::SpacingType
typename VectorImageType::SpacingType SpacingType
Definition itkDeformationFieldRegulizer.h:85
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::m_DeformationFieldOrigin
OriginType m_DeformationFieldOrigin
Definition itkDeformationFieldRegulizer.h:127
itk::DeformationFieldRegulizer::UpdateIntermediaryDeformationFieldTransform
virtual void UpdateIntermediaryDeformationFieldTransform(typename VectorImageType::Pointer vecImage)
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkDeformationFieldRegulizer.h:50
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::m_IntermediaryDeformationFieldTransform
IntermediaryDFTransformPointer m_IntermediaryDeformationFieldTransform
Definition itkDeformationFieldRegulizer.h:122
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::IteratorType
ImageRegionIterator< VectorImageType > IteratorType
Definition itkDeformationFieldRegulizer.h:81
itk::DeformationFieldRegulizer::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension)
itk::DeformationFieldRegulizer::~DeformationFieldRegulizer
~DeformationFieldRegulizer() override=default
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::Pointer
SmartPointer< Self > Pointer
Definition itkDeformationFieldRegulizer.h:49
itk::DeformationFieldRegulizer< itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > >::OriginType
typename VectorImageType::PointType OriginType
Definition itkDeformationFieldRegulizer.h:86
itk::DeformationVectorFieldTransform
An itk transform based on a DeformationVectorField.
Definition itkDeformationVectorFieldTransform.h:48
itk::DeformationVectorFieldTransform< ScalarType, Self::InputSpaceDimension >::Pointer
SmartPointer< Self > Pointer
Definition itkDeformationVectorFieldTransform.h:55
itkDeformationVectorFieldTransform.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |