3 #include "itkImageToImageMetric.h" 4 #include "itkCovariantVector.h" 9 template <
class TFixedImage,
class TMovingImage >
11 public itk::ImageToImageMetric< TFixedImage, TMovingImage>
17 typedef itk::ImageToImageMetric<TFixedImage, TMovingImage >
Superclass;
29 typedef typename Superclass::RealType
RealType;
48 void GetDerivative(
const TransformParametersType & parameters,
49 DerivativeType & Derivative)
const ITK_OVERRIDE;
52 MeasureType
GetValue(
const TransformParametersType & parameters)
const ITK_OVERRIDE;
56 MeasureType& Value, DerivativeType& Derivative)
const ITK_OVERRIDE;
58 itkSetMacro(ScaleIntensities,
bool)
59 itkSetMacro(DefaultBackgroundValue,
double)
69 void operator=(
const Self&);
71 bool m_ScaleIntensities;
72 double m_DefaultBackgroundValue;
74 std::vector <InputPointType> m_FixedImagePoints;
75 std::vector <RealType> m_FixedImageValues;
Superclass::DerivativeType DerivativeType
Superclass::RealType RealType
virtual ~FastMeanSquaresImageToImageMetric()
void PreComputeFixedValues()
Superclass::TransformPointer TransformPointer
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &Derivative) const ITK_OVERRIDE
Superclass::InputPointType InputPointType
Superclass::MeasureType MeasureType
MeasureType GetValue(const TransformParametersType ¶meters) const ITK_OVERRIDE
itk::SmartPointer< const Self > ConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::TransformJacobianType TransformJacobianType
Superclass::FixedImageType FixedImageType
FastMeanSquaresImageToImageMetric()
itk::SmartPointer< Self > Pointer
FastMeanSquaresImageToImageMetric Self
Superclass::TransformType TransformType
Superclass::FixedImageConstPointer FixedImageConstPointer
itk::ImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::TransformParametersType TransformParametersType
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const ITK_OVERRIDE
itk::ContinuousIndex< double, TFixedImage::ImageDimension > ContinuousIndexType
Superclass::OutputPointType OutputPointType
Superclass::MovingImageType MovingImageType
Superclass::GradientPixelType GradientPixelType