18#ifndef itkPointSetToImageMetric_h
19#define itkPointSetToImageMetric_h
47template <
typename TFixedPo
intSet,
typename TMovingImage>
78 using PointIterator =
typename FixedPointSetType::PointsContainer::ConstIterator;
153 itkSetMacro(ComputeGradient,
bool);
154 itkGetConstReferenceMacro(ComputeGradient,
bool);
190#ifndef ITK_MANUAL_INSTANTIATION
191# include "itkPointSetToImageMetric.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
TFixedPointSet FixedPointSetType
typename TransformType::InputPointType InputPointType
GradientImagePointer m_GradientImage
unsigned int GetNumberOfParameters() const override
SizeValueType m_NumberOfPixelsCounted
Superclass::MeasureType MeasureType
void SetTransformParameters(const ParametersType ¶meters) const
typename TransformType::Pointer TransformPointer
TMovingImage MovingImageType
typename MovingImageType::ConstPointer MovingImageConstPointer
FixedPointSetConstPointer m_FixedPointSet
Superclass::DerivativeType DerivativeType
GradientRecursiveGaussianImageFilter< MovingImageType, GradientImageType > GradientImageFilterType
Transform< CoordinateRepresentationType, Self::MovingImageDimension, Self::FixedPointSetDimension > TransformType
MovingImageConstPointer m_MovingImage
virtual void Initialize()
CovariantVector< RealType, Self::MovingImageDimension > GradientPixelType
static constexpr unsigned int MovingImageDimension
Superclass::ParametersValueType CoordinateRepresentationType
typename TransformType::JacobianType TransformJacobianType
typename FixedPointSetType::ConstPointer FixedPointSetConstPointer
typename TMovingImage::PixelType MovingImagePixelType
InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > InterpolatorType
SmartPointer< GradientImageType > GradientImagePointer
static constexpr unsigned int FixedPointSetDimension
typename GradientImageFilterType::Pointer GradientImageFilterPointer
SmartPointer< Self > Pointer
typename FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
void PrintSelf(std::ostream &os, Indent indent) const override
~PointSetToImageMetric() override=default
typename NumericTraits< MovingImagePixelType >::RealType RealType
typename FixedPointSetType::PointsContainer::ConstIterator PointIterator
typename InterpolatorType::Pointer InterpolatorPointer
SmartPointer< const Self > ConstPointer
Superclass::ParametersType ParametersType
PointSetToImageMetric Self
SingleValuedCostFunction Superclass
typename TransformType::ParametersType TransformParametersType
TransformPointer m_Transform
Image< GradientPixelType, Self::MovingImageDimension > GradientImageType
InterpolatorPointer m_Interpolator
typename TransformType::OutputPointType OutputPointType
Array< ParametersValueType > DerivativeType
Superclass::ParametersValueType ParametersValueType
SingleValuedCostFunction()=default
Superclass::ParametersType ParametersType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType