18#ifndef itkKNNGraphAlphaMutualInformationImageToImageMetric_h
19#define itkKNNGraphAlphaMutualInformationImageToImageMetric_h
41#include "itkArray2D.h"
73template <
class TFixedImage,
class TMovingImage>
93 using typename Superclass::CoordinateRepresentationType;
94 using typename Superclass::MovingImageType;
95 using typename Superclass::MovingImagePixelType;
96 using typename Superclass::MovingImageConstPointer;
97 using typename Superclass::FixedImageType;
98 using typename Superclass::FixedImageConstPointer;
99 using typename Superclass::FixedImageRegionType;
100 using typename Superclass::TransformType;
101 using typename Superclass::TransformPointer;
102 using typename Superclass::InputPointType;
103 using typename Superclass::OutputPointType;
104 using typename Superclass::TransformParametersType;
105 using typename Superclass::TransformJacobianType;
106 using typename Superclass::InterpolatorType;
107 using typename Superclass::InterpolatorPointer;
108 using typename Superclass::RealType;
109 using typename Superclass::GradientPixelType;
110 using typename Superclass::GradientImageType;
111 using typename Superclass::GradientImagePointer;
112 using typename Superclass::GradientImageFilterType;
113 using typename Superclass::GradientImageFilterPointer;
114 using typename Superclass::FixedImageMaskType;
115 using typename Superclass::FixedImageMaskPointer;
116 using typename Superclass::MovingImageMaskType;
117 using typename Superclass::MovingImageMaskPointer;
118 using typename Superclass::MeasureType;
119 using typename Superclass::DerivativeType;
120 using typename Superclass::ParametersType;
184 std::string splittingRuleFixed,
185 std::string splittingRuleMoving,
186 std::string splittingRuleJoint);
190 SetANNbdTree(
unsigned int bucketSize, std::string splittingRule, std::string shrinkingRule);
195 std::string splittingRuleFixed,
196 std::string splittingRuleMoving,
197 std::string splittingRuleJoint,
198 std::string shrinkingRuleFixed,
199 std::string shrinkingRuleMoving,
200 std::string shrinkingRuleJoint);
233 GetDerivative(
const TransformParametersType & parameters, DerivativeType & Derivative)
const override;
237 GetValue(
const TransformParametersType & parameters)
const override;
243 DerivativeType & Derivative)
const override;
246 itkSetClampMacro(Alpha,
double, 0.0, 1.0);
249 itkGetConstReferenceMacro(Alpha,
double);
252 itkSetClampMacro(AvoidDivisionBy,
double, 0.0, 1.0);
255 itkGetConstReferenceMacro(AvoidDivisionBy,
double);
266 PrintSelf(std::ostream & os, Indent indent)
const override;
307 const bool doDerivative,
336 const MeasureType & distance_M,
337 const MeasureType & distance_J,
338 DerivativeType & dGamma_M,
339 DerivativeType & dGamma_J)
const;
344#ifndef ITK_MANUAL_INSTANTIATION
345# include "itkKNNGraphAlphaMutualInformationImageToImageMetric.hxx"
typename ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
typename MovingImageType::RegionType MovingImageRegionType
typename AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
typename FixedImageType::PixelType FixedImagePixelType
typename ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
typename MovingImageLimiterType::OutputType MovingImageLimiterOutputType
typename TransformType::InputPointType FixedImagePointType
typename FixedImageLimiterType::OutputType FixedImageLimiterOutputType
typename ImageSamplerType::Pointer ImageSamplerPointer
SmartPointer< Self > Pointer
Array< int > IndexArrayType
Array< double > DistanceArrayType
SmartPointer< Self > Pointer
This class is a base class for any image sampler.
Base class for all ITK limiter function objects.
A ListSampleBase that internally uses a CArray, which can be accessed.