18 #ifndef __elxStatisticalShapePenalty_H__ 19 #define __elxStatisticalShapePenalty_H__ 24 #include <vnl/vnl_matrix.h> 25 #include <vnl/vnl_vector.h> 26 #include <vcl_iostream.h> 58 template<
class TElastix >
61 typename MetricBase< TElastix >::FixedPointSetType,
62 typename MetricBase< TElastix >::MovingPointSetType >,
139 itkStaticConstMacro( FixedImageDimension,
unsigned int,
140 FixedImageType::ImageDimension );
143 itkStaticConstMacro( MovingImageDimension,
unsigned int,
144 MovingImageType::ImageDimension );
155 virtual void Initialize(
void ) throw ( ExceptionObject );
161 virtual
void BeforeRegistration(
void );
163 virtual
void BeforeEachResolution(
void );
166 unsigned int ReadLandmarks(
167 const
std::
string & landmarkFileName,
168 typename PointSetType::Pointer & pointSet,
169 const typename ImageType::ConstPointer image );
171 unsigned int ReadShape(
172 const
std::
string & ShapeFileName,
173 typename PointSetType::Pointer & pointSet,
174 const typename ImageType::ConstPointer image );
177 virtual
void SelectNewSamples(
void ){}
191 void operator=(
const Self & );
197 #ifndef ITK_MANUAL_INSTANTIATION 198 #include "elxStatisticalShapePenalty.hxx" 201 #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
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
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.