18 #ifndef __itkPointSetToImageMetric_h
19 #define __itkPointSetToImageMetric_h
47 template<
typename TFixedPo
intSet,
typename TMovingImage >
74 TMovingImage::ImageDimension);
76 TFixedPointSet::PointDimension);
79 typedef typename FixedPointSetType::PointsContainer::ConstIterator
PointIterator;
149 itkGetConstReferenceMacro(NumberOfPixelsCounted,
SizeValueType);
161 itkSetMacro(ComputeGradient,
bool);
162 itkGetConstReferenceMacro(ComputeGradient,
bool);
176 virtual ~PointSetToImageMetric() {}
177 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
199 #ifndef ITK_MANUAL_INSTANTIATION
200 #include "itkPointSetToImageMetric.hxx"
FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
This class is a base for the CostFunctions returning a single value.
FixedPointSetType::PointsContainer::ConstIterator PointIterator
Light weight base class for most itk classes.
static const unsigned int FixedPointSetDimension
GradientImagePointer m_GradientImage
Superclass::ParametersValueType CoordinateRepresentationType
SmartPointer< Self > Pointer
TransformType::Pointer TransformPointer
TransformType::JacobianType TransformJacobianType
InterpolatorPointer m_Interpolator
TFixedPointSet FixedPointSetType
Superclass::DerivativeType DerivativeType
Image< GradientPixelType, itkGetStaticConstMacro(MovingImageDimension) > GradientImageType
GradientRecursiveGaussianImageFilter< MovingImageType, GradientImageType > GradientImageFilterType
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
TransformType::OutputPointType OutputPointType
TransformType::ParametersType TransformParametersType
InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > InterpolatorType
unsigned long SizeValueType
CovariantVector< RealType, itkGetStaticConstMacro(MovingImageDimension) > GradientPixelType
TMovingImage MovingImageType
NumericTraits< MovingImagePixelType >::RealType RealType
virtual unsigned int GetNumberOfParameters(void) const ITK_OVERRIDE
Superclass::MeasureType MeasureType
Computes similarity between a point set and an image.
Array< ParametersValueType > DerivativeType
Array2D class representing a 2D array with size defined at construction time.
MovingImageType::ConstPointer MovingImageConstPointer
TMovingImage::PixelType MovingImagePixelType
SingleValuedCostFunction Superclass
SmartPointer< const Self > ConstPointer
Standard exception handling object.
void SetTransformParameters(const ParametersType ¶meters) const
Superclass::ParametersType ParametersType
SizeValueType m_NumberOfPixelsCounted
Base class for all image interpolaters.
FixedPointSetConstPointer m_FixedPointSet
GradientImageFilterType::Pointer GradientImageFilterPointer
virtual void Initialize(void)
Superclass::ParametersValueType ParametersValueType
SmartPointer< GradientImageType > GradientImagePointer
Control indentation during Print() invocation.
InterpolatorType::Pointer InterpolatorPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
TransformType::InputPointType InputPointType
MovingImageConstPointer m_MovingImage
TransformPointer m_Transform
Superclass::ParametersType ParametersType
void operator=(const Self &)
A templated class holding a geometric point in n-Dimensional space.
static const unsigned int MovingImageDimension
A templated class holding a n-Dimensional covariant vector.
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedPointSetDimension) > TransformType
Templated n-dimensional image class.
PointSetToImageMetric Self
FixedPointSetType::ConstPointer FixedPointSetConstPointer