18 #ifndef itkGradientDifferenceImageToImageMetric_h
19 #define itkGradientDifferenceImageToImageMetric_h
57 template<
typename TFixedImage,
typename TMovingImage >
78 using RealType =
typename Superclass::RealType;
94 static constexpr
unsigned int FixedImageDimension = TFixedImage::ImageDimension;
97 Self::FixedImageDimension >;
113 static constexpr
unsigned int MovedImageDimension = MovingImageType::ImageDimension;
135 void Initialize()
override;
138 void WriteGradientImagesToFiles()
const;
142 itkSetMacro(DerivativeDelta,
double);
143 itkGetConstReferenceMacro(DerivativeDelta,
double);
149 void PrintSelf(std::ostream & os,
Indent indent)
const override;
152 void ComputeMovedGradientRange()
const;
155 void ComputeVariance()
const;
159 const double *subtractionFactor)
const;
186 Self::FixedImageDimension >
187 m_FixedSobelOperators[FixedImageDimension];
198 Self::MovedImageDimension >
199 m_MovedSobelOperators[MovedImageDimension];
207 #ifndef ITK_MANUAL_INSTANTIATION
208 #include "itkGradientDifferenceImageToImageMetric.hxx"
Array class with size defined at construction time.
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
typename Superclass::MovingImageType MovingImageType
Light weight base class for most itk classes.
typename TFixedImage::PixelType FixedImagePixelType
CastFixedImageFilterPointer m_CastFixedImageFilter
Resample an image via a coordinate transform.
typename CastMovedImageFilterType::Pointer CastMovedImageFilterPointer
typename CastFixedImageFilterType::Pointer CastFixedImageFilterPointer
typename Superclass::FixedImageConstPointer FixedImageConstPointer
typename Superclass::MovingImageConstPointer MovingImageConstPointer
typename FixedGradientImageType::PixelType FixedGradientPixelType
A NeighborhoodOperator for performing a directional Sobel edge-detection operation at a pixel locatio...
typename Superclass::TransformPointer TransformPointer
ZeroFluxNeumannBoundaryCondition< FixedGradientImageType > m_FixedBoundCond
TransformMovingImageFilterType::Pointer m_TransformMovingImageFilter
CastMovedImageFilterPointer m_CastMovedImageFilter
Computes similarity between two objects to be registered.
typename Superclass::TransformJacobianType TransformJacobianType
Control indentation during Print() invocation.
typename Superclass::RealType RealType
typename MovedGradientImageType::PixelType MovedGradientPixelType
Applies a single NeighborhoodOperator to an image region.
typename Superclass::FixedImageType FixedImageType
Computes similarity between regions of two images.
typename TMovingImage::PixelType MovedImagePixelType
Templated n-dimensional image class.
typename Superclass::TransformType TransformType
ZeroFluxNeumannBoundaryCondition< MovedGradientImageType > m_MovedBoundCond
Casts input pixels to output pixel type.
typename Superclass::TransformParametersType TransformParametersType