18#ifndef __elxMetricBase_h
19#define __elxMetricBase_h
27#include "itkPointSet.h"
71template<
class TElastix >
112 typedef itk::PointSet<
114 itk::DefaultStaticMeshTraits<
116 FixedImageDimension, FixedImageDimension,
119 typedef itk::PointSet<
121 itk::DefaultStaticMeshTraits<
123 MovingImageDimension, MovingImageDimension,
143 return dynamic_cast< const ITKBaseType *
>( this );
233#ifndef ITK_MANUAL_INSTANTIATION
234#include "elxMetricBase.hxx"
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
Configuration::Pointer ConfigurationPointer
itk::WeakPointer< ElastixType > ElastixPointer
RegistrationType * RegistrationPointer
ElastixType::RegistrationBaseType RegistrationType
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Metrics.
itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
bool m_ShowExactMetricValue
itk::AdvancedImageToImageMetric< FixedImageType, MovingImageType > AdvancedMetricType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
virtual ImageSamplerBaseType * GetAdvancedMetricImageSampler(void) const
ExactMetricImageSamplerPointer m_ExactMetricSampler
itk::SingleValuedCostFunction ITKBaseType
ITKBaseType::ParametersValueType CoordinateRepresentationType
virtual void SetAdvancedMetricImageSampler(ImageSamplerBaseType *sampler)
Superclass::ConfigurationType ConfigurationType
void operator=(const Self &)
ITKBaseType::MeasureType MeasureType
unsigned int m_ExactMetricEachXNumberOfIterations
void AfterEachIterationBase(void) override
ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
virtual MeasureType GetCurrentExactMetricValue(void) const
Superclass::RegistrationPointer RegistrationPointer
ITKBaseType::ParametersType ParametersType
AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
itk::ImageGridSampler< FixedImageType > ExactMetricImageSamplerType
virtual MeasureType GetExactValue(const ParametersType ¶meters)
Superclass::ElastixType ElastixType
MovingPointType::ValueType MovingPointValueType
FixedPointType::ValueType FixedPointValueType
virtual void SelectNewSamples(void)
ElastixType::MovingImageType MovingImageType
itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
virtual bool GetShowExactMetricValue(void) const
virtual bool GetAdvancedMetricUseImageSampler(void) const
void BeforeEachResolutionBase(void) override
MeasureType m_CurrentExactMetricValue
virtual const ITKBaseType * GetAsITKBaseType(void) const
ElastixType::FixedImageType FixedImageType
Superclass::ConfigurationPointer ConfigurationPointer
AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
FixedImageType::PointType FixedPointType
BaseComponentSE< TElastix > Superclass
Superclass::RegistrationType RegistrationType
virtual ITKBaseType * GetAsITKBaseType(void)
MovingImageType::PointType MovingPointType
Superclass::ElastixPointer ElastixPointer
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Samples image voxels on a regular grid.
InputImageType::OffsetType SampleGridSpacingType
This class is a base class for any image sampler.