18 #ifndef itkHistogramImageToImageMetric_h
19 #define itkHistogramImageToImageMetric_h
38 template<
typename TFixedImage,
typename TMovingImage >
93 itkGetConstReferenceMacro(HistogramSize, HistogramSizeType);
97 itkSetMacro(UpperBoundIncreaseFactor,
double);
98 itkGetConstMacro(UpperBoundIncreaseFactor,
double);
105 itkGetConstReferenceMacro(PaddingValue, FixedImagePixelType);
115 itkSetMacro(UsePaddingValue,
bool);
116 itkGetConstMacro(UsePaddingValue,
bool);
120 itkSetMacro(DerivativeStepLength,
double);
123 itkGetConstMacro(DerivativeStepLength,
double);
129 itkSetMacro(DerivativeStepLengthScales, ScalesType);
132 itkGetConstReferenceMacro(DerivativeStepLengthScales, ScalesType);
166 virtual ~HistogramImageToImageMetric() {}
196 unsigned int parameter,
234 #ifndef ITK_MANUAL_INSTANTIATION
235 #include "itkHistogramImageToImageMetric.hxx"
238 #endif // itkHistogramImageToImageMetric_h
bool m_LowerBoundSetByUser
Array class with size defined at construction time.
Superclass::TransformPointer TransformPointer
TransformType::OutputPointType OutputPointType
Superclass::InputPointType InputPointType
void operator=(const Self &)
Light weight base class for most itk classes.
HistogramSizeType m_HistogramSize
HistogramType::Pointer HistogramPointer
TransformType::InputPointType InputPointType
Superclass::DerivativeType DerivativeType
Superclass::FixedImageType FixedImageType
void SetLowerBound(const MeasurementVectorType &bound)
Superclass::FixedImageType::PixelType FixedImagePixelType
This class stores measurement vectors in the context of n-dimensional histogram.
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const override
void ComputeHistogram(const TransformParametersType ¶meters, HistogramType &histogram) const
NumericTraits< MovingImagePixelType >::RealType RealType
SmartPointer< const Self > ConstPointer
Superclass::DerivativeType DerivativeType
MovingImageType::ConstPointer MovingImageConstPointer
void SetUpperBound(const MeasurementVectorType &bound)
void CopyHistogram(HistogramType &target, HistogramType &source) const
double m_DerivativeStepLength
MeasureType GetValue(const TransformParametersType ¶meters) const override
TFixedImage FixedImageType
Superclass::FixedImageConstPointer FixedImageConstPointerType
FixedImagePixelType m_PaddingValue
Superclass::MeasurementVectorType MeasurementVectorType
TMovingImage MovingImageType
HistogramImageToImageMetric()
const MeasurementVectorType & GetUpperBound() const
Statistics::Histogram< double > HistogramType
Standard exception handling object.
HistogramType::MeasurementVectorType MeasurementVectorType
Superclass::TransformType TransformType
virtual MeasureType EvaluateMeasure(HistogramType &histogram) const =0
bool m_UpperBoundSetByUser
MeasurementVectorType m_LowerBound
Superclass::TransformParametersType TransformParametersType
Superclass::MeasureType MeasureType
TransformType::JacobianType TransformJacobianType
void Initialize() override
HistogramType::SizeType HistogramSizeType
Superclass::MovingImageType MovingImageType
HistogramImageToImageMetric Self
MeasurementVectorType m_UpperBound
Superclass::TransformJacobianType TransformJacobianType
Superclass::GradientPixelType GradientPixelType
Control indentation during Print() invocation.
FixedImageType::ConstPointer FixedImageConstPointer
SmartPointer< Self > Pointer
const MeasurementVectorType & GetLowerBound() const
Superclass::OutputPointType OutputPointType
Computes similarity between two objects to be registered.
Superclass::MeasureType MeasureType
CovariantVector< RealType, itkGetStaticConstMacro(MovingImageDimension) > GradientPixelType
ScalesType m_DerivativeStepLengthScales
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedImageDimension) > TransformType
Computes similarity between regions of two images.
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const override
HistogramPointer m_Histogram
TransformType::ParametersType TransformParametersType
void SetTransform(TransformType *transform) override
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::MovingImageType::PixelType MovingImagePixelType
Superclass::RealType RealType
Superclass::MovingImageConstPointer MovingImageConstPointerType
double m_UpperBoundIncreaseFactor
ImageToImageMetric< TFixedImage, TMovingImage > Superclass