18 #ifndef itkMutualInformationImageToImageMetric_h
19 #define itkMutualInformationImageToImageMetric_h
93 template <
typename TFixedImage,
typename TMovingImage>
112 using typename Superclass::TransformType;
113 using typename Superclass::TransformPointer;
114 using typename Superclass::TransformJacobianType;
115 using typename Superclass::InterpolatorType;
116 using typename Superclass::MeasureType;
117 using typename Superclass::DerivativeType;
118 using typename Superclass::ParametersType;
119 using typename Superclass::FixedImageType;
120 using typename Superclass::MovingImageType;
121 using typename Superclass::FixedImageConstPointer;
134 static constexpr
unsigned int MovingImageDimension = MovingImageType::ImageDimension;
155 SetNumberOfSpatialSamples(
unsigned int num);
158 itkGetConstReferenceMacro(NumberOfSpatialSamples,
unsigned int);
165 itkSetClampMacro(MovingImageStandardDeviation,
169 itkGetConstReferenceMacro(MovingImageStandardDeviation,
double);
177 itkSetClampMacro(FixedImageStandardDeviation,
181 itkGetConstMacro(FixedImageStandardDeviation,
double);
195 PrintSelf(std::ostream & os,
Indent indent)
const override;
210 double FixedImageValue{ 0.0 };
211 double MovingImageValue{ 0.0 };
225 unsigned int m_NumberOfSpatialSamples{};
226 double m_MovingImageStandardDeviation{};
227 double m_FixedImageStandardDeviation{};
228 double m_MinProbability{};
244 SampleFixedImageDomain(SpatialSampleContainer & samples)
const;
256 CalculateDerivatives(
const FixedImagePointType &, DerivativeType &, TransformJacobianType &)
const;
258 using typename Superclass::CoordinateRepresentationType;
265 #ifndef ITK_MANUAL_INSTANTIATION
266 # include "itkMutualInformationImageToImageMetric.hxx"