18 #ifndef __itkImageToImageMetricv4_h
19 #define __itkImageToImageMetricv4_h
155 template<
class TFixedImage,
class TMovingImage,
class TVirtualImage = TFixedImage>
157 public ObjectToObjectMetric<TFixedImage::ImageDimension, TMovingImage::ImageDimension, TVirtualImage>
237 itkStaticConstMacro(FixedImageDimension,
DimensionType, Superclass::FixedDimension);
238 itkStaticConstMacro(MovingImageDimension,
DimensionType, Superclass::MovingDimension);
239 itkStaticConstMacro(VirtualImageDimension,
DimensionType, Superclass::VirtualDimension);
271 itkGetStaticConstMacro(FixedImageDimension) >
274 itkGetStaticConstMacro(MovingImageDimension) >
279 itkGetStaticConstMacro(VirtualImageDimension) >
288 itkGetStaticConstMacro(FixedImageDimension) >
291 itkGetStaticConstMacro(FixedImageDimension) >
303 itkGetStaticConstMacro(MovingImageDimension) >
306 itkGetStaticConstMacro(MovingImageDimension) >
329 itkGetStaticConstMacro( FixedImageDimension )>,
334 itkGetStaticConstMacro( MovingImageDimension )>,
401 itkSetMacro(UseFixedSampledPointSet,
bool);
402 itkGetConstReferenceMacro(UseFixedSampledPointSet,
bool);
403 itkBooleanMacro(UseFixedSampledPointSet);
425 itkSetMacro(UseFixedImageGradientFilter,
bool);
426 itkGetConstReferenceMacro(UseFixedImageGradientFilter,
bool);
427 itkBooleanMacro(UseFixedImageGradientFilter);
431 itkSetMacro(UseMovingImageGradientFilter,
bool);
432 itkGetConstReferenceMacro(UseMovingImageGradientFilter,
bool);
433 itkBooleanMacro(UseMovingImageGradientFilter);
443 virtual void SetMaximumNumberOfThreads(
const ThreadIdType threads );
475 itkSetMacro(UseFloatingPointCorrection,
bool);
476 itkGetConstReferenceMacro(UseFloatingPointCorrection,
bool);
477 itkBooleanMacro(UseFloatingPointCorrection);
512 itkGetConstReferenceMacro(NumberOfSkippedFixedSampledPoints,
SizeValueType);
514 virtual
bool SupportsArbitraryVirtualDomainSamples(
void )
const
522 CoordinateRepresentationType >
546 virtual void InitializeForIteration()
const;
560 bool TransformAndEvaluateFixedPoint(
563 const bool computeImageGradient,
569 bool TransformAndEvaluateMovingPoint(
572 const bool computeImageGradient,
581 virtual void ComputeFixedImageGradientAtPoint(
586 virtual void ComputeMovingImageGradientAtPoint(
595 virtual void ComputeFixedImageGradientAtIndex(
600 virtual void ComputeMovingImageGradientAtIndex(
607 virtual void ComputeFixedImageGradientFilterImage();
612 virtual void ComputeMovingImageGradientFilterImage()
const;
620 virtual void GetValueAndDerivativeExecute()
const;
624 virtual void InitializeDefaultFixedImageGradientFilter(
void);
625 virtual void InitializeDefaultMovingImageGradientFilter(
void);
683 void PrintSelf(std::ostream& os,
Indent indent)
const;
687 void MapFixedSampledPointSetToVirtual(
void );
694 void operator=(
const Self &);
706 #ifdef ITK_USE_CONCEPT_CHECKING
711 #endif // ITK_USE_CONCEPT_CHECKING
717 #ifndef ITK_MANUAL_INSTANTIATION
718 #include "itkImageToImageMetricv4.hxx"