go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType > Class Template Reference

#include <itkDisplacementMagnitudePenaltyTerm.h>

Detailed Description

template<class TFixedImage, class TScalarType>
class itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >

A cost function that calculates $||T(x)-x||^2$.

Definition at line 34 of file itkDisplacementMagnitudePenaltyTerm.h.

+ Inheritance diagram for itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::DerivativeValueType DerivativeValueType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef Superclass::FixedImagePixelType FixedImagePixelType
 
typedef Superclass::FixedImagePointer FixedImagePointer
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass::GradientImageFilterType GradientImageFilterType
 
typedef Superclass::GradientImagePointer GradientImagePointer
 
typedef Superclass::GradientImageType GradientImageType
 
typedef Superclass::GradientPixelType GradientPixelType
 
typedef Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImagePointer MovingImagePointer
 
typedef Superclass::MovingImageType MovingImageType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef Superclass::ScalarType ScalarType
 
typedef DisplacementMagnitudePenaltyTerm Self
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef TransformPenaltyTerm< TFixedImage, TScalarTypeSuperclass
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::TransformPenaltyTerm< TFixedImage, TScalarType >
typedef Superclass::BSplineOrder1TransformPointer BSplineOrder1TransformPointer
 
typedef Superclass::BSplineOrder1TransformType BSplineOrder1TransformType
 
typedef Superclass::BSplineOrder2TransformPointer BSplineOrder2TransformPointer
 
typedef Superclass::BSplineOrder2TransformType BSplineOrder2TransformType
 
typedef Superclass::BSplineOrder3TransformPointer BSplineOrder3TransformPointer
 
typedef Superclass::BSplineOrder3TransformType BSplineOrder3TransformType
 
typedef Superclass::CombinationTransformType CombinationTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::DerivativeValueType DerivativeValueType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef Superclass::FixedImagePixelType FixedImagePixelType
 
typedef Superclass::FixedImagePointer FixedImagePointer
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass::GradientImageFilterType GradientImageFilterType
 
typedef Superclass::GradientImagePointer GradientImagePointer
 
typedef Superclass::GradientImageType GradientImageType
 
typedef Superclass::GradientPixelType GradientPixelType
 
typedef Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass::InputPointType InputPointType
 
typedef TransformType::InternalMatrixType InternalMatrixType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef TransformType::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef TransformType::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImagePointer MovingImagePointer
 
typedef Superclass::MovingImageType MovingImageType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef TScalarType ScalarType
 
typedef TransformPenaltyTerm Self
 
typedef TransformType::SpatialHessianType SpatialHessianType
 
typedef TransformType::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedImageToImageMetric< TFixedImage, TFixedImage > Superclass
 
typedef Superclass::ThreaderType ThreaderType
 
typedef Superclass::ThreadInfoType ThreadInfoType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::AdvancedTransformType TransformType
 
- Public Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
typedef AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > AdvancedTransformType
 
typedef BSplineOrder1TransformType::Pointer BSplineOrder1TransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > BSplineOrder1TransformType
 
typedef BSplineOrder2TransformType::Pointer BSplineOrder2TransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > BSplineOrder2TransformType
 
typedef BSplineOrder3TransformType::Pointer BSplineOrder3TransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > BSplineOrder3TransformType
 
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef FixedImageLimiterType::OutputType FixedImageLimiterOutputType
 
typedef FixedImageLimiterType::Pointer FixedImageLimiterPointer
 
typedef LimiterFunctionBase< RealType, FixedImageDimension > FixedImageLimiterType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskSpatialObject2Type
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef FixedImageType::PixelType FixedImagePixelType
 
typedef FixedImageType::Pointer FixedImagePointer
 
typedef Superclass::FixedImageRegionType FixedImageRegionType
 
typedef Superclass::FixedImageType FixedImageType
 
typedef Superclass::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass::GradientImageFilterType GradientImageFilterType
 
typedef Superclass::GradientImagePointer GradientImagePointer
 
typedef Superclass::GradientImageType GradientImageType
 
typedef Superclass::GradientPixelType GradientPixelType
 
typedef vnl_sparse_matrix< HessianValueTypeHessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
 
typedef ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase< FixedImageTypeImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef FixedArray< double, Self::MovingImageDimension > MovingImageDerivativeScalesType
 
typedef MovingImageLimiterType::OutputType MovingImageLimiterOutputType
 
typedef MovingImageLimiterType::Pointer MovingImageLimiterPointer
 
typedef LimiterFunctionBase< RealType, MovingImageDimension > MovingImageLimiterType
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(MovingImageDimension) > MovingImageMaskSpatialObject2Type
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef MovingImageType::Pointer MovingImagePointer
 
typedef MovingImageType::RegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef AdvancedTransformType::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef TransformType::ScalarType ScalarType
 
typedef AdvancedImageToImageMetric Self
 
typedef ImageToImageMetric< TFixedImage, TFixedImage > Superclass
 
typedef itk::PlatformMultiThreader ThreaderType
 
typedef ThreaderType::WorkUnitInfo ThreadInfoType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 

Public Member Functions

virtual const char * GetClassName () const
 
void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const override
 
MeasureType GetValue (const ParametersType &parameters) const override
 
void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
- Public Member Functions inherited from itk::TransformPenaltyTerm< TFixedImage, TScalarType >
virtual const char * GetClassName () const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const char * GetClassName () const
 
virtual const FixedImageLimiterTypeGetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerTypeGetImageSampler (void) const
 
virtual const MovingImageDerivativeScalesTypeGetMovingImageDerivativeScales ()
 
virtual const MovingImageLimiterTypeGetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
virtual bool GetScaleGradientWithRespectToMovingImageOrientation () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
const AdvancedTransformTypeGetTransform (void) const override
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const boolGetUseMultiThread ()
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 
virtual void SetFixedImageLimiter (FixedImageLimiterType *_arg)
 
virtual void SetFixedLimitRangeRatio (double _arg)
 
virtual void SetImageSampler (ImageSamplerType *_arg)
 
virtual void SetMovingImageDerivativeScales (MovingImageDerivativeScalesType _arg)
 
virtual void SetMovingImageLimiter (MovingImageLimiterType *_arg)
 
virtual void SetMovingLimitRangeRatio (double _arg)
 
virtual void SetNumberOfWorkUnits (ThreadIdType numberOfThreads)
 
virtual void SetRequiredRatioOfValidSamples (double _arg)
 
virtual void SetScaleGradientWithRespectToMovingImageOrientation (bool _arg)
 
virtual void SetTransform (AdvancedTransformType *arg)
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void SetUseMovingImageDerivativeScales (bool _arg)
 
virtual void SetUseMultiThread (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 
virtual void UseMultiThreadOff ()
 
virtual void UseMultiThreadOn ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

typedef Superclass::FixedImageIndexType FixedImageIndexType
 
typedef Superclass::FixedImageIndexValueType FixedImageIndexValueType
 
typedef Superclass::FixedImagePointType FixedImagePointType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageIndexType MovingImageIndexType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
- Protected Types inherited from itk::TransformPenaltyTerm< TFixedImage, TScalarType >
typedef Superclass::FixedImageIndexType FixedImageIndexType
 
typedef Superclass::FixedImageIndexValueType FixedImageIndexValueType
 
typedef Superclass::FixedImagePointType FixedImagePointType
 
typedef Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
 
typedef Superclass::MovingImageIndexType MovingImageIndexType
 
typedef Superclass::MovingImagePointType MovingImagePointType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
- Protected Types inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
typedef BSplineInterpolatorFloatType::Pointer BSplineInterpolatorFloatPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, floatBSplineInterpolatorFloatType
 
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, doubleBSplineInterpolatorType
 
typedef CentralDifferenceGradientFilterType::Pointer CentralDifferenceGradientFilterPointer
 
typedef GradientImageFilter< MovingImageType, RealType, RealTypeCentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef FixedImageIndexType::IndexValueType FixedImageIndexValueType
 
typedef TransformType::InputPointType FixedImagePointType
 
typedef LinearInterpolatorType::Pointer LinearInterpolatorPointer
 
typedef AdvancedLinearInterpolateImageFunction< MovingImageType, CoordinateRepresentationTypeLinearInterpolatorType
 
typedef InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
 
typedef BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
 
typedef MovingImageType::IndexType MovingImageIndexType
 
typedef TransformType::OutputPointType MovingImagePointType
 
typedef AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef ReducedBSplineInterpolatorType::Pointer ReducedBSplineInterpolatorPointer
 
typedef ReducedDimensionBSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, doubleReducedBSplineInterpolatorType
 

Protected Member Functions

 DisplacementMagnitudePenaltyTerm ()
 
 ~DisplacementMagnitudePenaltyTerm () override
 
- Protected Member Functions inherited from itk::TransformPenaltyTerm< TFixedImage, TScalarType >
virtual bool CheckForBSplineTransform2 (BSplineOrder3TransformPointer &bspline) const
 
 TransformPenaltyTerm ()
 
 ~TransformPenaltyTerm () override
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
 AdvancedImageToImageMetric ()
 
virtual void AfterThreadedGetValue (MeasureType &value) const
 
virtual void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const
 
virtual void CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (void)
 
virtual void CheckForBSplineTransform (void) const
 
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
 
virtual bool EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const
 
virtual bool EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const
 
virtual void EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const
 
virtual void InitializeImageSampler (void)
 
virtual void InitializeLimiters (void)
 
virtual void InitializeThreadingParameters (void) const
 
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct)
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct)
 
void LaunchGetValueAndDerivativeThreaderCallback (void) const
 
void LaunchGetValueThreaderCallback (void) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetUseFixedImageLimiter (bool _arg)
 
virtual void SetUseImageSampler (bool _arg)
 
virtual void SetUseMovingImageLimiter (bool _arg)
 
virtual void ThreadedGetValue (ThreadIdType threadID)
 
virtual void ThreadedGetValueAndDerivative (ThreadIdType threadID)
 
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
 
 ~AdvancedImageToImageMetric () override
 

Private Member Functions

 DisplacementMagnitudePenaltyTerm (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueAndDerivativeThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION GetValueThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
AdvancedTransformType::Pointer m_AdvancedTransform
 
BSplineInterpolatorPointer m_BSplineInterpolator
 
BSplineInterpolatorFloatPointer m_BSplineInterpolatorFloat
 
CentralDifferenceGradientFilterPointer m_CentralDifferenceGradientFilter
 
FixedImageLimiterPointer m_FixedImageLimiter
 
FixedImageLimiterOutputType m_FixedImageMaxLimit
 
FixedImageLimiterOutputType m_FixedImageMinLimit
 
FixedImagePixelType m_FixedImageTrueMax
 
FixedImagePixelType m_FixedImageTrueMin
 
double m_FixedLimitRangeRatio
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
AlignedGetValuePerThreadStruct * m_GetValuePerThreadVariables
 
ThreadIdType m_GetValuePerThreadVariablesSize
 
ImageSamplerPointer m_ImageSampler
 
bool m_InterpolatorIsBSpline
 
bool m_InterpolatorIsBSplineFloat
 
bool m_InterpolatorIsLinear
 
bool m_InterpolatorIsReducedBSpline
 
LinearInterpolatorPointer m_LinearInterpolator
 
MovingImageLimiterPointer m_MovingImageLimiter
 
MovingImageLimiterOutputType m_MovingImageMaxLimit
 
MovingImageLimiterOutputType m_MovingImageMinLimit
 
MovingImagePixelType m_MovingImageTrueMax
 
MovingImagePixelType m_MovingImageTrueMin
 
double m_MovingLimitRangeRatio
 
ReducedBSplineInterpolatorPointer m_ReducedBSplineInterpolator
 
MultiThreaderParameterType m_ThreaderMetricParameters
 
bool m_TransformIsAdvanced
 
bool m_TransformIsBSpline
 
bool m_UseMetricSingleThreaded
 
bool m_UseMultiThread
 
bool m_UseOpenMP
 

Member Typedef Documentation

◆ ConstPointer

template<class TFixedImage , class TScalarType >
typedef SmartPointer< const Self > itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ConstPointer

Definition at line 44 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ CoordinateRepresentationType

template<class TFixedImage , class TScalarType >
typedef Superclass::CoordinateRepresentationType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::CoordinateRepresentationType

Typedefs inherited from the superclass.

Definition at line 53 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ DerivativeType

template<class TFixedImage , class TScalarType >
typedef Superclass::DerivativeType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DerivativeType

Definition at line 81 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ DerivativeValueType

template<class TFixedImage , class TScalarType >
typedef Superclass::DerivativeValueType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DerivativeValueType

Definition at line 82 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImageConstPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImageConstPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageConstPointer

Definition at line 60 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImageIndexType

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImageIndexType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageIndexType
protected

Typedefs for indices and points.

Definition at line 123 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImageIndexValueType

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImageIndexValueType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageIndexValueType
protected

Definition at line 124 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImageMaskPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImageMaskPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageMaskPointer

Definition at line 77 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImageMaskType

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImageMaskType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageMaskType

Definition at line 76 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImagePixelType

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImagePixelType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImagePixelType

Definition at line 84 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImagePointer

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImagePointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImagePointer

Definition at line 59 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImagePointType

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImagePointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImagePointType
protected

Definition at line 126 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImageRegionType

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImageRegionType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageRegionType

Definition at line 61 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ FixedImageType

template<class TFixedImage , class TScalarType >
typedef Superclass::FixedImageType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::FixedImageType

Definition at line 58 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ GradientImageFilterPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::GradientImageFilterPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImageFilterPointer

Definition at line 75 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ GradientImageFilterType

template<class TFixedImage , class TScalarType >
typedef Superclass::GradientImageFilterType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImageFilterType

Definition at line 74 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ GradientImagePointer

template<class TFixedImage , class TScalarType >
typedef Superclass::GradientImagePointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImagePointer

Definition at line 73 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ GradientImageType

template<class TFixedImage , class TScalarType >
typedef Superclass::GradientImageType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientImageType

Definition at line 72 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ GradientPixelType

template<class TFixedImage , class TScalarType >
typedef Superclass::GradientPixelType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GradientPixelType

Definition at line 71 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ ImageSampleContainerPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::ImageSampleContainerPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ImageSampleContainerPointer

Definition at line 86 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ ImageSampleContainerType

template<class TFixedImage , class TScalarType >
typedef Superclass::ImageSampleContainerType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ImageSampleContainerType

Definition at line 85 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ InputPointType

template<class TFixedImage , class TScalarType >
typedef Superclass::InputPointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InputPointType

Definition at line 64 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ InternalMatrixType

template<class TFixedImage , class TScalarType >
typedef Superclass::InternalMatrixType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InternalMatrixType

Definition at line 96 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ InterpolatorPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::InterpolatorPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InterpolatorPointer

Definition at line 69 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ InterpolatorType

template<class TFixedImage , class TScalarType >
typedef Superclass::InterpolatorType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::InterpolatorType

Definition at line 68 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ JacobianOfSpatialHessianType

template<class TFixedImage , class TScalarType >
typedef Superclass::JacobianOfSpatialHessianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::JacobianOfSpatialHessianType

Definition at line 95 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ JacobianOfSpatialJacobianType

template<class TFixedImage , class TScalarType >
typedef Superclass::JacobianOfSpatialJacobianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::JacobianOfSpatialJacobianType

Definition at line 92 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MeasureType

template<class TFixedImage , class TScalarType >
typedef Superclass::MeasureType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MeasureType

Definition at line 80 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImageConstPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImageConstPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageConstPointer

Definition at line 57 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImageContinuousIndexType

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImageContinuousIndexType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageContinuousIndexType
protected

Definition at line 128 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImageIndexType

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImageIndexType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageIndexType
protected

Definition at line 125 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImageMaskPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImageMaskPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageMaskPointer

Definition at line 79 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImageMaskType

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImageMaskType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageMaskType

Definition at line 78 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImagePixelType

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImagePixelType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImagePixelType

Definition at line 55 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImagePointer

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImagePointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImagePointer

Definition at line 56 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImagePointType

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImagePointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImagePointType
protected

Definition at line 127 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ MovingImageType

template<class TFixedImage , class TScalarType >
typedef Superclass::MovingImageType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::MovingImageType

Definition at line 54 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ NonZeroJacobianIndicesType

template<class TFixedImage , class TScalarType >
typedef Superclass::NonZeroJacobianIndicesType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::NonZeroJacobianIndicesType
protected

Definition at line 129 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ OutputPointType

template<class TFixedImage , class TScalarType >
typedef Superclass::OutputPointType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::OutputPointType

Definition at line 65 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ ParametersType

template<class TFixedImage , class TScalarType >
typedef Superclass::ParametersType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ParametersType

Definition at line 83 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ Pointer

template<class TFixedImage , class TScalarType >
typedef SmartPointer< Self > itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::Pointer

Definition at line 43 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ RealType

template<class TFixedImage , class TScalarType >
typedef Superclass::RealType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::RealType

Definition at line 70 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ ScalarType

template<class TFixedImage , class TScalarType >
typedef Superclass::ScalarType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::ScalarType

Definition at line 87 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ Self

template<class TFixedImage , class TScalarType >
typedef DisplacementMagnitudePenaltyTerm itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::Self

Standard ITK stuff.

Definition at line 40 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ SpatialHessianType

template<class TFixedImage , class TScalarType >
typedef Superclass::SpatialHessianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::SpatialHessianType

Definition at line 93 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ SpatialJacobianType

template<class TFixedImage , class TScalarType >
typedef Superclass::SpatialJacobianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::SpatialJacobianType

Typedefs from the AdvancedTransform.

Definition at line 90 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ Superclass

template<class TFixedImage , class TScalarType >
typedef TransformPenaltyTerm< TFixedImage, TScalarType > itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::Superclass

Definition at line 42 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ TransformJacobianType

template<class TFixedImage , class TScalarType >
typedef Superclass::TransformJacobianType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformJacobianType

Definition at line 67 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ TransformParametersType

template<class TFixedImage , class TScalarType >
typedef Superclass::TransformParametersType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformParametersType

Definition at line 66 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ TransformPointer

template<class TFixedImage , class TScalarType >
typedef Superclass::TransformPointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformPointer

Definition at line 63 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ TransformType

template<class TFixedImage , class TScalarType >
typedef Superclass::TransformType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::TransformType

Definition at line 62 of file itkDisplacementMagnitudePenaltyTerm.h.

Constructor & Destructor Documentation

◆ DisplacementMagnitudePenaltyTerm() [1/2]

template<class TFixedImage , class TScalarType >
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DisplacementMagnitudePenaltyTerm ( )
protected

The constructor.

◆ ~DisplacementMagnitudePenaltyTerm()

template<class TFixedImage , class TScalarType >
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::~DisplacementMagnitudePenaltyTerm ( )
inlineoverrideprotected

The destructor.

Definition at line 135 of file itkDisplacementMagnitudePenaltyTerm.h.

◆ DisplacementMagnitudePenaltyTerm() [2/2]

template<class TFixedImage , class TScalarType >
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::DisplacementMagnitudePenaltyTerm ( const Self )
private

PrintSelf. * void PrintSelf( std::ostream& os, Indent indent ) const; The private constructor.

Member Function Documentation

◆ GetClassName()

template<class TFixedImage , class TScalarType >
virtual const char * itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TransformPenaltyTerm< TFixedImage, TScalarType >.

Reimplemented in elastix::DisplacementMagnitudePenalty< TElastix >.

◆ GetDerivative()

template<class TFixedImage , class TScalarType >
void itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetDerivative ( const ParametersType parameters,
DerivativeType derivative 
) const
override

Get the penalty term derivative. Simply calls GetValueAndDerivative and returns the derivative.

◆ GetValue()

template<class TFixedImage , class TScalarType >
MeasureType itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetValue ( const ParametersType parameters) const
override

Get the penalty term value.

\[ Value = 1/N sum_x ||T(x) - x||^2 \]

◆ GetValueAndDerivative()

template<class TFixedImage , class TScalarType >
void itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::GetValueAndDerivative ( const ParametersType parameters,
MeasureType value,
DerivativeType derivative 
) const
override

Get the penalty term value and derivative.

\[ Value = C(\mu) = 1/N sum_x ||T_{\mu}(x) - x||^2 \]

\[ Derivative = \frac{\partial C}{\partial\mu} = 2/N sum_x (T_{\mu}(x)-x)' \frac{\partial T}{\partial \mu} \]

◆ itkStaticConstMacro()

template<class TFixedImage , class TScalarType >
itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned int  ,
FixedImageType::ImageDimension   
)

Define the dimension.

◆ New()

template<class TFixedImage , class TScalarType >
static Pointer itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TFixedImage , class TScalarType >
void itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >::operator= ( const Self )
private

The private copy constructor.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo