18#ifndef itkTwoImageToOneImageMetric_h
19#define itkTwoImageToOneImageMetric_h
51template <
typename TFixedImage,
typename TMovingImage>
162 itkGetConstReferenceMacro(NumberOfPixelsCounted,
unsigned long);
188 itkGetConstReferenceMacro(ComputeGradient,
bool);
189 itkBooleanMacro(ComputeGradient);
240#ifndef ITK_MANUAL_INSTANTIATION
241# include "itkTwoImageToOneImageMetric.hxx"
A templated class holding a n-Dimensional covariant vector.
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
SmartPointer< Self > Pointer
Templated n-dimensional image class.
Control indentation during Print() invocation.
Base class for all image interpolators.
SmartPointer< Self > Pointer
Array< ParametersValueType > DerivativeType
Superclass::ParametersValueType ParametersValueType
SingleValuedCostFunction()=default
Superclass::ParametersType ParametersType
Implements transparent reference counting.
Implementation of the composite pattern.
SmartPointer< Self > Pointer
InterpolatorPointer m_Interpolator1
typename TransformType::JacobianType TransformJacobianType
static constexpr unsigned int FixedImageDimension
Image< GradientPixelType, Self::MovingImageDimension > GradientImageType
InterpolatorPointer m_Interpolator2
SpatialObject< Self::FixedImageDimension > FixedImageMaskType
MovingImageConstPointer m_MovingImage
CovariantVector< RealType, Self::MovingImageDimension > GradientPixelType
Superclass::ParametersValueType CoordinateRepresentationType
TwoImageToOneImageMetric Self
typename TransformType::Pointer TransformPointer
static constexpr unsigned int MovingImageDimension
TwoImageToOneImageMetric()
FixedImageMaskPointer m_FixedImageMask1
InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > InterpolatorType
void PrintSelf(std::ostream &os, Indent indent) const override
typename TransformType::InputPointType InputPointType
FixedImageMaskPointer m_FixedImageMask2
unsigned int GetNumberOfParameters() const override
MovingImageMaskPointer m_MovingImageMask
SpatialObject< Self::MovingImageDimension > MovingImageMaskType
FixedImageConstPointer m_FixedImage2
virtual void Initialize()
GradientImagePointer m_GradientImage
Transform< CoordinateRepresentationType, Self::MovingImageDimension, Self::FixedImageDimension > TransformType
FixedImageConstPointer m_FixedImage1
unsigned long m_NumberOfPixelsCounted
typename FixedImageType::RegionType FixedImageRegionType
typename TransformType::OutputPointType OutputPointType
SmartPointer< Self > Pointer
Superclass::DerivativeType DerivativeType
void SetTransformParameters(const ParametersType ¶meters) const
TMovingImage MovingImageType
TransformPointer m_Transform
FixedImageRegionType m_FixedImageRegion1
FixedImageRegionType m_FixedImageRegion2
typename MovingImageMaskType::Pointer MovingImageMaskPointer
typename FixedImageType::ConstPointer FixedImageConstPointer
TFixedImage FixedImageType
typename GradientImageFilterType::Pointer GradientImageFilterPointer
GradientRecursiveGaussianImageFilter< MovingImageType, GradientImageType > GradientImageFilterType
typename FixedImageMaskType::Pointer FixedImageMaskPointer
SmartPointer< GradientImageType > GradientImagePointer
typename InterpolatorType::Pointer InterpolatorPointer
typename MovingImageType::ConstPointer MovingImageConstPointer
SingleValuedCostFunction Superclass
SmartPointer< const Self > ConstPointer
Superclass::MeasureType MeasureType
typename TransformType::ParametersType TransformParametersType
typename TMovingImage::PixelType MovingImagePixelType
typename NumericTraits< MovingImagePixelType >::RealType RealType
~TwoImageToOneImageMetric() override=default
Superclass::ParametersType ParametersType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)