18 #ifndef __elxMetricBase_h 19 #define __elxMetricBase_h 27 #include "itkPointSet.h" 71 template<
class TElastix >
108 itkStaticConstMacro( MovingImageDimension,
unsigned int, MovingImageType::ImageDimension );
112 typedef itk::PointSet<
114 itk::DefaultStaticMeshTraits<
116 FixedImageDimension, FixedImageDimension,
119 typedef itk::PointSet<
121 itk::DefaultStaticMeshTraits<
123 MovingImageDimension, MovingImageDimension,
136 return dynamic_cast< ITKBaseType *
>( this );
143 return dynamic_cast< const ITKBaseType *
>( this );
212 virtual MeasureType
GetExactValue(
const ParametersType & parameters );
233 #ifndef ITK_MANUAL_INSTANTIATION 234 #include "elxMetricBase.hxx" 237 #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
ElastixType::RegistrationBaseType RegistrationType
ElastixType::ConfigurationPointer ConfigurationPointer
Superclass::ConfigurationType ConfigurationType
ExactMetricImageSamplerPointer m_ExactMetricSampler
ElastixType::ConfigurationType ConfigurationType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
virtual bool GetAdvancedMetricUseImageSampler(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
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
virtual ImageSamplerBaseType * GetAdvancedMetricImageSampler(void) const
ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
unsigned int m_ExactMetricEachXNumberOfIterations
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 const ITKBaseType * GetAsITKBaseType(void) const
itk::WeakPointer< ElastixType > ElastixPointer
virtual void AfterEachIterationBase(void)
virtual MeasureType GetCurrentExactMetricValue(void) const
ITKBaseType::ParametersValueType CoordinateRepresentationType
bool m_ShowExactMetricValue
AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
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 &)