|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxStatisticalShapePenalty.h>
An metric based on the itk::StatisticalShapePointPenalty.
The parameters used in this class are:
Metric: Select this metric as follows:
(Metric "StatisticalShapePenalty")
ShrinkageIntensity: The mixing ratio ($$) of the provided covariance matrix and an identity matrix. $' = (1-) + ^2 I$ Can be defined for each resolution
example: (ShrinkageIntensity 0.2)
BaseVariance: The width ($^2$) of the non-informative prior. Can be defined for each resolution
example: (BaseVariance 1000.0)
Definition at line 59 of file elxStatisticalShapePenalty.h.
Inheritance diagram for elastix::StatisticalShapePenalty< TElastix >:Public Member Functions | |
| virtual void | BeforeEachResolution (void) |
| virtual void | BeforeRegistration (void) |
| elxClassNameMacro ("StatisticalShapePenalty") | |
| virtual const char * | GetClassName () const |
| virtual void | Initialize (void) throw ( ExceptionObject ) |
| 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) |
| virtual void | SelectNewSamples (void) |
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 MeasureType | GetCutOffSharpness () |
| virtual MeasureType | GetCutOffValue () |
| void | GetDerivative (const TransformParametersType ¶meters, DerivativeType &Derivative) const |
| virtual const bool & | GetNormalizedShapeModel () |
| virtual const int & | GetShapeModelCalculation () |
| virtual MeasureType | GetShrinkageIntensity () |
| virtual MeasureType | GetSizeVariance () |
| MeasureType | GetValue (const TransformParametersType ¶meters) const |
| void | GetValueAndDerivative (const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const |
| void | Initialize (void) throw ( ExceptionObject ) |
| 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 ¶meters) const |
| virtual const FixedImageMaskType * | GetFixedImageMask () |
| virtual const FixedPointSetType * | GetFixedPointSet () |
| virtual const MovingImageMaskType * | GetMovingImageMask () |
| virtual const MovingPointSetType * | GetMovingPointSet () |
| unsigned int | GetNumberOfParameters (void) const |
| virtual const TransformType * | GetTransform () |
| virtual const bool & | GetUseMetricSingleThreaded () |
| itkStaticConstMacro (FixedPointSetDimension, unsigned int, MetricBase< TElastix >::FixedPointSetType ::PointDimension) | |
| itkStaticConstMacro (MovingPointSetDimension, unsigned int, MetricBase< TElastix >::MovingPointSetType ::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 ¶meters) const |
| virtual void | SetUseMetricSingleThreaded (bool _arg) |
| virtual void | UseMetricSingleThreadedOff () |
| virtual void | UseMetricSingleThreadedOn () |
Public Member Functions inherited from elastix::MetricBase< TElastix > | |
| virtual void | AfterEachIterationBase (void) |
| virtual void | BeforeEachResolutionBase (void) |
| virtual ImageSamplerBaseType * | GetAdvancedMetricImageSampler (void) const |
| virtual bool | GetAdvancedMetricUseImageSampler (void) const |
| virtual ITKBaseType * | GetAsITKBaseType (void) |
| virtual const ITKBaseType * | GetAsITKBaseType (void) 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 | SetAdvancedMetricImageSampler (ImageSamplerBaseType *sampler) |
Public Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
| virtual ConfigurationType * | GetConfiguration (void) const |
| virtual ElastixType * | GetElastix (void) const |
| virtual RegistrationPointer | GetRegistration (void) const |
| virtual void | SetConfiguration (ConfigurationType *_arg) |
| virtual void | SetElastix (ElastixType *_arg) |
Public Member Functions inherited from elastix::BaseComponent | |
| virtual void | AfterEachIteration (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 | BeforeRegistrationBase (void) |
| std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) const |
| virtual const char * | elxGetClassName (void) const |
| virtual const char * | GetComponentLabel (void) const |
| itkTypeMacroNoParent (BaseComponent) | |
| virtual 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 () |
Private Member Functions | |
| void | operator= (const Self &) |
| StatisticalShapePenalty (const Self &) | |
| typedef itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro( FixedImageDimension ) > elastix::StatisticalShapePenalty< TElastix >::CombinationTransformType |
Definition at line 123 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::ConfigurationPointer elastix::StatisticalShapePenalty< TElastix >::ConfigurationPointer |
Definition at line 131 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::ConfigurationType elastix::StatisticalShapePenalty< TElastix >::ConfigurationType |
Definition at line 130 of file elxStatisticalShapePenalty.h.
| typedef SmartPointer< const Self > elastix::StatisticalShapePenalty< TElastix >::ConstPointer |
Definition at line 74 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::CoordinateRepresentationType elastix::StatisticalShapePenalty< TElastix >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 90 of file elxStatisticalShapePenalty.h.
| typedef OutputPointType::CoordRepType elastix::StatisticalShapePenalty< TElastix >::CoordRepType |
Definition at line 112 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::DerivativeType elastix::StatisticalShapePenalty< TElastix >::DerivativeType |
Definition at line 109 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::ElastixPointer elastix::StatisticalShapePenalty< TElastix >::ElastixPointer |
Definition at line 129 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::ElastixType elastix::StatisticalShapePenalty< TElastix >::ElastixType |
Typedefs inherited from elastix.
Definition at line 128 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::FixedImageMaskPointer elastix::StatisticalShapePenalty< TElastix >::FixedImageMaskPointer |
Definition at line 105 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::FixedImageMaskType elastix::StatisticalShapePenalty< TElastix >::FixedImageMaskType |
Definition at line 104 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::FixedImageType elastix::StatisticalShapePenalty< TElastix >::FixedImageType |
Definition at line 135 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::FixedPointSetConstPointer elastix::StatisticalShapePenalty< TElastix >::FixedPointSetConstPointer |
Definition at line 92 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::FixedPointSetType elastix::StatisticalShapePenalty< TElastix >::FixedPointSetType |
Definition at line 91 of file elxStatisticalShapePenalty.h.
| typedef FixedImageType elastix::StatisticalShapePenalty< TElastix >::ImageType |
Definition at line 150 of file elxStatisticalShapePenalty.h.
| typedef CombinationTransformType::InitialTransformType elastix::StatisticalShapePenalty< TElastix >::InitialTransformType |
Definition at line 125 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::InputPointType elastix::StatisticalShapePenalty< TElastix >::InputPointType |
Definition at line 99 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::ITKBaseType elastix::StatisticalShapePenalty< TElastix >::ITKBaseType |
Definition at line 134 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::MeasureType elastix::StatisticalShapePenalty< TElastix >::MeasureType |
Definition at line 108 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::MovingImageMaskPointer elastix::StatisticalShapePenalty< TElastix >::MovingImageMaskPointer |
Definition at line 107 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::MovingImageMaskType elastix::StatisticalShapePenalty< TElastix >::MovingImageMaskType |
Definition at line 106 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::MovingImageType elastix::StatisticalShapePenalty< TElastix >::MovingImageType |
Definition at line 136 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::MovingPointSetConstPointer elastix::StatisticalShapePenalty< TElastix >::MovingPointSetConstPointer |
Definition at line 94 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::MovingPointSetType elastix::StatisticalShapePenalty< TElastix >::MovingPointSetType |
Definition at line 93 of file elxStatisticalShapePenalty.h.
| typedef itk::Object elastix::StatisticalShapePenalty< TElastix >::ObjectType |
Other typedef's.
Definition at line 116 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::OutputPointType elastix::StatisticalShapePenalty< TElastix >::OutputPointType |
Definition at line 100 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::ParametersType elastix::StatisticalShapePenalty< TElastix >::ParametersType |
Definition at line 110 of file elxStatisticalShapePenalty.h.
| typedef SmartPointer< Self > elastix::StatisticalShapePenalty< TElastix >::Pointer |
Definition at line 73 of file elxStatisticalShapePenalty.h.
| 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 149 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::RegistrationPointer elastix::StatisticalShapePenalty< TElastix >::RegistrationPointer |
Definition at line 133 of file elxStatisticalShapePenalty.h.
| typedef Superclass2::RegistrationType elastix::StatisticalShapePenalty< TElastix >::RegistrationType |
Definition at line 132 of file elxStatisticalShapePenalty.h.
| typedef StatisticalShapePenalty elastix::StatisticalShapePenalty< TElastix >::Self |
Standard ITK-stuff.
Definition at line 68 of file elxStatisticalShapePenalty.h.
| typedef StatisticalShapePointPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetType > elastix::StatisticalShapePenalty< TElastix >::Superclass1 |
Definition at line 71 of file elxStatisticalShapePenalty.h.
| typedef MetricBase< TElastix > elastix::StatisticalShapePenalty< TElastix >::Superclass2 |
Definition at line 72 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::TransformJacobianType elastix::StatisticalShapePenalty< TElastix >::TransformJacobianType |
Definition at line 102 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::TransformParametersType elastix::StatisticalShapePenalty< TElastix >::TransformParametersType |
Definition at line 101 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::TransformPointer elastix::StatisticalShapePenalty< TElastix >::TransformPointer |
Definition at line 98 of file elxStatisticalShapePenalty.h.
| typedef Superclass1::TransformType elastix::StatisticalShapePenalty< TElastix >::TransformType |
Definition at line 97 of file elxStatisticalShapePenalty.h.
| typedef vnl_vector< CoordRepType > elastix::StatisticalShapePenalty< TElastix >::VnlVectorType |
Definition at line 113 of file elxStatisticalShapePenalty.h.
|
inlineprotected |
The constructor.
Definition at line 182 of file elxStatisticalShapePenalty.h.
|
inlineprotectedvirtual |
The destructor.
Definition at line 184 of file elxStatisticalShapePenalty.h.
|
private |
The private constructor.
|
virtual |
Reimplemented from elastix::BaseComponent.
|
virtual |
Do some things before registration:
Reimplemented from elastix::BaseComponent.
| 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")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::MetricBase< TElastix >.
|
virtual | ||||||||||||||
Sets up a timer to measure the initialization time and calls the Superclass' implementation.
Reimplemented from itk::SingleValuedPointSetToPointSetMetric< MetricBase< TElastix >::FixedPointSetType, MetricBase< TElastix >::MovingPointSetType >.
| elastix::StatisticalShapePenalty< TElastix >::itkStaticConstMacro | ( | FixedImageDimension | , |
| unsigned | int, | ||
| FixedImageType::ImageDimension | |||
| ) |
The fixed image dimension.
| elastix::StatisticalShapePenalty< TElastix >::itkStaticConstMacro | ( | MovingImageDimension | , |
| unsigned | int, | ||
| MovingImageType::ImageDimension | |||
| ) |
The moving image dimension.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
| 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.
| unsigned int elastix::StatisticalShapePenalty< TElastix >::ReadShape | ( | const std::string & | ShapeFileName, |
| typename PointSetType::Pointer & | pointSet, | ||
| const typename ImageType::ConstPointer | image | ||
| ) |
|
inlinevirtual |
Overwrite to silence warning.
Reimplemented from elastix::MetricBase< TElastix >.
Definition at line 177 of file elxStatisticalShapePenalty.h.
Generated on OURCE_DATE_EPOCH for elastix by 1.8.13 |