18 #ifndef itkGradientDifferenceImageToImageMetric_h
19 #define itkGradientDifferenceImageToImageMetric_h
57 template<
typename TFixedImage,
typename TMovingImage >
77 typedef typename Superclass::RealType
RealType;
93 itkStaticConstMacro(FixedImageDimension,
unsigned int, TFixedImage::ImageDimension);
96 itkGetStaticConstMacro(FixedImageDimension) >
113 itkStaticConstMacro(MovedImageDimension,
unsigned int, MovingImageType::ImageDimension);
135 virtual void Initialize(
void) ITK_OVERRIDE;
138 void WriteGradientImagesToFiles() const;
142 itkSetMacro(DerivativeDelta,
double);
143 itkGetConstReferenceMacro(DerivativeDelta,
double);
148 virtual ~GradientDifferenceImageToImageMetric() ITK_OVERRIDE {}
149 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
152 void ComputeMovedGradientRange()
const;
155 void ComputeVariance()
const;
158 MeasureType ComputeMeasure(
const TransformParametersType & parameters,
159 const double *subtractionFactor)
const;
188 itkGetStaticConstMacro(FixedImageDimension) >
189 m_FixedSobelOperators[FixedImageDimension];
200 itkGetStaticConstMacro(MovedImageDimension) >
201 m_MovedSobelOperators[MovedImageDimension];
209 #ifndef ITK_MANUAL_INSTANTIATION
210 #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...
Light weight base class for most itk classes.
NeighborhoodOperatorImageFilter< FixedGradientImageType, FixedGradientImageType > FixedSobelFilter
TFixedImage::PixelType FixedImagePixelType
TMovingImage::PixelType MovedImagePixelType
CastFixedImageFilterPointer m_CastFixedImageFilter
ImageToImageMetric< TFixedImage, TMovingImage > Superclass
Resample an image via a coordinate transform.
GradientDifferenceImageToImageMetric Self
CastFixedImageFilterType::Pointer CastFixedImageFilterPointer
Superclass::TransformType TransformType
CastMovedImageFilterType::Pointer CastMovedImageFilterPointer
Superclass::FixedImageType FixedImageType
Superclass::DerivativeType DerivativeType
itk::Image< RealType, itkGetStaticConstMacro(MovedImageDimension) > MovedGradientImageType
Superclass::MeasureType MeasureType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
Superclass::RealType RealType
A NeighborhoodOperator for performing a directional Sobel edge-detection operation at a pixel locatio...
itk::Image< RealType, itkGetStaticConstMacro(FixedImageDimension) > FixedGradientImageType
Superclass::FixedImageConstPointer FixedImageConstPointer
NeighborhoodOperatorImageFilter< MovedGradientImageType, MovedGradientImageType > MovedSobelFilter
itk::ResampleImageFilter< MovingImageType, TransformedMovingImageType > TransformMovingImageFilterType
Superclass::MovingImageType MovingImageType
MovedGradientImageType::PixelType MovedGradientPixelType
ZeroFluxNeumannBoundaryCondition< FixedGradientImageType > m_FixedBoundCond
TransformMovingImageFilterType::Pointer m_TransformMovingImageFilter
Superclass::TransformPointer TransformPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
FixedGradientImageType::PixelType FixedGradientPixelType
CastMovedImageFilterPointer m_CastMovedImageFilter
Superclass::TransformParametersType TransformParametersType
Computes similarity between two objects to be registered.
itk::CastImageFilter< TransformedMovingImageType, MovedGradientImageType > CastMovedImageFilterType
itk::Image< FixedImagePixelType, itkGetStaticConstMacro(FixedImageDimension) > TransformedMovingImageType
Control indentation during Print() invocation.
Superclass::TransformJacobianType TransformJacobianType
Applies a single NeighborhoodOperator to an image region.
Computes similarity between regions of two images.
itk::CastImageFilter< FixedImageType, FixedGradientImageType > CastFixedImageFilterType
Templated n-dimensional image class.
ZeroFluxNeumannBoundaryCondition< MovedGradientImageType > m_MovedBoundCond
Casts input pixels to output pixel type.