18 #ifndef itkCompareHistogramImageToImageMetric_h
19 #define itkCompareHistogramImageToImageMetric_h
55 template<
typename TFixedImage,
typename TMovingImage >
73 using RealType =
typename Superclass::RealType;
118 itkGetModifiableObjectMacro(TrainingTransform,
TransformType);
133 {
return this->GetTransform()->GetNumberOfParameters(); }
137 void Initialize()
override;
144 void PrintSelf(std::ostream & os,
Indent indent)
const override;
148 void FormTrainingHistogram();
152 MeasureType EvaluateMeasure(HistogramType & histogram)
const override = 0;
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "itkCompareHistogramImageToImageMetric.hxx"
168 #endif // itkCompareHistogramImageToImageMetric_h
Array class with size defined at construction time.
typename Superclass::FixedImageRegionType FixedImageRegionType
typename HistogramType::Pointer HistogramPointerType
typename Superclass::TransformParametersType TransformParametersType
Light weight base class for most itk classes.
typename HistogramType::AbsoluteFrequencyType HistogramAbsoluteFrequencyType
typename Superclass::RealType RealType
typename Superclass::MovingImageType MovingImageType
typename Superclass::GradientPixelType GradientPixelType
HistogramPointerType m_TrainingHistogram
MovingImageConstPointer m_TrainingMovingImage
typename Superclass::HistogramSizeType HistogramSizeType
FixedImageRegionType m_TrainingFixedImageRegion
typename Superclass::HistogramType HistogramType
typename Superclass::MovingImageConstPointer MovingImageConstPointer
unsigned int GetNumberOfParameters() const override
typename Superclass::TransformPointer TransformPointer
typename HistogramType::MeasurementVectorType HistogramMeasurementVectorType
typename TransformType::ConstPointer TransformConstPointer
InterpolatorPointer m_TrainingInterpolator
typename Superclass::FixedImageConstPointer FixedImageConstPointer
typename Superclass::InterpolatorPointer InterpolatorPointer
typename Superclass::FixedImageType FixedImageType
typename Superclass::TransformPointer TransformPointer
FixedImageConstPointer m_TrainingFixedImage
typename HistogramType::Iterator HistogramIteratorType
Control indentation during Print() invocation.
Compares Histograms between two images to be registered to a Training Histogram.
Computes similarity between two objects to be registered.
typename Superclass::TransformType TransformType
typename Superclass::InterpolatorType InterpolatorType
TransformPointer m_TrainingTransform
HistogramAbsoluteFrequencyType HistogramFrequencyType
typename Superclass::TransformJacobianType TransformJacobianType