15 #ifndef __elxMetricBase_h
16 #define __elxMetricBase_h
24 #include "itkPointSet.h"
71 template <
class TElastix>
107 itkStaticConstMacro( MovingImageDimension,
unsigned int, MovingImageType::ImageDimension );
111 typedef itk::PointSet<
113 itk::DefaultStaticMeshTraits<
115 FixedImageDimension, FixedImageDimension,
118 typedef itk::PointSet<
120 itk::DefaultStaticMeshTraits<
122 MovingImageDimension, MovingImageDimension,
229 #ifndef ITK_MANUAL_INSTANTIATION
230 #include "elxMetricBase.hxx"
233 #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
BaseComponentSE< TElastix > Superclass
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
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
SmartPointer< Self > Pointer
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
ExactMetricImageSamplerType::Pointer m_ExactMetricSampler
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)
itk::ImageGridSampler< FixedImageType > ExactMetricImageSamplerType
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 &)