15 #ifndef __elxMetricBase_h
16 #define __elxMetricBase_h
24 #include "itkPointSet.h"
70 template<
class TElastix >
106 itkStaticConstMacro( MovingImageDimension,
unsigned int, MovingImageType::ImageDimension );
110 typedef itk::PointSet<
112 itk::DefaultStaticMeshTraits<
114 FixedImageDimension, FixedImageDimension,
117 typedef itk::PointSet<
119 itk::DefaultStaticMeshTraits<
121 MovingImageDimension, MovingImageDimension,
141 return dynamic_cast< const ITKBaseType *
>( this );
230 #ifndef ITK_MANUAL_INSTANTIATION
231 #include "elxMetricBase.hxx"
234 #endif // end #ifndef __elxMetricBase_h
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationType RegistrationType
ITKBaseType::MeasureType MeasureType
virtual MeasureType GetCurrentExactMetricValue(void) const
ElastixType::RegistrationBaseType RegistrationType
ElastixType::ConfigurationPointer ConfigurationPointer
Superclass::ConfigurationType ConfigurationType
ExactMetricImageSamplerPointer m_ExactMetricSampler
ElastixType::Pointer ElastixPointer
ElastixType::ConfigurationType ConfigurationType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
virtual ImageSamplerBaseType * GetAdvancedMetricImageSampler(void) const
virtual bool GetShowExactMetricValue(void) const
SmartPointer< Self > Pointer
itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
InputImageType::OffsetType SampleGridSpacingType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
ElastixType::FixedImageType FixedImageType
virtual void BeforeEachResolutionBase(void)
virtual void SelectNewSamples(void)
virtual ITKBaseType * GetAsITKBaseType(void)
RegistrationType * RegistrationPointer
This class is a base class for any image sampler.
MovingPointType::ValueType MovingPointValueType
BaseComponentSE< TElastix > Superclass
itk::ImageGridSampler< FixedImageType > ExactMetricImageSamplerType
ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
MovingImageType::PointType MovingPointType
ITKBaseType::ParametersType ParametersType
FixedPointType::ValueType FixedPointValueType
MeasureType m_CurrentExactMetricValue
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType > AdvancedMetricType
FixedImageType::PointType FixedPointType
virtual void SetAdvancedMetricImageSampler(ImageSamplerBaseType *sampler)
Superclass::ElastixType ElastixType
itk::SingleValuedCostFunction ITKBaseType
itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
ElastixType::MovingImageType MovingImageType
Superclass::RegistrationPointer RegistrationPointer
virtual bool GetAdvancedMetricUseImageSampler(void) const
virtual void AfterEachIterationBase(void)
ITKBaseType::ParametersValueType CoordinateRepresentationType
bool m_ShowExactMetricValue
virtual const ITKBaseType * GetAsITKBaseType(void) const
Superclass::ConfigurationPointer ConfigurationPointer
ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
Samples image voxels on a regular grid.
virtual MeasureType GetExactValue(const ParametersType ¶meters)
This class is the elastix base class for all Metrics.
void operator=(const Self &)