18 #ifndef __elxMetricBase_h 19 #define __elxMetricBase_h 27 #include "itkPointSet.h" 72 template<
class TElastix >
109 itkStaticConstMacro( MovingImageDimension,
unsigned int, MovingImageType::ImageDimension );
113 typedef itk::PointSet<
115 itk::DefaultStaticMeshTraits<
117 FixedImageDimension, FixedImageDimension,
120 typedef itk::PointSet<
122 itk::DefaultStaticMeshTraits<
124 MovingImageDimension, MovingImageDimension,
137 return dynamic_cast< ITKBaseType *
>( this );
144 return dynamic_cast< const ITKBaseType *
>( this );
213 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
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
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
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 &)