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
elastix::StatisticalShapePenalty< TElastix > Class Template Reference

#include <elxStatisticalShapePenalty.h>

Detailed Description

template<class TElastix>
class elastix::StatisticalShapePenalty< TElastix >

An metric based on the itk::StatisticalShapePointPenalty.

The parameters used in this class are:

Parameters:

Metric: Select this metric as follows:
(Metric "StatisticalShapePenalty")

ShrinkageIntensity: The mixing ratio ($\beta$) of the provided covariance matrix and an identity matrix. $\Sigma' = (1-\beta)\Sigma + \beta \sigma_0^2 I$ Can be defined for each resolution
example: (ShrinkageIntensity 0.2)

BaseVariance: The width ($\sigma_0^2$) of the non-informative prior. Can be defined for each resolution
example: (BaseVariance 1000.0)

Author
F.F. Berendsen, Image Sciences Institute, UMC Utrecht, The Netherlands
Note
This work was funded by the projects Care4Me and Mediate.
If you use the StatisticalShapePenalty anywhere we would appreciate if you cite the following article:
F.F. Berendsen et al., Free-form image registration regularized by a statistical shape model: application to organ segmentation in cervical MR, Comput. Vis. Image Understand. (2013), http://dx.doi.org/10.1016/j.cviu.2012.12.006

Definition at line 58 of file elxStatisticalShapePenalty.h.

+ Inheritance diagram for elastix::StatisticalShapePenalty< TElastix >:

Public Types

typedef itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro(FixedImageDimension) > CombinationTransformType
 
typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass1::CoordinateRepresentationType CoordinateRepresentationType
 
typedef OutputPointType::CoordRepType CoordRepType
 
typedef Superclass1::DerivativeType DerivativeType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass1::FixedImageMaskType FixedImageMaskType
 
typedef Superclass2::FixedImageType FixedImageType
 
typedef Superclass1::FixedPointSetConstPointer FixedPointSetConstPointer
 
typedef Superclass1::FixedPointSetType FixedPointSetType
 
typedef FixedImageType ImageType
 
typedef CombinationTransformType::InitialTransformType InitialTransformType
 
typedef Superclass1::InputPointType InputPointType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MeasureType MeasureType
 
typedef Superclass1::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass1::MovingImageMaskType MovingImageMaskType
 
typedef Superclass2::MovingImageType MovingImageType
 
typedef Superclass1::MovingPointSetConstPointer MovingPointSetConstPointer
 
typedef Superclass1::MovingPointSetType MovingPointSetType
 
typedef itk::Object ObjectType
 
typedef Superclass1::OutputPointType OutputPointType
 
typedef Superclass1::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef FixedPointSetType PointSetType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef StatisticalShapePenalty Self
 
typedef StatisticalShapePointPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetTypeSuperclass1
 
typedef MetricBase< TElastix > Superclass2
 
typedef Superclass1::TransformJacobianType TransformJacobianType
 
typedef Superclass1::TransformParametersType TransformParametersType
 
typedef Superclass1::TransformPointer TransformPointer
 
typedef Superclass1::TransformType TransformType
 
typedef vnl_vector< CoordRepTypeVnlVectorType
 
- Public Types inherited from itk::StatisticalShapePointPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
typedef SmartPointer< const SelfConstPointer
 
typedef OutputPointType::CoordRepType CoordRepType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::DerivativeValueType DerivativeValueType
 
typedef Superclass::FixedPointSetConstPointer FixedPointSetConstPointer
 
typedef Superclass::FixedPointSetType FixedPointSetType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingPointSetConstPointer MovingPointSetConstPointer
 
typedef Superclass::MovingPointSetType MovingPointSetType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef vnl_svd_economy< CoordRepTypePCACovarianceType
 
typedef Superclass::PointDataIterator PointDataIterator
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointIterator PointIterator
 
typedef std::vector< VnlVectorType * > ProposalDerivativeType
 
typedef StatisticalShapePointPenalty Self
 
typedef SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetTypeSuperclass
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
typedef vnl_matrix< CoordRepTypeVnlMatrixType
 
typedef vnl_vector< CoordRepTypeVnlVectorType
 
- Public Types inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
 
typedef FixedImageMaskType::Pointer FixedImageMaskPointer
 
typedef SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension) > FixedImageMaskType
 
typedef FixedPointSetType::ConstPointer FixedPointSetConstPointer
 
typedef FixedPointSetType::PixelType FixedPointSetPixelType
 
typedef MetricBase< TElastix >::FixedPointSetType FixedPointSetType
 
typedef TransformType::InputPointType InputPointType
 
typedef Superclass::MeasureType MeasureType
 
typedef MovingImageMaskType::ConstPointer MovingImageMaskConstPointer
 
typedef MovingImageMaskType::Pointer MovingImageMaskPointer
 
typedef SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension) > MovingImageMaskType
 
typedef MovingPointSetType::ConstPointer MovingPointSetConstPointer
 
typedef MovingPointSetType::PixelType MovingPointSetPixelType
 
typedef MetricBase< TElastix >::MovingPointSetType MovingPointSetType
 
typedef TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef TransformType::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
 
typedef SmartPointer< SelfPointer
 
typedef FixedPointSetType::PointsContainer::ConstIterator PointIterator
 
typedef SingleValuedPointSetToPointSetMetric Self
 
typedef SingleValuedCostFunction Superclass
 
typedef TransformType::JacobianType TransformJacobianType
 
typedef TransformType::ParametersType TransformParametersType
 
typedef TransformType::Pointer TransformPointer
 
typedef AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
 
- Public Types inherited from elastix::MetricBase< TElastix >
typedef itk::AdvancedImageToImageMetric< FixedImageType, MovingImageTypeAdvancedMetricType
 
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef ITKBaseType::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
 
typedef FixedImageType::PointType FixedPointType
 
typedef FixedPointType::ValueType FixedPointValueType
 
typedef AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
 
typedef itk::SingleValuedCostFunction ITKBaseType
 
typedef ITKBaseType::MeasureType MeasureType
 
typedef AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
 
typedef MovingImageType::PointType MovingPointType
 
typedef MovingPointType::ValueType MovingPointValueType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef MetricBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

void BeforeEachResolution (void) override
 
void BeforeRegistration (void) override
 
 elxClassNameMacro ("StatisticalShapePenalty")
 
virtual const char * GetClassName () const
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
unsigned int ReadLandmarks (const std::string &landmarkFileName, typename PointSetType::Pointer &pointSet, const typename ImageType::ConstPointer image)
 
unsigned int ReadShape (const std::string &ShapeFileName, typename PointSetType::Pointer &pointSet, const typename ImageType::ConstPointer image)
 
void SelectNewSamples (void) override
 
- Public Member Functions inherited from itk::StatisticalShapePointPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
virtual void BaseVarianceNeedsUpdateOff ()
 
virtual void BaseVarianceNeedsUpdateOn ()
 
virtual MeasureType GetBaseVariance ()
 
virtual MeasureType GetCentroidXVariance ()
 
virtual MeasureType GetCentroidYVariance ()
 
virtual MeasureType GetCentroidZVariance ()
 
virtual const char * GetClassName () const
 
virtual MeasureType GetCutOffSharpness ()
 
virtual MeasureType GetCutOffValue ()
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &Derivative) const override
 
virtual const boolGetNormalizedShapeModel ()
 
virtual const intGetShapeModelCalculation ()
 
virtual MeasureType GetShrinkageIntensity ()
 
virtual MeasureType GetSizeVariance ()
 
MeasureType GetValue (const TransformParametersType &parameters) const override
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
 
void Initialize (void) override
 
virtual void NormalizedShapeModelOff ()
 
virtual void NormalizedShapeModelOn ()
 
virtual void SetBaseVariance (MeasureType _arg)
 
virtual void SetBaseVarianceNeedsUpdate (bool _arg)
 
virtual void SetCentroidXVariance (MeasureType _arg)
 
virtual void SetCentroidYVariance (MeasureType _arg)
 
virtual void SetCentroidZVariance (MeasureType _arg)
 
virtual void SetCovarianceMatrix (const vnl_matrix< double > *_arg)
 
virtual void SetCutOffSharpness (MeasureType _arg)
 
virtual void SetCutOffValue (MeasureType _arg)
 
virtual void SetEigenValues (const vnl_vector< double > *_arg)
 
virtual void SetEigenVectors (const vnl_matrix< double > *_arg)
 
virtual void SetMeanVector (const vnl_vector< double > *_arg)
 
virtual void SetNormalizedShapeModel (bool _arg)
 
virtual void SetShapeModelCalculation (int _arg)
 
virtual void SetShrinkageIntensity (MeasureType _arg)
 
virtual void SetShrinkageIntensityNeedsUpdate (bool _arg)
 
virtual void SetSizeVariance (MeasureType _arg)
 
virtual void SetVariancesNeedsUpdate (bool _arg)
 
virtual void ShrinkageIntensityNeedsUpdateOff ()
 
virtual void ShrinkageIntensityNeedsUpdateOn ()
 
virtual void VariancesNeedsUpdateOff ()
 
virtual void VariancesNeedsUpdateOn ()
 
- Public Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const char * GetClassName () const
 
virtual const FixedImageMaskTypeGetFixedImageMask ()
 
virtual const FixedPointSetTypeGetFixedPointSet ()
 
virtual const MovingImageMaskTypeGetMovingImageMask ()
 
virtual const MovingPointSetTypeGetMovingPointSet ()
 
unsigned int GetNumberOfParameters (void) const override
 
virtual const TransformTypeGetTransform ()
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual void Initialize (void)
 
 itkStaticConstMacro (FixedPointSetDimension, unsigned int, TFixedPointSet::PointDimension)
 
 itkStaticConstMacro (MovingPointSetDimension, unsigned int, TMovingPointSet::PointDimension)
 
virtual void SetFixedImageMask (const FixedImageMaskType *_arg)
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual void SetMovingImageMask (const MovingImageMaskType *_arg)
 
virtual void SetMovingPointSet (const MovingPointSetType *_arg)
 
virtual void SetTransform (TransformType *_arg)
 
void SetTransformParameters (const ParametersType &parameters) const
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 
- Public Member Functions inherited from elastix::MetricBase< TElastix >
void AfterEachIterationBase (void) override
 
void BeforeEachResolutionBase (void) override
 
virtual ImageSamplerBaseTypeGetAdvancedMetricImageSampler (void) const
 
virtual bool GetAdvancedMetricUseImageSampler (void) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual MeasureType GetCurrentExactMetricValue (void) const
 
virtual bool GetShowExactMetricValue (void) const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SelectNewSamples (void)
 
virtual void SetAdvancedMetricImageSampler (ImageSamplerBaseType *sampler)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
ConfigurationTypeGetConfiguration (void) const
 
ElastixTypeGetElastix (void) const
 
RegistrationPointer GetRegistration (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE)
 
void SetConfiguration (ConfigurationType *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual const char * elxGetClassName (void) const
 
const char * GetComponentLabel (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::StatisticalShapePointPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
static Pointer New ()
 
- Static Public Member Functions inherited from elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

 StatisticalShapePenalty ()
 
 ~StatisticalShapePenalty () override
 
- Protected Member Functions inherited from itk::StatisticalShapePointPenalty< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 StatisticalShapePointPenalty ()
 
 ~StatisticalShapePointPenalty () override
 
- Protected Member Functions inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 SingleValuedPointSetToPointSetMetric ()
 
 ~SingleValuedPointSetToPointSetMetric () override
 
- Protected Member Functions inherited from elastix::MetricBase< TElastix >
virtual MeasureType GetExactValue (const ParametersType &parameters)
 
 MetricBase ()
 
 ~MetricBase () override
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from elastix::MetricBase< TElastix >
typedef ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
 
typedef itk::ImageGridSampler< FixedImageTypeExactMetricImageSamplerType
 
typedef ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
 
typedef ITKBaseType::ParametersType ParametersType
 
- Protected Attributes inherited from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >
FixedImageMaskConstPointer m_FixedImageMask
 
FixedPointSetConstPointer m_FixedPointSet
 
MovingImageMaskConstPointer m_MovingImageMask
 
MovingPointSetConstPointer m_MovingPointSet
 
unsigned int m_NumberOfPointsCounted
 
TransformPointer m_Transform
 
bool m_UseMetricSingleThreaded
 
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
 
unsigned int m_ExactMetricEachXNumberOfIterations
 
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
 
ExactMetricImageSamplerPointer m_ExactMetricSampler
 
bool m_ShowExactMetricValue
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
ElastixPointer m_Elastix {}
 
RegistrationPointer m_Registration {}
 

Member Typedef Documentation

◆ CombinationTransformType

template<class TElastix >
typedef itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro( FixedImageDimension ) > elastix::StatisticalShapePenalty< TElastix >::CombinationTransformType

Definition at line 122 of file elxStatisticalShapePenalty.h.

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::StatisticalShapePenalty< TElastix >::ConfigurationPointer

Definition at line 130 of file elxStatisticalShapePenalty.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::StatisticalShapePenalty< TElastix >::ConfigurationType

Definition at line 129 of file elxStatisticalShapePenalty.h.

◆ ConstPointer

template<class TElastix >
typedef SmartPointer< const Self > elastix::StatisticalShapePenalty< TElastix >::ConstPointer

Definition at line 73 of file elxStatisticalShapePenalty.h.

◆ CoordinateRepresentationType

template<class TElastix >
typedef Superclass1::CoordinateRepresentationType elastix::StatisticalShapePenalty< TElastix >::CoordinateRepresentationType

Typedefs from the superclass.

Definition at line 89 of file elxStatisticalShapePenalty.h.

◆ CoordRepType

template<class TElastix >
typedef OutputPointType::CoordRepType elastix::StatisticalShapePenalty< TElastix >::CoordRepType

Definition at line 111 of file elxStatisticalShapePenalty.h.

◆ DerivativeType

template<class TElastix >
typedef Superclass1::DerivativeType elastix::StatisticalShapePenalty< TElastix >::DerivativeType

Definition at line 108 of file elxStatisticalShapePenalty.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::StatisticalShapePenalty< TElastix >::ElastixPointer

Definition at line 128 of file elxStatisticalShapePenalty.h.

◆ ElastixType

template<class TElastix >
typedef Superclass2::ElastixType elastix::StatisticalShapePenalty< TElastix >::ElastixType

Typedefs inherited from elastix.

Definition at line 127 of file elxStatisticalShapePenalty.h.

◆ FixedImageMaskPointer

template<class TElastix >
typedef Superclass1::FixedImageMaskPointer elastix::StatisticalShapePenalty< TElastix >::FixedImageMaskPointer

Definition at line 104 of file elxStatisticalShapePenalty.h.

◆ FixedImageMaskType

template<class TElastix >
typedef Superclass1::FixedImageMaskType elastix::StatisticalShapePenalty< TElastix >::FixedImageMaskType

Definition at line 103 of file elxStatisticalShapePenalty.h.

◆ FixedImageType

template<class TElastix >
typedef Superclass2::FixedImageType elastix::StatisticalShapePenalty< TElastix >::FixedImageType

Definition at line 134 of file elxStatisticalShapePenalty.h.

◆ FixedPointSetConstPointer

template<class TElastix >
typedef Superclass1::FixedPointSetConstPointer elastix::StatisticalShapePenalty< TElastix >::FixedPointSetConstPointer

Definition at line 91 of file elxStatisticalShapePenalty.h.

◆ FixedPointSetType

template<class TElastix >
typedef Superclass1::FixedPointSetType elastix::StatisticalShapePenalty< TElastix >::FixedPointSetType

Definition at line 90 of file elxStatisticalShapePenalty.h.

◆ ImageType

template<class TElastix >
typedef FixedImageType elastix::StatisticalShapePenalty< TElastix >::ImageType

Definition at line 149 of file elxStatisticalShapePenalty.h.

◆ InitialTransformType

template<class TElastix >
typedef CombinationTransformType::InitialTransformType elastix::StatisticalShapePenalty< TElastix >::InitialTransformType

Definition at line 124 of file elxStatisticalShapePenalty.h.

◆ InputPointType

template<class TElastix >
typedef Superclass1::InputPointType elastix::StatisticalShapePenalty< TElastix >::InputPointType

Definition at line 98 of file elxStatisticalShapePenalty.h.

◆ ITKBaseType

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::StatisticalShapePenalty< TElastix >::ITKBaseType

Definition at line 133 of file elxStatisticalShapePenalty.h.

◆ MeasureType

template<class TElastix >
typedef Superclass1::MeasureType elastix::StatisticalShapePenalty< TElastix >::MeasureType

Definition at line 107 of file elxStatisticalShapePenalty.h.

◆ MovingImageMaskPointer

template<class TElastix >
typedef Superclass1::MovingImageMaskPointer elastix::StatisticalShapePenalty< TElastix >::MovingImageMaskPointer

Definition at line 106 of file elxStatisticalShapePenalty.h.

◆ MovingImageMaskType

template<class TElastix >
typedef Superclass1::MovingImageMaskType elastix::StatisticalShapePenalty< TElastix >::MovingImageMaskType

Definition at line 105 of file elxStatisticalShapePenalty.h.

◆ MovingImageType

template<class TElastix >
typedef Superclass2::MovingImageType elastix::StatisticalShapePenalty< TElastix >::MovingImageType

Definition at line 135 of file elxStatisticalShapePenalty.h.

◆ MovingPointSetConstPointer

template<class TElastix >
typedef Superclass1::MovingPointSetConstPointer elastix::StatisticalShapePenalty< TElastix >::MovingPointSetConstPointer

Definition at line 93 of file elxStatisticalShapePenalty.h.

◆ MovingPointSetType

template<class TElastix >
typedef Superclass1::MovingPointSetType elastix::StatisticalShapePenalty< TElastix >::MovingPointSetType

Definition at line 92 of file elxStatisticalShapePenalty.h.

◆ ObjectType

template<class TElastix >
typedef itk::Object elastix::StatisticalShapePenalty< TElastix >::ObjectType

Other typedef's.

Definition at line 115 of file elxStatisticalShapePenalty.h.

◆ OutputPointType

template<class TElastix >
typedef Superclass1::OutputPointType elastix::StatisticalShapePenalty< TElastix >::OutputPointType

Definition at line 99 of file elxStatisticalShapePenalty.h.

◆ ParametersType

template<class TElastix >
typedef Superclass1::ParametersType elastix::StatisticalShapePenalty< TElastix >::ParametersType

Definition at line 109 of file elxStatisticalShapePenalty.h.

◆ Pointer

template<class TElastix >
typedef SmartPointer< Self > elastix::StatisticalShapePenalty< TElastix >::Pointer

Definition at line 72 of file elxStatisticalShapePenalty.h.

◆ PointSetType

template<class TElastix >
typedef FixedPointSetType elastix::StatisticalShapePenalty< TElastix >::PointSetType

Assuming fixed and moving pointsets are of equal type, which implicitly assumes that the fixed and moving image are of the same type.

Definition at line 148 of file elxStatisticalShapePenalty.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::StatisticalShapePenalty< TElastix >::RegistrationPointer

Definition at line 132 of file elxStatisticalShapePenalty.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass2::RegistrationType elastix::StatisticalShapePenalty< TElastix >::RegistrationType

Definition at line 131 of file elxStatisticalShapePenalty.h.

◆ Self

template<class TElastix >
typedef StatisticalShapePenalty elastix::StatisticalShapePenalty< TElastix >::Self

Standard ITK-stuff.

Definition at line 67 of file elxStatisticalShapePenalty.h.

◆ Superclass1

template<class TElastix >
typedef StatisticalShapePointPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetType > elastix::StatisticalShapePenalty< TElastix >::Superclass1

Definition at line 70 of file elxStatisticalShapePenalty.h.

◆ Superclass2

template<class TElastix >
typedef MetricBase< TElastix > elastix::StatisticalShapePenalty< TElastix >::Superclass2

Definition at line 71 of file elxStatisticalShapePenalty.h.

◆ TransformJacobianType

template<class TElastix >
typedef Superclass1::TransformJacobianType elastix::StatisticalShapePenalty< TElastix >::TransformJacobianType

Definition at line 101 of file elxStatisticalShapePenalty.h.

◆ TransformParametersType

template<class TElastix >
typedef Superclass1::TransformParametersType elastix::StatisticalShapePenalty< TElastix >::TransformParametersType

Definition at line 100 of file elxStatisticalShapePenalty.h.

◆ TransformPointer

template<class TElastix >
typedef Superclass1::TransformPointer elastix::StatisticalShapePenalty< TElastix >::TransformPointer

Definition at line 97 of file elxStatisticalShapePenalty.h.

◆ TransformType

template<class TElastix >
typedef Superclass1::TransformType elastix::StatisticalShapePenalty< TElastix >::TransformType

Definition at line 96 of file elxStatisticalShapePenalty.h.

◆ VnlVectorType

template<class TElastix >
typedef vnl_vector< CoordRepType > elastix::StatisticalShapePenalty< TElastix >::VnlVectorType

Definition at line 112 of file elxStatisticalShapePenalty.h.

Constructor & Destructor Documentation

◆ StatisticalShapePenalty() [1/2]

template<class TElastix >
elastix::StatisticalShapePenalty< TElastix >::StatisticalShapePenalty ( )
inlineprotected

The constructor.

Definition at line 181 of file elxStatisticalShapePenalty.h.

◆ ~StatisticalShapePenalty()

template<class TElastix >
elastix::StatisticalShapePenalty< TElastix >::~StatisticalShapePenalty ( )
inlineoverrideprotected

The destructor.

Definition at line 183 of file elxStatisticalShapePenalty.h.

◆ StatisticalShapePenalty() [2/2]

template<class TElastix >
elastix::StatisticalShapePenalty< TElastix >::StatisticalShapePenalty ( const Self )
private

The private constructor.

Member Function Documentation

◆ BeforeEachResolution()

template<class TElastix >
void elastix::StatisticalShapePenalty< TElastix >::BeforeEachResolution ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ BeforeRegistration()

template<class TElastix >
void elastix::StatisticalShapePenalty< TElastix >::BeforeRegistration ( void  )
overridevirtual

Do some things before registration:

  • Load and set the pointsets.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::StatisticalShapePenalty< TElastix >::elxClassNameMacro ( "StatisticalShapePenalty< TElastix >"  )

Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "StatisticalShapePenalty")

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::StatisticalShapePenalty< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

◆ Initialize()

template<class TElastix >
void elastix::StatisticalShapePenalty< TElastix >::Initialize ( void  )
overridevirtual

Sets up a timer to measure the initialization time and calls the Superclass' implementation.

Reimplemented from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >.

◆ itkStaticConstMacro() [1/2]

template<class TElastix >
elastix::StatisticalShapePenalty< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned int  ,
FixedImageType::ImageDimension   
)

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

template<class TElastix >
elastix::StatisticalShapePenalty< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned int  ,
MovingImageType::ImageDimension   
)

The moving image dimension.

◆ New()

template<class TElastix >
static Pointer elastix::StatisticalShapePenalty< TElastix >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TElastix >
void elastix::StatisticalShapePenalty< TElastix >::operator= ( const Self )
private

The private copy constructor.

◆ ReadLandmarks()

template<class TElastix >
unsigned int elastix::StatisticalShapePenalty< TElastix >::ReadLandmarks ( const std::string &  landmarkFileName,
typename PointSetType::Pointer &  pointSet,
const typename ImageType::ConstPointer  image 
)

Function to read the corresponding points.

◆ ReadShape()

template<class TElastix >
unsigned int elastix::StatisticalShapePenalty< TElastix >::ReadShape ( const std::string &  ShapeFileName,
typename PointSetType::Pointer &  pointSet,
const typename ImageType::ConstPointer  image 
)

◆ SelectNewSamples()

template<class TElastix >
void elastix::StatisticalShapePenalty< TElastix >::SelectNewSamples ( void  )
inlineoverridevirtual

Overwrite to silence warning.

Reimplemented from elastix::MetricBase< TElastix >.

Definition at line 176 of file elxStatisticalShapePenalty.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo