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 ($\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)
Definition at line 58 of file elxStatisticalShapePenalty.h.
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 ¶meters, DerivativeType &Derivative) const override |
virtual const bool & | GetNormalizedShapeModel () |
virtual const int & | GetShapeModelCalculation () |
virtual MeasureType | GetShrinkageIntensity () |
virtual MeasureType | GetSizeVariance () |
MeasureType | GetValue (const TransformParametersType ¶meters) const override |
void | GetValueAndDerivative (const TransformParametersType ¶meters, 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 ¶meters) const |
virtual const char * | GetClassName () const |
virtual const FixedImageMaskType * | GetFixedImageMask () |
virtual const FixedPointSetType * | GetFixedPointSet () |
virtual const MovingImageMaskType * | GetMovingImageMask () |
virtual const MovingPointSetType * | GetMovingPointSet () |
unsigned int | GetNumberOfParameters (void) const override |
virtual const TransformType * | GetTransform () |
virtual const bool & | GetUseMetricSingleThreaded () |
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 ¶meters) 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 ImageSamplerBaseType * | GetAdvancedMetricImageSampler (void) const |
virtual bool | GetAdvancedMetricUseImageSampler (void) const |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (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 > | |
ConfigurationType * | GetConfiguration (void) const |
ElastixType * | GetElastix (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 () |
Private Member Functions | |
void | operator= (const Self &) |
StatisticalShapePenalty (const Self &) | |
typedef itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro( FixedImageDimension ) > elastix::StatisticalShapePenalty< TElastix >::CombinationTransformType |
Definition at line 122 of file elxStatisticalShapePenalty.h.
typedef Superclass2::ConfigurationPointer elastix::StatisticalShapePenalty< TElastix >::ConfigurationPointer |
Definition at line 130 of file elxStatisticalShapePenalty.h.
typedef Superclass2::ConfigurationType elastix::StatisticalShapePenalty< TElastix >::ConfigurationType |
Definition at line 129 of file elxStatisticalShapePenalty.h.
typedef SmartPointer< const Self > elastix::StatisticalShapePenalty< TElastix >::ConstPointer |
Definition at line 73 of file elxStatisticalShapePenalty.h.
typedef Superclass1::CoordinateRepresentationType elastix::StatisticalShapePenalty< TElastix >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 89 of file elxStatisticalShapePenalty.h.
typedef OutputPointType::CoordRepType elastix::StatisticalShapePenalty< TElastix >::CoordRepType |
Definition at line 111 of file elxStatisticalShapePenalty.h.
typedef Superclass1::DerivativeType elastix::StatisticalShapePenalty< TElastix >::DerivativeType |
Definition at line 108 of file elxStatisticalShapePenalty.h.
typedef Superclass2::ElastixPointer elastix::StatisticalShapePenalty< TElastix >::ElastixPointer |
Definition at line 128 of file elxStatisticalShapePenalty.h.
typedef Superclass2::ElastixType elastix::StatisticalShapePenalty< TElastix >::ElastixType |
Typedefs inherited from elastix.
Definition at line 127 of file elxStatisticalShapePenalty.h.
typedef Superclass1::FixedImageMaskPointer elastix::StatisticalShapePenalty< TElastix >::FixedImageMaskPointer |
Definition at line 104 of file elxStatisticalShapePenalty.h.
typedef Superclass1::FixedImageMaskType elastix::StatisticalShapePenalty< TElastix >::FixedImageMaskType |
Definition at line 103 of file elxStatisticalShapePenalty.h.
typedef Superclass2::FixedImageType elastix::StatisticalShapePenalty< TElastix >::FixedImageType |
Definition at line 134 of file elxStatisticalShapePenalty.h.
typedef Superclass1::FixedPointSetConstPointer elastix::StatisticalShapePenalty< TElastix >::FixedPointSetConstPointer |
Definition at line 91 of file elxStatisticalShapePenalty.h.
typedef Superclass1::FixedPointSetType elastix::StatisticalShapePenalty< TElastix >::FixedPointSetType |
Definition at line 90 of file elxStatisticalShapePenalty.h.
typedef FixedImageType elastix::StatisticalShapePenalty< TElastix >::ImageType |
Definition at line 149 of file elxStatisticalShapePenalty.h.
typedef CombinationTransformType::InitialTransformType elastix::StatisticalShapePenalty< TElastix >::InitialTransformType |
Definition at line 124 of file elxStatisticalShapePenalty.h.
typedef Superclass1::InputPointType elastix::StatisticalShapePenalty< TElastix >::InputPointType |
Definition at line 98 of file elxStatisticalShapePenalty.h.
typedef Superclass2::ITKBaseType elastix::StatisticalShapePenalty< TElastix >::ITKBaseType |
Definition at line 133 of file elxStatisticalShapePenalty.h.
typedef Superclass1::MeasureType elastix::StatisticalShapePenalty< TElastix >::MeasureType |
Definition at line 107 of file elxStatisticalShapePenalty.h.
typedef Superclass1::MovingImageMaskPointer elastix::StatisticalShapePenalty< TElastix >::MovingImageMaskPointer |
Definition at line 106 of file elxStatisticalShapePenalty.h.
typedef Superclass1::MovingImageMaskType elastix::StatisticalShapePenalty< TElastix >::MovingImageMaskType |
Definition at line 105 of file elxStatisticalShapePenalty.h.
typedef Superclass2::MovingImageType elastix::StatisticalShapePenalty< TElastix >::MovingImageType |
Definition at line 135 of file elxStatisticalShapePenalty.h.
typedef Superclass1::MovingPointSetConstPointer elastix::StatisticalShapePenalty< TElastix >::MovingPointSetConstPointer |
Definition at line 93 of file elxStatisticalShapePenalty.h.
typedef Superclass1::MovingPointSetType elastix::StatisticalShapePenalty< TElastix >::MovingPointSetType |
Definition at line 92 of file elxStatisticalShapePenalty.h.
typedef itk::Object elastix::StatisticalShapePenalty< TElastix >::ObjectType |
Other typedef's.
Definition at line 115 of file elxStatisticalShapePenalty.h.
typedef Superclass1::OutputPointType elastix::StatisticalShapePenalty< TElastix >::OutputPointType |
Definition at line 99 of file elxStatisticalShapePenalty.h.
typedef Superclass1::ParametersType elastix::StatisticalShapePenalty< TElastix >::ParametersType |
Definition at line 109 of file elxStatisticalShapePenalty.h.
typedef SmartPointer< Self > elastix::StatisticalShapePenalty< TElastix >::Pointer |
Definition at line 72 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 148 of file elxStatisticalShapePenalty.h.
typedef Superclass2::RegistrationPointer elastix::StatisticalShapePenalty< TElastix >::RegistrationPointer |
Definition at line 132 of file elxStatisticalShapePenalty.h.
typedef Superclass2::RegistrationType elastix::StatisticalShapePenalty< TElastix >::RegistrationType |
Definition at line 131 of file elxStatisticalShapePenalty.h.
typedef StatisticalShapePenalty elastix::StatisticalShapePenalty< TElastix >::Self |
Standard ITK-stuff.
Definition at line 67 of file elxStatisticalShapePenalty.h.
typedef StatisticalShapePointPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetType > elastix::StatisticalShapePenalty< TElastix >::Superclass1 |
Definition at line 70 of file elxStatisticalShapePenalty.h.
typedef MetricBase< TElastix > elastix::StatisticalShapePenalty< TElastix >::Superclass2 |
Definition at line 71 of file elxStatisticalShapePenalty.h.
typedef Superclass1::TransformJacobianType elastix::StatisticalShapePenalty< TElastix >::TransformJacobianType |
Definition at line 101 of file elxStatisticalShapePenalty.h.
typedef Superclass1::TransformParametersType elastix::StatisticalShapePenalty< TElastix >::TransformParametersType |
Definition at line 100 of file elxStatisticalShapePenalty.h.
typedef Superclass1::TransformPointer elastix::StatisticalShapePenalty< TElastix >::TransformPointer |
Definition at line 97 of file elxStatisticalShapePenalty.h.
typedef Superclass1::TransformType elastix::StatisticalShapePenalty< TElastix >::TransformType |
Definition at line 96 of file elxStatisticalShapePenalty.h.
typedef vnl_vector< CoordRepType > elastix::StatisticalShapePenalty< TElastix >::VnlVectorType |
Definition at line 112 of file elxStatisticalShapePenalty.h.
|
inlineprotected |
The constructor.
Definition at line 181 of file elxStatisticalShapePenalty.h.
|
inlineoverrideprotected |
The destructor.
Definition at line 183 of file elxStatisticalShapePenalty.h.
|
private |
The private constructor.
|
overridevirtual |
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
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 >.
|
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 >.
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 | ||
) |
|
inlineoverridevirtual |
Overwrite to silence warning.
Reimplemented from elastix::MetricBase< TElastix >.
Definition at line 176 of file elxStatisticalShapePenalty.h.
Generated on 1667476801 for elastix by 1.9.4 |