18#ifndef itkCompareHistogramImageToImageMetric_h
19#define itkCompareHistogramImageToImageMetric_h
55template <
typename TFixedImage,
typename TMovingImage>
72 using typename Superclass::RealType;
73 using typename Superclass::TransformType;
74 using typename Superclass::TransformPointer;
77 using typename Superclass::TransformParametersType;
78 using typename Superclass::TransformJacobianType;
79 using typename Superclass::GradientPixelType;
81 using typename Superclass::MeasureType;
82 using typename Superclass::DerivativeType;
83 using typename Superclass::FixedImageType;
84 using typename Superclass::MovingImageType;
85 using typename Superclass::FixedImageConstPointer;
86 using typename Superclass::MovingImageConstPointer;
88 using typename Superclass::HistogramType;
89 using typename Superclass::HistogramSizeType;
97 using typename Superclass::InterpolatorType;
98 using typename Superclass::InterpolatorPointer;
100 using typename Superclass::FixedImageRegionType;
136 return this->GetTransform()->GetNumberOfParameters();
173#ifndef ITK_MANUAL_INSTANTIATION
174# include "itkCompareHistogramImageToImageMetric.hxx"
Compares Histograms between two images to be registered to a Training Histogram.
typename HistogramType::AbsoluteFrequencyType HistogramAbsoluteFrequencyType
typename HistogramType::Pointer HistogramPointerType
MeasureType EvaluateMeasure(HistogramType &histogram) const override=0
typename HistogramType::Iterator HistogramIteratorType
typename TransformType::ConstPointer TransformConstPointer
HistogramAbsoluteFrequencyType HistogramFrequencyType
CompareHistogramImageToImageMetric()
unsigned int GetNumberOfParameters() const override
typename HistogramType::MeasurementVectorType HistogramMeasurementVectorType
~CompareHistogramImageToImageMetric() override=default
void Initialize() override
void FormTrainingHistogram()
void PrintSelf(std::ostream &os, Indent indent) const override
Computes similarity between two objects to be registered.
typename FixedImageType::ConstPointer FixedImageConstPointer
typename TransformType::Pointer TransformPointer
typename FixedImageType::RegionType FixedImageRegionType
typename MovingImageType::ConstPointer MovingImageConstPointer
TFixedImage FixedImageType
TMovingImage MovingImageType
typename InterpolatorType::Pointer InterpolatorPointer
Control indentation during Print() invocation.
Base class for all image interpolators.
Light weight base class for most itk classes.
class that walks through the elements of the histogram.
This class stores measurement vectors in the context of n-dimensional histogram.
typename FrequencyContainerType::AbsoluteFrequencyType AbsoluteFrequencyType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....