14 #ifndef __itkMultiInputImageToImageMetricBase_h
15 #define __itkMultiInputImageToImageMetricBase_h
21 #define itkSetNumberOfMacro( name ) \
22 virtual void SetNumberOf##name##s( const unsigned int _arg ) \
24 if ( this->m_NumberOf##name##s != _arg ) \
26 this->m_##name##Vector.resize( _arg ); \
27 this->m_NumberOf##name##s = _arg; \
30 } // comments for allowing ; after calling the macro
45 template <
class TFixedImage,
class TMovingImage>
63 TMovingImage::ImageDimension );
65 TFixedImage::ImageDimension );
99 typedef InterpolateImageFunction<
136 itkGetConstMacro( NumberOfFixedImages,
unsigned int );
162 itkGetConstMacro( NumberOfFixedImageMasks,
unsigned int );
188 itkGetConstMacro( NumberOfFixedImageRegions,
unsigned int );
214 itkGetConstMacro( NumberOfMovingImages,
unsigned int );
240 itkGetConstMacro( NumberOfMovingImageMasks,
unsigned int );
268 itkGetConstMacro( NumberOfInterpolators,
unsigned int );
271 itkGetConstMacro( InterpolatorsAreBSpline,
bool );
299 itkGetConstMacro( NumberOfFixedImageInterpolators,
unsigned int );
304 virtual void Initialize(
void ) throw ( ExceptionObject );
312 virtual ~MultiInputImageToImageMetricBase() {};
360 void operator=(const Self&);
377 #undef itkSetNumberOfMacro
379 #ifndef ITK_MANUAL_INSTANTIATION
380 #include "itkMultiInputImageToImageMetricBase.txx"
383 #endif // end #ifndef __itkMultiInputImageToImageMetricBase_h
Superclass::MeasureType MeasureType
Superclass::InputPointType InputPointType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::TransformParametersType TransformParametersType
Superclass::MovingImageType MovingImageType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::OutputPointType OutputPointType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
Superclass::GradientPixelType GradientPixelType
FixedImageType::Pointer FixedImagePointer
Superclass::TransformType TransformType
Superclass::FixedImageRegionType FixedImageRegionType
MovingImageType::IndexType MovingImageIndexType
InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
Superclass::ParametersType ParametersType
Superclass::InterpolatorPointer InterpolatorPointer
TransformType::OutputPointType MovingImagePointType
Superclass::FixedImageType FixedImageType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::GradientImageType GradientImageType
Superclass::TransformPointer TransformPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::InterpolatorType InterpolatorType
Superclass::TransformJacobianType TransformJacobianType
MovingImageType::Pointer MovingImagePointer
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::RealType RealType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::FixedImageMaskType FixedImageMaskType
BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::DerivativeType DerivativeType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::GradientImagePointer GradientImagePointer