18 #ifndef __itkHistogramImageToImageMetric_h
19 #define __itkHistogramImageToImageMetric_h
38 template<
typename TFixedImage,
typename TMovingImage >
94 itkGetConstReferenceMacro(HistogramSize, HistogramSizeType);
98 itkSetMacro(UpperBoundIncreaseFactor,
double);
99 itkGetConstMacro(UpperBoundIncreaseFactor,
double);
106 itkGetConstReferenceMacro(PaddingValue, FixedImagePixelType);
116 itkSetMacro(UsePaddingValue,
bool);
117 itkGetConstMacro(UsePaddingValue,
bool);
121 itkSetMacro(DerivativeStepLength,
double);
124 itkGetConstMacro(DerivativeStepLength,
double);
130 itkSetMacro(DerivativeStepLengthScales, ScalesType);
133 itkGetConstReferenceMacro(DerivativeStepLengthScales, ScalesType);
167 virtual ~HistogramImageToImageMetric() {}
197 unsigned int parameter,
235 #ifndef ITK_MANUAL_INSTANTIATION
236 #include "itkHistogramImageToImageMetric.hxx"
239 #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
void SetTransform(TransformType *transform)
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const
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 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)
MeasureType GetValue(const TransformParametersType ¶meters) const
void CopyHistogram(HistogramType &target, HistogramType &source) const
double m_DerivativeStepLength
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const
TFixedImage FixedImageType
Superclass::FixedImageConstPointer FixedImageConstPointerType
FixedImagePixelType m_PaddingValue
Superclass::MeasurementVectorType MeasurementVectorType
void PrintSelf(std::ostream &os, Indent indent) const
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
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.
HistogramPointer m_Histogram
TransformType::ParametersType TransformParametersType
Superclass::MovingImageType::PixelType MovingImagePixelType
Superclass::RealType RealType
Superclass::MovingImageConstPointer MovingImageConstPointerType
double m_UpperBoundIncreaseFactor
ImageToImageMetric< TFixedImage, TMovingImage > Superclass