18 #ifndef itkTwoImageToOneImageMetric_h
19 #define itkTwoImageToOneImageMetric_h
52 template <
typename TFixedImage,
typename TMovingImage>
173 itkGetConstReferenceMacro( NumberOfPixelsCounted,
unsigned long );
200 itkSetMacro( ComputeGradient,
bool);
201 itkGetConstReferenceMacro( ComputeGradient,
bool);
202 itkBooleanMacro(ComputeGradient);
250 #ifndef ITK_MANUAL_INSTANTIATION
251 #include "itkTwoImageToOneImageMetric.hxx"
Array class with size defined at construction time.
typename NumericTraits< MovingImagePixelType >::RealType RealType
This class is a base for the CostFunctions returning a single value.
Light weight base class for most itk classes.
MovingImageMaskPointer m_MovingImageMask
Computes similarity between two fixed images and one fixed image.
Define numeric traits for std::vector.
FixedImageMaskPointer m_FixedImageMask2
typename TransformType::JacobianType TransformJacobianType
TransformPointer m_Transform
typename TransformType::InputPointType InputPointType
FixedImageMaskPointer m_FixedImageMask1
void PrintSelf(std::ostream &os, Indent indent) const override
typename InterpolatorType::Pointer InterpolatorPointer
typename FixedImageType::ConstPointer FixedImageConstPointer
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
TwoImageToOneImageMetric()
Superclass::ParametersValueType CoordinateRepresentationType
CovariantVector< RealType, itkGetStaticConstMacro(MovingImageDimension)> GradientPixelType
SpatialObject< itkGetStaticConstMacro(FixedImageDimension) > FixedImageMaskType
typename MovingImageType::ConstPointer MovingImageConstPointer
unsigned int GetNumberOfParameters() const override
typename TMovingImage::PixelType MovingImagePixelType
virtual void Initialize()
FixedImageRegionType m_FixedImageRegion2
typename MovingImageMaskType::Pointer MovingImageMaskPointer
void SetTransformParameters(const ParametersType ¶meters) const
TFixedImage FixedImageType
SingleValuedCostFunction()=default
SmartPointer< Self > Pointer
MovingImageConstPointer m_MovingImage
Implementation of the composite pattern.
Array< ParametersValueType > DerivativeType
typename GradientImageFilterType::Pointer GradientImageFilterPointer
FixedImageRegionType m_FixedImageRegion1
typename TransformType::Pointer TransformPointer
Superclass::ParametersType ParametersType
SpatialObject< itkGetStaticConstMacro(MovingImageDimension) > MovingImageMaskType
FixedImageConstPointer m_FixedImage2
TMovingImage MovingImageType
typename TransformType::ParametersType TransformParametersType
Base class for all image interpolaters.
SmartPointer< Self > Pointer
GradientImagePointer m_GradientImage
unsigned long m_NumberOfPixelsCounted
Control indentation during Print() invocation.
Superclass::ParametersValueType ParametersValueType
typename TransformType::OutputPointType OutputPointType
typename FixedImageType::RegionType FixedImageRegionType
typename FixedImageMaskType::Pointer FixedImageMaskPointer
SmartPointer< Self > Pointer
InterpolatorPointer m_Interpolator1
ImageBaseType::RegionType RegionType
InterpolatorPointer m_Interpolator2
A templated class holding a n-Dimensional covariant vector.
FixedImageConstPointer m_FixedImage1
static constexpr unsigned int FixedImageDimension
Templated n-dimensional image class.
static constexpr unsigned int MovingImageDimension
~TwoImageToOneImageMetric() override