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 );
58 itkSetMacro( GridSize, FixedImageSizeType );
59 itkSetMacro( TransformIsStackTransform,
bool );
77 typedef typename Superclass::RealType
RealType;
107 itkStaticConstMacro( FixedImageDimension,
unsigned int,
108 FixedImageType::ImageDimension );
111 itkStaticConstMacro( MovingImageDimension,
unsigned int,
112 MovingImageType::ImageDimension );
115 virtual MeasureType GetValue(
const TransformParametersType & parameters )
const;
118 virtual void GetDerivative(
const TransformParametersType & parameters,
119 DerivativeType & derivative )
const;
122 virtual void GetValueAndDerivative(
const TransformParametersType & parameters,
123 MeasureType & Value, DerivativeType & Derivative )
const;
129 virtual void Initialize(
void )
throw ( ExceptionObject );
135 void PrintSelf( std::ostream & os, Indent indent )
const;
144 typedef typename itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension >
156 void EvaluateTransformJacobianInnerProduct(
157 const TransformJacobianType & jacobian,
158 const MovingImageDerivativeType & movingImageDerivative,
159 DerivativeType & imageJacobian )
const;
164 void operator=(
const Self & );
167 void SampleRandom(
const int n,
const int m, std::vector< int > & numbers )
const;
186 #ifndef ITK_MANUAL_INSTANTIATION 187 #include "itkSumOfPairwiseCorrelationCoefficientsMetric.hxx" 190 #endif // end #ifndef __itkSumOfPairwiseCorrelationCoefficientsMetric_H__ Superclass::MovingImageContinuousIndexType MovingImageContinuousIndexType
FixedImageSizeType m_GridSize
Superclass::TransformPointer TransformPointer
Superclass::InterpolatorType InterpolatorType
Superclass::MovingImageDerivativeType MovingImageDerivativeType
Superclass::TransformType TransformType
Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
Superclass::GradientImageFilterPointer GradientImageFilterPointer
Superclass::InterpolatorPointer InterpolatorPointer
FixedImageRegionType::SizeType FixedImageSizeType
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::ImageSamplerType ImageSamplerType
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics...
Superclass::MovingImagePointType MovingImagePointType
Superclass::MovingImagePixelType MovingImagePixelType
Superclass::FixedImageRegionType FixedImageRegionType
Superclass::ParametersType ParametersType
Superclass::DerivativeType DerivativeType
SumOfPairwiseCorrelationCoefficientsMetric Self
itk::ContinuousIndex< CoordinateRepresentationType, FixedImageDimension > FixedImageContinuousIndexType
Superclass::TransformParametersType TransformParametersType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::FixedImageIndexType FixedImageIndexType
Superclass::FixedImageLimiterType FixedImageLimiterType
Superclass::MovingImageMaskType MovingImageMaskType
Superclass::FixedImagePointType FixedImagePointType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
SmartPointer< Self > Pointer
Superclass::InputPointType InputPointType
Superclass::MovingImageIndexType MovingImageIndexType
Superclass::FixedImagePixelType FixedImagePixelType
SmartPointer< const Self > ConstPointer
Superclass::GradientImageFilterType GradientImageFilterType
Superclass::TransformJacobianType TransformJacobianType
Superclass::ImageSamplerPointer ImageSamplerPointer
Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
virtual ~SumOfPairwiseCorrelationCoefficientsMetric()
Superclass::GradientImageType GradientImageType
Superclass::MovingImageRegionType MovingImageRegionType
Superclass::RealType RealType
Superclass::CoordinateRepresentationType CoordinateRepresentationType
Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
unsigned int m_ReducedDimensionIndex
Superclass::MovingImageType MovingImageType
Superclass::FixedImageType FixedImageType
Superclass::BSplineInterpolatorType BSplineInterpolatorType
Superclass::CentralDifferenceGradientFilterType CentralDifferenceGradientFilterType
Superclass::FixedImageMaskType FixedImageMaskType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::GradientPixelType GradientPixelType
Superclass::OutputPointType OutputPointType
bool m_TransformIsStackTransform
Superclass::GradientImagePointer GradientImagePointer
Superclass::MovingImageLimiterType MovingImageLimiterType
Superclass::FixedImageIndexValueType FixedImageIndexValueType
unsigned int m_NumAdditionalSamplesFixed
Superclass::FixedImageMaskPointer FixedImageMaskPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
AdvancedImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::MeasureType MeasureType
Superclass::MovingImageMaskPointer MovingImageMaskPointer