18 #ifndef __itkMultiInputImageToImageMetricBase_h 19 #define __itkMultiInputImageToImageMetricBase_h 25 #define itkSetNumberOfMacro( name ) \ 26 virtual void SetNumberOf##name##s( const unsigned int _arg ) \ 28 if( this->m_NumberOf##name##s != _arg ) \ 30 this->m_##name##Vector.resize( _arg ); \ 31 this->m_NumberOf##name##s = _arg; \ 34 } // comments for allowing ; after calling the macro 48 template<
class TFixedImage,
class TMovingImage >
99 typedef InterpolateImageFunction<
115 virtual void SetFixedImage(
const FixedImageType * _arg,
unsigned int pos );
125 virtual const FixedImageType *
GetFixedImage(
unsigned int pos )
const;
138 itkGetConstMacro( NumberOfFixedImages,
unsigned int );
166 itkGetConstMacro( NumberOfFixedImageMasks,
unsigned int );
194 itkGetConstMacro( NumberOfFixedImageRegions,
unsigned int );
199 virtual void SetMovingImage(
const MovingImageType * _arg,
unsigned int pos );
209 virtual const MovingImageType *
GetMovingImage(
unsigned int pos )
const;
222 itkGetConstMacro( NumberOfMovingImages,
unsigned int );
250 itkGetConstMacro( NumberOfMovingImageMasks,
unsigned int );
257 virtual void SetInterpolator( InterpolatorType * _arg,
unsigned int pos );
280 itkGetConstMacro( NumberOfInterpolators,
unsigned int );
283 itkGetConstMacro( InterpolatorsAreBSpline,
bool );
313 itkGetConstMacro( NumberOfFixedImageInterpolators,
unsigned int );
318 virtual void Initialize(
void )
throw ( ExceptionObject );
351 const MovingImagePointType & mappedPoint,
352 RealType & movingImageValue,
353 MovingImageDerivativeType * gradient ) const;
357 const MovingImagePointType & mappedPoint ) const;
374 void operator=( const Self & );
391 #undef itkSetNumberOfMacro 393 #ifndef ITK_MANUAL_INSTANTIATION 394 #include "itkMultiInputImageToImageMetricBase.hxx" 397 #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...
Superclass::GradientPixelType GradientPixelType
FixedImageType::Pointer FixedImagePointer
Superclass::TransformType TransformType
Superclass::FixedImageRegionType FixedImageRegionType
MovingImageType::IndexType MovingImageIndexType
InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
Superclass::ParametersType ParametersType
BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, double > BSplineInterpolatorType
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