18 #ifndef __itkGradientDifferenceImageToImageMetric_h
19 #define __itkGradientDifferenceImageToImageMetric_h
57 template<
typename TFixedImage,
typename TMovingImage >
143 itkSetMacro(DerivativeDelta,
double);
144 itkGetConstReferenceMacro(DerivativeDelta,
double);
149 virtual ~GradientDifferenceImageToImageMetric() {}
160 const double *subtractionFactor)
const;
214 #ifndef ITK_MANUAL_INSTANTIATION
215 #include "itkGradientDifferenceImageToImageMetric.hxx"
Array class with size defined at construction time.
MeasureType ComputeMeasure(const TransformParametersType ¶meters, const double *subtractionFactor) const
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
static const unsigned int MovedImageDimension
ImageToImageMetric< TFixedImage, TMovingImage > Superclass
Resample an image via a coordinate transform.
GradientDifferenceImageToImageMetric Self
FixedGradientPixelType m_MinFixedGradient[FixedImageDimension]
CastFixedImageFilterType::Pointer CastFixedImageFilterPointer
static const unsigned int FixedImageDimension
Superclass::TransformType TransformType
TransformType::Pointer TransformPointer
virtual void Initialize(void)
NumericTraits< MovingImagePixelType >::RealType RealType
CastMovedImageFilterType::Pointer CastMovedImageFilterPointer
Superclass::DerivativeType DerivativeType
MovingImageType::ConstPointer MovingImageConstPointer
MovedGradientPixelType m_Variance[FixedImageDimension]
FixedSobelFilter::Pointer m_FixedSobelFilters[itkGetStaticConstMacro(FixedImageDimension)]
Superclass::FixedImageType FixedImageType
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::DerivativeType DerivativeType
itk::Image< RealType, itkGetStaticConstMacro(MovedImageDimension) > MovedGradientImageType
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const
Superclass::MeasureType MeasureType
TFixedImage FixedImageType
MovedSobelFilter::Pointer m_MovedSobelFilters[itkGetStaticConstMacro(MovedImageDimension)]
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
Superclass::RealType RealType
A NeighborhoodOperator for performing a directional Sobel edge-detection operation at a pixel locatio...
FixedGradientPixelType m_MaxFixedGradient[FixedImageDimension]
itk::Image< RealType, itkGetStaticConstMacro(FixedImageDimension) > FixedGradientImageType
void WriteGradientImagesToFiles(void) const
Superclass::FixedImageConstPointer FixedImageConstPointer
TMovingImage MovingImageType
NeighborhoodOperatorImageFilter< MovedGradientImageType, MovedGradientImageType > MovedSobelFilter
SobelOperator< FixedGradientPixelType, itkGetStaticConstMacro(FixedImageDimension) > m_FixedSobelOperators[FixedImageDimension]
itk::ResampleImageFilter< MovingImageType, TransformedMovingImageType > TransformMovingImageFilterType
Standard exception handling object.
MovedGradientPixelType m_MinMovedGradient[MovedImageDimension]
Superclass::MovingImageType MovingImageType
MovedGradientImageType::PixelType MovedGradientPixelType
SobelOperator< MovedGradientPixelType, itkGetStaticConstMacro(MovedImageDimension) > m_MovedSobelOperators[MovedImageDimension]
ZeroFluxNeumannBoundaryCondition< FixedGradientImageType > m_FixedBoundCond
void operator=(const Self &)
TransformMovingImageFilterType::Pointer m_TransformMovingImageFilter
Superclass::TransformPointer TransformPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
FixedGradientImageType::PixelType FixedGradientPixelType
TransformType::JacobianType TransformJacobianType
CastMovedImageFilterPointer m_CastMovedImageFilter
void ComputeMovedGradientRange(void) const
Superclass::TransformParametersType TransformParametersType
Computes similarity between two objects to be registered.
void ComputeVariance(void) const
itk::CastImageFilter< TransformedMovingImageType, MovedGradientImageType > CastMovedImageFilterType
itk::Image< FixedImagePixelType, itkGetStaticConstMacro(FixedImageDimension) > TransformedMovingImageType
Control indentation during Print() invocation.
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &derivative) const
FixedImageType::ConstPointer FixedImageConstPointer
Superclass::TransformJacobianType TransformJacobianType
Superclass::MeasureType MeasureType
Applies a single NeighborhoodOperator to an image region.
MovedGradientPixelType m_MaxMovedGradient[MovedImageDimension]
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedImageDimension) > TransformType
Computes similarity between regions of two images.
itk::CastImageFilter< FixedImageType, FixedGradientImageType > CastFixedImageFilterType
TransformType::ParametersType TransformParametersType
Templated n-dimensional image class.
ZeroFluxNeumannBoundaryCondition< MovedGradientImageType > m_MovedBoundCond
Casts input pixels to output pixel type.
GradientDifferenceImageToImageMetric()
MeasureType GetValue(const TransformParametersType ¶meters) const