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 Member Functions | Private Member Functions | Private Attributes
itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType > Class Template Reference

#include <itkTransformRigidityPenaltyTerm.h>

Detailed Description

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

A cost function that calculates a rigidity penalty term.

A cost function that calculates a rigidity penalty term based on the B-spline coefficients of a B-spline transformation. This penalty term is a function of the 1st and 2nd order spatial derivatives of a transformation.

The intended use for this metric is to filter a B-spline coefficient image in order to calculate a rigidity penalty term on a B-spline transform.

The RigidityPenaltyTermValueImageFilter at each pixel location is computed by convolution with some separable 1D kernels.

The rigid penalty term penalizes deviations from a rigid transformation at regions specified by the so-called rigidity images.

This metric only works with B-splines as a transformation model.

References:
[1] M. Staring, S. Klein and J.P.W. Pluim, "A Rigidity Penalty Term for Nonrigid Registration," Medical Physics, vol. 34, no. 11, pp. 4098 - 4108, November 2007.

See also
BSplineTransform

Definition at line 71 of file itkTransformRigidityPenaltyTerm.h.

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

Public Types

typedef BSplineTransformType::Pointer BSplineTransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > BSplineTransformType
 
typedef ImageRegionIterator< CoefficientImageType > CoefficientImageIteratorType
 
typedef CoefficientImageType::Pointer CoefficientImagePointer
 
typedef CoefficientImageType::SpacingType CoefficientImageSpacingType
 
typedef BSplineTransformType::ImageType CoefficientImageType
 
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
typedef SmartPointer< const Self > ConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::DerivativeValueType DerivativeValueType
 
typedef DilateFilterType::Pointer DilateFilterPointer
 
typedef GrayscaleDilateImageFilter< RigidityImageType, RigidityImageType, StructuringElementType > DilateFilterType
 
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 BSplineTransformType::SpacingType GridSpacingType
 
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 NeighborhoodIterator< CoefficientImageType > NeighborhoodIteratorType
 
typedef NeighborhoodType::SizeType NeighborhoodSizeType
 
typedef Neighborhood< ScalarType, itkGetStaticConstMacro(FixedImageDimension) > NeighborhoodType
 
typedef NeighborhoodOperatorImageFilter< CoefficientImageType, CoefficientImageType > NOIFType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< Self > Pointer
 
typedef NeighborhoodIteratorType::RadiusType RadiusType
 
typedef Superclass::RealType RealType
 
typedef RigidityImageType::IndexType RigidityImageIndexType
 
typedef ImageRegionIterator< RigidityImageType > RigidityImageIteratorType
 
typedef RigidityImageType::Pointer RigidityImagePointer
 
typedef RigidityImageType::PointType RigidityImagePointType
 
typedef RigidityImageType::RegionType RigidityImageRegionType
 
typedef CoefficientImageType RigidityImageType
 
typedef RigidityImageType::PixelType RigidityPixelType
 
typedef Superclass::ScalarType ScalarType
 
typedef TransformRigidityPenaltyTerm Self
 
typedef StructuringElementType::RadiusType SERadiusType
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef BinaryBallStructuringElement< RigidityPixelType, itkGetStaticConstMacro(FixedImageDimension) > StructuringElementType
 
typedef TransformPenaltyTerm< TFixedImage, TScalarType > Superclass
 
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 SmartPointer< const Self > ConstPointer
 
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< Self > Pointer
 
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 AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > BSplineOrder1TransformType
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > BSplineOrder2TransformType
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > BSplineOrder3TransformType
 
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
typedef SmartPointer< const Self > ConstPointer
 
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 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< HessianValueType > HessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
 
typedef ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase< FixedImageType > ImageSamplerType
 
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 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< Self > Pointer
 
typedef Superclass::RealType RealType
 
typedef TransformType::ScalarType ScalarType
 
typedef AdvancedImageToImageMetric Self
 
typedef ImageToImageMetric< TFixedImage, TFixedImage > Superclass
 
typedef itk::MultiThreader ThreaderType
 
typedef ThreaderType::ThreadInfoStruct ThreadInfoType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 

Public Member Functions

virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
void CheckUseAndCalculationBooleans (void)
 
void FillRigidityCoefficientImage (const ParametersType &parameters) const
 
virtual const char * GetClassName () const
 
virtual void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const
 
virtual const MeasureType & GetLinearityConditionGradientMagnitude ()
 
virtual const MeasureType & GetLinearityConditionValue ()
 
virtual ScalarType GetLinearityConditionWeight ()
 
virtual const MeasureType & GetOrthonormalityConditionGradientMagnitude ()
 
virtual const MeasureType & GetOrthonormalityConditionValue ()
 
virtual ScalarType GetOrthonormalityConditionWeight ()
 
virtual const MeasureType & GetPropernessConditionGradientMagnitude ()
 
virtual const MeasureType & GetPropernessConditionValue ()
 
virtual ScalarType GetPropernessConditionWeight ()
 
virtual MeasureType GetValue (const ParametersType &parameters) const
 
virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 
virtual void Initialize (void) throw ( ExceptionObject )
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (ImageDimension, unsigned int, FixedImageType::ImageDimension)
 
virtual void SetBSplineTransform (BSplineTransformType *_arg)
 
virtual void SetCalculateLinearityCondition (bool _arg)
 
virtual void SetCalculateOrthonormalityCondition (bool _arg)
 
virtual void SetCalculatePropernessCondition (bool _arg)
 
virtual void SetDilateRigidityImages (bool _arg)
 
virtual void SetDilationRadiusMultiplier (CoordinateRepresentationType _arg)
 
virtual void SetFixedRigidityImage (RigidityImageType *_arg)
 
virtual void SetLinearityConditionWeight (ScalarType _arg)
 
virtual void SetMovingRigidityImage (RigidityImageType *_arg)
 
virtual void SetOrthonormalityConditionWeight (ScalarType _arg)
 
virtual void SetPropernessConditionWeight (ScalarType _arg)
 
virtual void SetUseFixedRigidityImage (bool _arg)
 
virtual void SetUseLinearityCondition (bool _arg)
 
virtual void SetUseMovingRigidityImage (bool _arg)
 
virtual void SetUseOrthonormalityCondition (bool _arg)
 
virtual void SetUsePropernessCondition (bool _arg)
 
- Public Member Functions inherited from itk::TransformPenaltyTerm< TFixedImage, TScalarType >
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
virtual const FixedImageLimiterType * GetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerType * GetImageSampler (void) const
 
virtual const MovingImageDerivativeScalesType & GetMovingImageDerivativeScales ()
 
virtual const MovingImageLimiterType * GetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
virtual bool GetScaleGradientWithRespectToMovingImageOrientation () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
const AdvancedTransformType * GetTransform (void) const
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const bool & GetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const bool & GetUseMultiThread ()
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TFixedImage::ImageDimension)
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::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 SetNumberOfThreads (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 Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 
 TransformRigidityPenaltyTerm ()
 
virtual ~TransformRigidityPenaltyTerm ()
 
- Protected Member Functions inherited from itk::TransformPenaltyTerm< TFixedImage, TScalarType >
virtual bool CheckForBSplineTransform (BSplineTransformPointer &bspline) const
 
 TransformPenaltyTerm ()
 
virtual ~TransformPenaltyTerm ()
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
 AdvancedImageToImageMetric ()
 
virtual void AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const
 
virtual void CheckForAdvancedTransform (void)
 
virtual void CheckForBSplineInterpolator (void)
 
virtual void CheckForBSplineTransform (void)
 
virtual void CheckNumberOfSamples (unsigned long wanted, unsigned long found) const
 
virtual void ComputeFixedImageExtrema (const FixedImageType *image, const FixedImageRegionType &region)
 
virtual void ComputeMovingImageExtrema (const MovingImageType *image, const MovingImageRegionType &region)
 
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) throw ( ExceptionObject )
 
virtual void InitializeLimiters (void)
 
virtual void InitializeThreadingParameters (void) const
 
virtual bool IsInsideMovingMask (const MovingImagePointType &point) const
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct)
 
void LaunchGetValueAndDerivativeThreaderCallback (void) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetUseFixedImageLimiter (bool _arg)
 
virtual void SetUseImageSampler (bool _arg)
 
virtual void SetUseMovingImageLimiter (bool _arg)
 
virtual void ThreadedGetValueAndDerivative (ThreadIdType threadID)
 
virtual bool TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const
 
virtual ~AdvancedImageToImageMetric ()
 

Private Member Functions

void Create1DOperator (NeighborhoodType &F, const std::string &whichF, const unsigned int WhichDimension, const CoefficientImageSpacingType &spacing) const
 
void CreateNDOperator (NeighborhoodType &F, const std::string &whichF, const CoefficientImageSpacingType &spacing) const
 
virtual void DilateRigidityImages (void)
 
CoefficientImagePointer FilterSeparable (const CoefficientImageType *, const std::vector< NeighborhoodType > &Operators) const
 
void operator= (const Self &)
 
 TransformRigidityPenaltyTerm (const Self &)
 

Private Attributes

BSplineTransformPointer m_BSplineTransform
 
bool m_CalculateLinearityCondition
 
bool m_CalculateOrthonormalityCondition
 
bool m_CalculatePropernessCondition
 
bool m_DilateRigidityImages
 
CoordinateRepresentationType m_DilationRadiusMultiplier
 
RigidityImagePointer m_FixedRigidityImage
 
RigidityImagePointer m_FixedRigidityImageDilated
 
std::vector< DilateFilterPointer > m_FixedRigidityImageDilation
 
MeasureType m_LinearityConditionGradientMagnitude
 
MeasureType m_LinearityConditionValue
 
ScalarType m_LinearityConditionWeight
 
RigidityImagePointer m_MovingRigidityImage
 
RigidityImagePointer m_MovingRigidityImageDilated
 
std::vector< DilateFilterPointer > m_MovingRigidityImageDilation
 
MeasureType m_OrthonormalityConditionGradientMagnitude
 
MeasureType m_OrthonormalityConditionValue
 
ScalarType m_OrthonormalityConditionWeight
 
MeasureType m_PropernessConditionGradientMagnitude
 
MeasureType m_PropernessConditionValue
 
ScalarType m_PropernessConditionWeight
 
RigidityImagePointer m_RigidityCoefficientImage
 
bool m_RigidityCoefficientImageIsFilled
 
MeasureType m_RigidityPenaltyTermValue
 
bool m_UseFixedRigidityImage
 
bool m_UseLinearityCondition
 
bool m_UseMovingRigidityImage
 
bool m_UseOrthonormalityCondition
 
bool m_UsePropernessCondition
 

Additional Inherited Members

- Protected Types inherited from itk::TransformPenaltyTerm< TFixedImage, TScalarType >
typedef BSplineTransformType::Pointer BSplineTransformPointer
 
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > BSplineTransformType
 
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
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, float > BSplineInterpolatorFloatType
 
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
 
typedef CentralDifferenceGradientFilterType::Pointer CentralDifferenceGradientFilterPointer
 
typedef GradientImageFilter< MovingImageType, RealType, RealType > CentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef FixedImageIndexType::IndexValueType FixedImageIndexValueType
 
typedef TransformType::InputPointType FixedImagePointType
 
typedef LinearInterpolatorType::Pointer LinearInterpolatorPointer
 
typedef AdvancedLinearInterpolateImageFunction< MovingImageType, CoordinateRepresentationType > LinearInterpolatorType
 
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, double > ReducedBSplineInterpolatorType
 
- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >
static ITK_THREAD_RETURN_TYPE AccumulateDerivativesThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_TYPE GetValueAndDerivativeThreaderCallback (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
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
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
 
ReducedBSplineInterpolatorPointer m_ReducedBSplineInterpolator
 
MultiThreaderParameterType m_ThreaderMetricParameters
 
bool m_TransformIsAdvanced
 
bool m_TransformIsBSpline
 
bool m_UseMetricSingleThreaded
 
bool m_UseMultiThread
 
bool m_UseOpenMP
 

Member Typedef Documentation

template<class TFixedImage, class TScalarType>
typedef BSplineTransformType::Pointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::BSplineTransformPointer

Definition at line 146 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::BSplineTransformType

Typedef's for B-spline transform.

Definition at line 145 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef ImageRegionIterator< CoefficientImageType > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::CoefficientImageIteratorType

Definition at line 158 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef CoefficientImageType::Pointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::CoefficientImagePointer

Definition at line 149 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef CoefficientImageType::SpacingType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::CoefficientImageSpacingType

Definition at line 150 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef BSplineTransformType::ImageType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::CoefficientImageType

Definition at line 148 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::CombinationTransformType

Definition at line 152 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 81 of file itkTransformRigidityPenaltyTerm.h.

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

Typedefs inherited from the superclass.

Definition at line 87 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 118 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 119 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef DilateFilterType::Pointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::DilateFilterPointer

Definition at line 179 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef GrayscaleDilateImageFilter< RigidityImageType, RigidityImageType, StructuringElementType > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::DilateFilterType

Definition at line 178 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 97 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 114 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 113 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 121 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 96 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 98 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 95 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 112 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 111 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 110 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 109 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 108 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef BSplineTransformType::SpacingType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GridSpacingType

Definition at line 147 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 123 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 122 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 101 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 133 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 106 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 105 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 132 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 129 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 117 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 94 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 116 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 115 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 92 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 93 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 91 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef NeighborhoodIterator< CoefficientImageType > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::NeighborhoodIteratorType

Definition at line 161 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef NeighborhoodType::SizeType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::NeighborhoodSizeType

Definition at line 157 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef Neighborhood< ScalarType, itkGetStaticConstMacro( FixedImageDimension ) > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::NeighborhoodType

Typedef support for neighborhoods, filters, etc.

Definition at line 156 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef NeighborhoodOperatorImageFilter< CoefficientImageType, CoefficientImageType > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::NOIFType

Definition at line 160 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 102 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 120 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 80 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef NeighborhoodIteratorType::RadiusType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RadiusType

Definition at line 162 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 107 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef RigidityImageType::IndexType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RigidityImageIndexType

Definition at line 169 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef ImageRegionIterator< RigidityImageType > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RigidityImageIteratorType

Definition at line 171 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef RigidityImageType::Pointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RigidityImagePointer

Definition at line 166 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef RigidityImageType::PointType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RigidityImagePointType

Definition at line 170 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef RigidityImageType::RegionType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RigidityImageRegionType

Definition at line 168 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef CoefficientImageType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RigidityImageType

Typedef's for the construction of the rigidity image.

Definition at line 165 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef RigidityImageType::PixelType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::RigidityPixelType

Definition at line 167 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 124 of file itkTransformRigidityPenaltyTerm.h.

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

Standard itk stuff.

Definition at line 77 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef StructuringElementType::RadiusType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SERadiusType

Definition at line 175 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 130 of file itkTransformRigidityPenaltyTerm.h.

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

Typedefs from the AdvancedTransform.

Definition at line 127 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
typedef BinaryBallStructuringElement< RigidityPixelType, itkGetStaticConstMacro( FixedImageDimension ) > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::StructuringElementType

Definition at line 174 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 79 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 104 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 103 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 100 of file itkTransformRigidityPenaltyTerm.h.

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

Definition at line 99 of file itkTransformRigidityPenaltyTerm.h.

Constructor & Destructor Documentation

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

The constructor.

template<class TFixedImage, class TScalarType>
virtual itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::~TransformRigidityPenaltyTerm ( )
inlineprotectedvirtual

The destructor.

Definition at line 298 of file itkTransformRigidityPenaltyTerm.h.

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

The private constructor.

Member Function Documentation

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::BeforeThreadedGetValueAndDerivative ( const TransformParametersType &  parameters) const
virtual

Contains calls from GetValueAndDerivative that are thread-unsafe.

Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >.

template<class TFixedImage, class TScalarType>
void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::CheckUseAndCalculationBooleans ( void  )

Check stuff.

template<class TFixedImage, class TScalarType>
void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::Create1DOperator ( NeighborhoodType &  F,
const std::string &  whichF,
const unsigned int  WhichDimension,
const CoefficientImageSpacingType &  spacing 
) const
private

Private function used for the filtering. It creates 1D separable operators F.

template<class TFixedImage, class TScalarType>
void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::CreateNDOperator ( NeighborhoodType &  F,
const std::string &  whichF,
const CoefficientImageSpacingType &  spacing 
) const
private

Private function used for the filtering. It creates ND inseparable operators F.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::DilateRigidityImages ( void  )
privatevirtual

Internal function to dilate the rigidity images.

template<class TFixedImage, class TScalarType>
void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::FillRigidityCoefficientImage ( const ParametersType &  parameters) const

Function to fill the RigidityCoefficientImage every iteration.

template<class TFixedImage, class TScalarType>
CoefficientImagePointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::FilterSeparable ( const CoefficientImageType *  ,
const std::vector< NeighborhoodType > &  Operators 
) const
private

Private function used for the filtering. It performs 1D separable filtering.

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

Run-time type information (and related methods).

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

Reimplemented in elastix::TransformRigidityPenalty< TElastix >.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetDerivative ( const ParametersType &  parameters,
DerivativeType &  derivative 
) const
virtual

The GetDerivative()-method returns the rigid penalty derivative.

template<class TFixedImage, class TScalarType>
virtual const MeasureType& itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetLinearityConditionGradientMagnitude ( )
virtual

Get the gradient magnitude of the linearity condition.

template<class TFixedImage, class TScalarType>
virtual const MeasureType& itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetLinearityConditionValue ( )
virtual

Get the value of the linearity condition.

template<class TFixedImage, class TScalarType>
virtual ScalarType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetLinearityConditionWeight ( )
virtual
template<class TFixedImage, class TScalarType>
virtual const MeasureType& itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetOrthonormalityConditionGradientMagnitude ( )
virtual

Get the gradient magnitude of the orthonormality condition.

template<class TFixedImage, class TScalarType>
virtual const MeasureType& itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetOrthonormalityConditionValue ( )
virtual

Get the value of the orthonormality condition.

template<class TFixedImage, class TScalarType>
virtual ScalarType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetOrthonormalityConditionWeight ( )
virtual
template<class TFixedImage, class TScalarType>
virtual const MeasureType& itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetPropernessConditionGradientMagnitude ( )
virtual

Get the gradient magnitude of the properness condition.

template<class TFixedImage, class TScalarType>
virtual const MeasureType& itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetPropernessConditionValue ( )
virtual

Get the value of the properness condition.

template<class TFixedImage, class TScalarType>
virtual ScalarType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetPropernessConditionWeight ( )
virtual
template<class TFixedImage, class TScalarType>
virtual MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::GetValue ( const ParametersType &  parameters) const
virtual

The GetValue()-method returns the rigid penalty value.

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

The GetValueAndDerivative()-method returns the rigid penalty value and its derivative.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::Initialize ( void  )
throw (ExceptionObject
)
virtual

Initialize the penalty term.

Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TFixedImage >.

Reimplemented in elastix::TransformRigidityPenalty< TElastix >.

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

Define the dimension.

template<class TFixedImage, class TScalarType>
itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)
template<class TFixedImage, class TScalarType>
itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
FixedImageType::ImageDimension   
)
template<class TFixedImage, class TScalarType>
static Pointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::New ( )
static

Method for creation through the object factory.

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

The private copy constructor.

template<class TFixedImage, class TScalarType>
void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected

PrintSelf.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetBSplineTransform ( BSplineTransformType *  _arg)
virtual

Set the B-spline transform in this class. This class expects a BSplineTransform! It is not suited for others.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetCalculateLinearityCondition ( bool  _arg)
virtual

Set the calculation of the linearity condition part, even if we don't use it.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetCalculateOrthonormalityCondition ( bool  _arg)
virtual

Set the calculation of the orthonormality condition part, even if we don't use it.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetCalculatePropernessCondition ( bool  _arg)
virtual

Set the calculation of the properness condition part., even if we don't use it.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetDilateRigidityImages ( bool  _arg)
virtual

Get the value of the total rigidity penalty term. Set if the RigidityImage's are dilated.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetDilationRadiusMultiplier ( CoordinateRepresentationType  _arg)
virtual

Set the DilationRadiusMultiplier.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetFixedRigidityImage ( RigidityImageType *  _arg)
virtual

Set the fixed coefficient image.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetLinearityConditionWeight ( ScalarType  _arg)
virtual

Set the RigidityImage in this class. Set/Get the weight of the linearity condition part.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetMovingRigidityImage ( RigidityImageType *  _arg)
virtual

Set the moving coefficient image.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetOrthonormalityConditionWeight ( ScalarType  _arg)
virtual

Set/Get the weight of the orthonormality condition part.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetPropernessConditionWeight ( ScalarType  _arg)
virtual

Set/Get the weight of the properness condition part.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetUseFixedRigidityImage ( bool  _arg)
virtual

Set to use the FixedRigidityImage or not.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetUseLinearityCondition ( bool  _arg)
virtual

Set the usage of the linearity condition part.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetUseMovingRigidityImage ( bool  _arg)
virtual

Set to use the MovingRigidityImage or not.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetUseOrthonormalityCondition ( bool  _arg)
virtual

Set the usage of the orthonormality condition part.

template<class TFixedImage, class TScalarType>
virtual void itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::SetUsePropernessCondition ( bool  _arg)
virtual

Set the usage of the properness condition part.

Field Documentation

template<class TFixedImage, class TScalarType>
BSplineTransformPointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_BSplineTransform
private

Member variables.

Definition at line 326 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_CalculateLinearityCondition
private

Definition at line 342 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_CalculateOrthonormalityCondition
private

Definition at line 343 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_CalculatePropernessCondition
private

Definition at line 344 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_DilateRigidityImages
private

Definition at line 348 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
CoordinateRepresentationType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_DilationRadiusMultiplier
private

Rigidity image variables.

Definition at line 347 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
RigidityImagePointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_FixedRigidityImage
private

Definition at line 350 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
RigidityImagePointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_FixedRigidityImageDilated
private

Definition at line 355 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
std::vector< DilateFilterPointer > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_FixedRigidityImageDilation
private

Definition at line 353 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_LinearityConditionGradientMagnitude
mutableprivate

Definition at line 335 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_LinearityConditionValue
mutableprivate

Definition at line 332 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
ScalarType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_LinearityConditionWeight
private

Definition at line 327 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
RigidityImagePointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_MovingRigidityImage
private

Definition at line 351 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
RigidityImagePointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_MovingRigidityImageDilated
private

Definition at line 356 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
std::vector< DilateFilterPointer > itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_MovingRigidityImageDilation
private

Definition at line 354 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_OrthonormalityConditionGradientMagnitude
mutableprivate

Definition at line 336 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_OrthonormalityConditionValue
mutableprivate

Definition at line 333 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
ScalarType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_OrthonormalityConditionWeight
private

Definition at line 328 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_PropernessConditionGradientMagnitude
mutableprivate

Definition at line 337 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_PropernessConditionValue
mutableprivate

Definition at line 334 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
ScalarType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_PropernessConditionWeight
private

Definition at line 329 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
RigidityImagePointer itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_RigidityCoefficientImage
private

Definition at line 352 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_RigidityCoefficientImageIsFilled
mutableprivate

Definition at line 349 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
MeasureType itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_RigidityPenaltyTermValue
mutableprivate

Definition at line 331 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_UseFixedRigidityImage
private

Definition at line 357 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_UseLinearityCondition
private

Definition at line 339 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_UseMovingRigidityImage
private

Definition at line 358 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_UseOrthonormalityCondition
private

Definition at line 340 of file itkTransformRigidityPenaltyTerm.h.

template<class TFixedImage, class TScalarType>
bool itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >::m_UsePropernessCondition
private

Definition at line 341 of file itkTransformRigidityPenaltyTerm.h.



Generated on 25-07-2016 for elastix by doxygen 1.8.11 elastix logo