3 #include <itkImageToImageMetric.h> 4 #include <itkCovariantVector.h> 10 template <
class TFixedImage,
class TMovingImage >
12 public itk::ImageToImageMetric< TFixedImage, TMovingImage>
18 typedef itk::ImageToImageMetric<TFixedImage, TMovingImage >
Superclass;
30 typedef typename Superclass::RealType
RealType;
49 void GetDerivative(
const TransformParametersType & parameters,
50 DerivativeType & Derivative)
const ITK_OVERRIDE;
53 MeasureType
GetValue(
const TransformParametersType & parameters)
const ITK_OVERRIDE;
57 MeasureType& Value, DerivativeType& Derivative)
const ITK_OVERRIDE;
61 itkSetMacro(ScaleIntensities,
bool)
62 itkSetMacro(DefaultBackgroundValue,
double)
67 void PrintSelf(std::ostream& os, itk::Indent indent)
const ITK_OVERRIDE;
75 bool m_SquaredCorrelation;
76 bool m_ScaleIntensities;
77 double m_DefaultBackgroundValue;
79 std::vector <InputPointType> m_FixedImagePoints;
80 std::vector <RealType> m_FixedImageValues;
Superclass::FixedImageConstPointer FixedImageConstPointer
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const ITK_OVERRIDE
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &Derivative) const ITK_OVERRIDE
itk::ContinuousIndex< double, TFixedImage::ImageDimension > ContinuousIndexType
Superclass::MovingImageType MovingImageType
void PreComputeFixedValues()
Superclass::GradientPixelType GradientPixelType
itk::SmartPointer< const Self > ConstPointer
Superclass::MeasureType MeasureType
void PrintSelf(std::ostream &os, itk::Indent indent) const ITK_OVERRIDE
Superclass::InputPointType InputPointType
Superclass::MovingImageConstPointer MovingImageConstPointer
FastCorrelationImageToImageMetric()
itk::SmartPointer< Self > Pointer
Superclass::FixedImageType FixedImageType
Superclass::TransformJacobianType TransformJacobianType
Superclass::TransformPointer TransformPointer
Superclass::OutputPointType OutputPointType
Superclass::TransformParametersType TransformParametersType
Superclass::DerivativeType DerivativeType
Superclass::TransformType TransformType
virtual ~FastCorrelationImageToImageMetric()
MeasureType GetValue(const TransformParametersType ¶meters) const ITK_OVERRIDE
FastCorrelationImageToImageMetric Self
Superclass::RealType RealType
itk::ImageToImageMetric< TFixedImage, TMovingImage > Superclass