18 #ifndef itkCompareHistogramImageToImageMetric_h 19 #define itkCompareHistogramImageToImageMetric_h 55 template<
typename TFixedImage,
typename TMovingImage >
104 itkSetMacro(TrainingHistogram, HistogramPointerType);
105 itkGetConstReferenceMacro(TrainingHistogram, HistogramPointerType);
109 itkSetConstObjectMacro(TrainingFixedImage, FixedImageType);
112 itkSetConstObjectMacro(TrainingMovingImage, MovingImageType);
113 itkGetConstObjectMacro(TrainingMovingImage, MovingImageType);
117 itkSetObjectMacro(TrainingTransform, TransformType);
118 itkGetModifiableObjectMacro(TrainingTransform, TransformType);
122 itkSetObjectMacro(TrainingInterpolator, InterpolatorType);
123 itkGetModifiableObjectMacro(TrainingInterpolator, InterpolatorType);
153 virtual MeasureType
EvaluateMeasure(HistogramType & histogram)
const ITK_OVERRIDE = 0;
169 #ifndef ITK_MANUAL_INSTANTIATION 170 #include "itkCompareHistogramImageToImageMetric.hxx" 173 #endif // itkCompareHistogramImageToImageMetric_h Superclass::FixedImageRegionType FixedImageRegionType
Superclass::TransformPointer TransformPointer
Superclass::HistogramType HistogramType
CompareHistogramImageToImageMetric()
Superclass::TransformJacobianType TransformJacobianType
TransformType::ConstPointer TransformConstPointer
Superclass::HistogramSizeType HistogramSizeType
void PrintSelf(std::ostream &os, Indent indent) const override
HistogramImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::MovingImageType MovingImageType
Superclass::MovingImageConstPointer MovingImageConstPointer
Superclass::DerivativeType DerivativeType
Superclass::DerivativeType DerivativeType
Superclass::GradientPixelType GradientPixelType
Superclass::FixedImageType FixedImageType
SmartPointer< const Self > ConstPointer
HistogramPointerType m_TrainingHistogram
This class stores measurement vectors in the context of n-dimensional histogram.
HistogramType::MeasurementVectorType HistogramMeasurementVectorType
MovingImageConstPointer m_TrainingMovingImage
FrequencyContainerType::AbsoluteFrequencyType AbsoluteFrequencyType
void FormTrainingHistogram()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
FixedImageRegionType m_TrainingFixedImageRegion
Superclass::MeasureType MeasureType
MovingImageType::ConstPointer MovingImageConstPointer
virtual ~CompareHistogramImageToImageMetric()
virtual const TransformType * GetTransform() const
SmartPointer< Self > Pointer
void Initialize() override
Superclass::InterpolatorPointer InterpolatorPointer
unsigned int GetNumberOfParameters(void) const override
Superclass::TransformType TransformType
virtual MeasureType EvaluateMeasure(HistogramType &histogram) const override=0
Superclass::InterpolatorType InterpolatorType
Superclass::MeasurementVectorType MeasurementVectorType
HistogramType::AbsoluteFrequencyType HistogramAbsoluteFrequencyType
InterpolatorPointer m_TrainingInterpolator
Standard exception handling object.
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::TransformType TransformType
Superclass::TransformPointer TransformPointer
CompareHistogramImageToImageMetric Self
Superclass::TransformParametersType TransformParametersType
Superclass::MeasureType MeasureType
HistogramType::Pointer HistogramPointerType
InterpolatorType::Pointer InterpolatorPointer
HistogramType::SizeType HistogramSizeType
FixedImageConstPointer m_TrainingFixedImage
Superclass::MovingImageType MovingImageType
Superclass::TransformParametersType TransformParametersType
Superclass::RealType RealType
class that walks through the elements of the histogram.
InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > InterpolatorType
Superclass::TransformJacobianType TransformJacobianType
Superclass::GradientPixelType GradientPixelType
Control indentation during Print() invocation.
FixedImageType::ConstPointer FixedImageConstPointer
Superclass::FixedImageType FixedImageType
Compares Histograms between two images to be registered to a Training Histogram.
HistogramAbsoluteFrequencyType HistogramFrequencyType
Computes similarity between two objects to be registered.
void operator=(Self const &)
TransformPointer m_TrainingTransform
Superclass::RealType RealType
FixedImageType::RegionType FixedImageRegionType
HistogramType::Iterator HistogramIteratorType