18 #ifndef __itkSumOfPairwiseCorrelationCoefficientsMetric_H__
19 #define __itkSumOfPairwiseCorrelationCoefficientsMetric_H__
23 #include "itkSmoothingRecursiveGaussianImageFilter.h"
25 #include "itkNearestNeighborInterpolateImageFunction.h"
26 #include "itkExtractImageFilter.h"
32 template<
class TFixedImage,
class TMovingImage >
55 itkSetMacro( NumAdditionalSamplesFixed,
unsigned int );
56 itkSetMacro( ReducedDimensionIndex,
unsigned int );
57 itkSetMacro( SubtractMean,
bool );
59 itkSetMacro( TransformIsStackTransform,
bool );
77 typedef typename Superclass::RealType
RealType;
108 FixedImageType::ImageDimension );
112 MovingImageType::ImageDimension );
135 void PrintSelf( std::ostream & os, Indent indent )
const override;
144 typedef typename itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension >
167 void SampleRandom(
const int n,
const int m, std::vector< int > & numbers )
const;
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkSumOfPairwiseCorrelationCoefficientsMetric.hxx"
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
Superclass::TransformParametersType TransformParametersType
Superclass::TransformJacobianType TransformJacobianType
Superclass::DerivativeType DerivativeType
Superclass::MeasureType MeasureType
BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::InterpolatorPointer InterpolatorPointer
Superclass::ImageSamplerPointer ImageSamplerPointer
Superclass::TransformType TransformType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::InterpolatorType InterpolatorType
Superclass::DerivativeType DerivativeType
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::FixedImageMaskType FixedImageMaskType
SmartPointer< const Self > ConstPointer
Superclass::FixedImagePointType FixedImagePointType
Superclass::FixedImageRegionType FixedImageRegionType
SumOfPairwiseCorrelationCoefficientsMetric()
Superclass::GradientImagePointer GradientImagePointer
Superclass::GradientPixelType GradientPixelType
FixedImageRegionType::SizeType FixedImageSizeType
SumOfPairwiseCorrelationCoefficientsMetric Self
Superclass::MovingImageType MovingImageType
Superclass::FixedImageLimiterType FixedImageLimiterType
Superclass::MeasureType MeasureType
void Initialize(void) override
Superclass::GradientImageType GradientImageType
Superclass::MovingImageRegionType MovingImageRegionType
Superclass::FixedImagePixelType FixedImagePixelType
void EvaluateTransformJacobianInnerProduct(const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const override
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::ImageSamplerType ImageSamplerType
Superclass::MovingImageLimiterType MovingImageLimiterType
unsigned int m_ReducedDimensionIndex
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::MovingImageMaskPointer MovingImageMaskPointer
Superclass::TransformParametersType TransformParametersType
Superclass::MovingImagePointType MovingImagePointType
Superclass::ImageSampleContainerType ImageSampleContainerType
itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension > FixedImageContinuousIndexType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::TransformPointer TransformPointer
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
bool m_TransformIsStackTransform
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const override
MeasureType GetValue(const TransformParametersType ¶meters) const override
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
SmartPointer< Self > Pointer
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const override
Superclass::MovingImageDerivativeType MovingImageDerivativeType
Superclass::TransformJacobianType TransformJacobianType
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
void operator=(const Self &)
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::ParametersType ParametersType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::FixedImageConstPointer FixedImageConstPointer
~SumOfPairwiseCorrelationCoefficientsMetric() override
Superclass::OutputPointType OutputPointType
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::MovingImageIndexType MovingImageIndexType
FixedImageSizeType m_GridSize
Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
Superclass::InputPointType InputPointType
SumOfPairwiseCorrelationCoefficientsMetric(const Self &)
Superclass::FixedImageType FixedImageType
unsigned int m_NumAdditionalSamplesFixed
Superclass::BSplineInterpolatorType BSplineInterpolatorType
Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::RealType RealType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::GradientImageFilterType GradientImageFilterType
void PrintSelf(std::ostream &os, Indent indent) const override
void SampleRandom(const int n, const int m, std::vector< int > &numbers) const