18 #ifndef itkGradientDifferenceImageToImageMetric_h
19 #define itkGradientDifferenceImageToImageMetric_h
57 template<
typename TFixedImage,
typename TMovingImage >
142 itkSetMacro(DerivativeDelta,
double);
143 itkGetConstReferenceMacro(DerivativeDelta,
double);
148 virtual ~GradientDifferenceImageToImageMetric() {}
159 const double *subtractionFactor)
const;
213 #ifndef ITK_MANUAL_INSTANTIATION
214 #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...
void ComputeVariance() const
Light weight base class for most itk classes.
NeighborhoodOperatorImageFilter< FixedGradientImageType, FixedGradientImageType > FixedSobelFilter
TFixedImage::PixelType FixedImagePixelType
TMovingImage::PixelType MovedImagePixelType
void PrintSelf(std::ostream &os, Indent indent) const override
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
void WriteGradientImagesToFiles() const
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
Superclass::DerivativeType DerivativeType
itk::Image< RealType, itkGetStaticConstMacro(MovedImageDimension) > MovedGradientImageType
void ComputeMovedGradientRange() 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
Superclass::FixedImageConstPointer FixedImageConstPointer
TMovingImage MovingImageType
NeighborhoodOperatorImageFilter< MovedGradientImageType, MovedGradientImageType > MovedSobelFilter
SobelOperator< FixedGradientPixelType, itkGetStaticConstMacro(FixedImageDimension) > m_FixedSobelOperators[FixedImageDimension]
itk::ResampleImageFilter< MovingImageType, TransformedMovingImageType > TransformMovingImageFilterType
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &derivative) const override
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
MeasureType GetValue(const TransformParametersType ¶meters) const override
Superclass::MovingImageConstPointer MovingImageConstPointer
FixedGradientImageType::PixelType FixedGradientPixelType
TransformType::JacobianType TransformJacobianType
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.
FixedImageType::ConstPointer FixedImageConstPointer
Superclass::TransformJacobianType TransformJacobianType
Superclass::MeasureType MeasureType
Applies a single NeighborhoodOperator to an image region.
MovedGradientPixelType m_MaxMovedGradient[MovedImageDimension]
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const override
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedImageDimension) > TransformType
Computes similarity between regions of two images.
virtual void Initialize(void) override
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()