14 #ifndef __elxStatisticalShapePenalty_H__
15 #define __elxStatisticalShapePenalty_H__
21 #include <vnl/vnl_matrix.h>
22 #include <vnl/vnl_vector.h>
23 #include <vcl_iostream.h>
55 template<
class TElastix >
58 typename MetricBase< TElastix >::FixedPointSetType,
59 typename MetricBase< TElastix >::MovingPointSetType >,
136 itkStaticConstMacro( FixedImageDimension,
unsigned int,
137 FixedImageType::ImageDimension );
140 itkStaticConstMacro( MovingImageDimension,
unsigned int,
141 MovingImageType::ImageDimension );
156 virtual void Initialize(
void ) throw ( ExceptionObject );
162 virtual
void BeforeRegistration(
void );
164 virtual
void BeforeEachResolution(
void );
167 unsigned int ReadLandmarks(
168 const std::
string & landmarkFileName,
172 unsigned int ReadShape(
173 const std::
string & ShapeFileName,
178 virtual
void SelectNewSamples(
void ){}
192 void operator=(
const Self & );
198 #ifndef ITK_MANUAL_INSTANTIATION
199 #include "elxStatisticalShapePenalty.hxx"
202 #endif // end #ifndef __elxStatisticalShapePenalty_H__
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationType RegistrationType
Superclass::TransformJacobianType TransformJacobianType
SmartPointer< Self > Pointer
Superclass::ConfigurationType ConfigurationType
Superclass1::CoordinateRepresentationType CoordinateRepresentationType
#define elxClassNameMacro(_name)
Superclass::InputPointType InputPointType
Superclass1::ParametersType ParametersType
MovingImageMaskType::Pointer MovingImageMaskPointer
Superclass1::MovingPointSetType MovingPointSetType
Superclass1::FixedImageMaskPointer FixedImageMaskPointer
Superclass1::FixedPointSetConstPointer FixedPointSetConstPointer
Computes the Mahalanobis distance between the transformed shape and a mean shape. A model mean and co...
Superclass::TransformType TransformType
Superclass1::DerivativeType DerivativeType
Superclass::MeasureType MeasureType
StatisticalShapePointPenalty< typename MetricBase< TElastix >::FixedPointSetType, typename MetricBase< TElastix >::MovingPointSetType > Superclass1
StatisticalShapePenalty Self
Superclass::OutputPointType OutputPointType
CombinationTransformType::InitialTransformType InitialTransformType
Superclass2::RegistrationPointer RegistrationPointer
Superclass2::ElastixType ElastixType
itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
Superclass1::MovingImageMaskPointer MovingImageMaskPointer
Superclass::ParametersValueType CoordinateRepresentationType
Superclass::ParametersType ParametersType
ElastixType::FixedImageType FixedImageType
SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension) > MovingImageMaskType
itk::SmartPointer< Self > Pointer
A class to time the different parts of the registration.
Superclass::FixedPointSetType FixedPointSetType
Superclass1::MeasureType MeasureType
Superclass1::TransformJacobianType TransformJacobianType
MetricBase< TElastix > Superclass2
SmartPointer< const Self > ConstPointer
Superclass1::TransformType TransformType
Superclass1::MovingImageMaskType MovingImageMaskType
Superclass1::TransformPointer TransformPointer
SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension) > FixedImageMaskType
FixedImageMaskType::Pointer FixedImageMaskPointer
Superclass1::InputPointType InputPointType
Superclass::MovingPointSetType MovingPointSetType
Superclass1::OutputPointType OutputPointType
virtual ~StatisticalShapePenalty()
Superclass2::FixedImageType FixedImageType
Superclass2::MovingImageType MovingImageType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::TransformPointer TransformPointer
Superclass1::MovingPointSetConstPointer MovingPointSetConstPointer
Superclass::MovingPointSetConstPointer MovingPointSetConstPointer
Superclass::ElastixType ElastixType
Superclass2::ConfigurationType ConfigurationType
itk::SingleValuedCostFunction ITKBaseType
itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
ElastixType::MovingImageType MovingImageType
FixedPointSetType PointSetType
Superclass1::FixedPointSetType FixedPointSetType
StatisticalShapePenalty()
Superclass::RegistrationPointer RegistrationPointer
Superclass2::ITKBaseType ITKBaseType
Superclass::DerivativeType DerivativeType
vnl_vector< CoordRepType > VnlVectorType
TimerType::Pointer TimerPointer
Superclass1::FixedImageMaskType FixedImageMaskType
An metric based on the itk::StatisticalShapePointPenalty.
Superclass::TransformParametersType TransformParametersType
Superclass2::ElastixPointer ElastixPointer
Superclass1::TransformParametersType TransformParametersType
Superclass::FixedPointSetConstPointer FixedPointSetConstPointer
Superclass2::RegistrationType RegistrationType
Superclass::ConfigurationPointer ConfigurationPointer
itk::AdvancedCombinationTransform< CoordRepType, itkGetStaticConstMacro(FixedImageDimension) > CombinationTransformType
OutputPointType::CoordRepType CoordRepType
This class is the elastix base class for all Metrics.