#include <itkHistogramImageToImageMetric.h>
Inheritance diagram for itk::HistogramImageToImageMetric< TFixedImage, TMovingImage >:
Public Types | |
typedef HistogramImageToImageMetric | Self |
typedef ImageToImageMetric< TFixedImage, TMovingImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::RealType | RealType |
typedef Superclass::TransformType | TransformType |
typedef Superclass::TransformPointer | TransformPointer |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef Superclass::GradientPixelType | GradientPixelType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::FixedImageType | FixedImageType |
typedef Superclass::FixedImageType::PixelType | FixedImagePixelType |
typedef Superclass::MovingImageType | MovingImageType |
typedef Superclass::MovingImageType::PixelType | MovingImagePixelType |
typedef Superclass::FixedImageConstPointer | FixedImageConstPointerType |
typedef Superclass::MovingImageConstPointer | MovingImageConstPointerType |
typedef Statistics::Histogram< double, 2 > | HistogramType |
typedef HistogramType::MeasurementVectorType | MeasurementVectorType |
typedef HistogramType::SizeType | HistogramSizeType |
typedef Array< double > | ScalesType |
Public Member Functions | |
virtual const char * | GetClassName () const |
void | Initialize () throw (ExceptionObject) |
virtual void | SetHistogramSize (HistogramSizeType _arg) |
virtual const HistogramSizeType & | GetHistogramSize () |
virtual void | SetPaddingValue (FixedImagePixelType _arg) |
virtual const FixedImagePixelType & | GetPaddingValue () |
virtual void | SetDerivativeStepLength (double _arg) |
virtual double | GetDerivativeStepLength () |
virtual void | SetDerivativeStepLengthScales (ScalesType _arg) |
virtual const ScalesType & | GetDerivativeStepLengthScales () |
MeasureType | GetValue (const TransformParametersType ¶meters) const |
void | GetDerivative (const TransformParametersType ¶meters, DerivativeType &derivative) const |
void | GetValueAndDerivative (const TransformParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const |
virtual void | SetUpperBoundIncreaseFactor (double _arg) |
virtual double | GetUpperBoundIncreaseFactor () |
virtual void | SetUsePaddingValue (bool _arg) |
virtual bool | GetUsePaddingValue () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
void | ComputeHistogram (const TransformParametersType ¶meters, HistogramType &histogram) const |
void | ComputeHistogram (const TransformParametersType ¶meters, unsigned int parameter, double step, HistogramType &histogram) const |
void | CopyHistogram (HistogramType &target, HistogramType &source) const |
virtual MeasureType | EvaluateMeasure (HistogramType &histogram) const=0 |
void | PrintSelf (std::ostream &os, Indent indent) const |
HistogramImageToImageMetric () | |
virtual | ~HistogramImageToImageMetric () |
Protected Attributes | |
HistogramSizeType | m_HistogramSize |
MeasurementVectorType | m_LowerBound |
MeasurementVectorType | m_UpperBound |
double | m_UpperBoundIncreaseFactor |
This class is templated over the type of the fixed and moving images to be compared.
The metric computes the similarity measure between pixels in the moving image and pixels in the fixed image using a histogram.
Definition at line 36 of file itkHistogramImageToImageMetric.h.
|
|
|
Definition at line 70 of file itkHistogramImageToImageMetric.h. |
|
Definition at line 66 of file itkHistogramImageToImageMetric.h. |
|
|
|
Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >. Definition at line 79 of file itkHistogramImageToImageMetric.h. |
|
Typedefs for histogram. This should have been defined as Histogram<RealType,2> but a bug in VC++7 produced an internal compiler error with such declaration. Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >. Definition at line 77 of file itkHistogramImageToImageMetric.h. |
|
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >. Definition at line 61 of file itkHistogramImageToImageMetric.h. |
|
Definition at line 78 of file itkHistogramImageToImageMetric.h. |
|
|
Definition at line 72 of file itkHistogramImageToImageMetric.h. |
|
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >. Definition at line 68 of file itkHistogramImageToImageMetric.h. |
|
|
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >. Definition at line 62 of file itkHistogramImageToImageMetric.h. |
|
|
|
The scales type. Definition at line 117 of file itkHistogramImageToImageMetric.h. |
|
|
|
|
|
|
|
Constructor is protected to ensure that |
|
Constructor is protected to ensure that Definition at line 141 of file itkHistogramImageToImageMetric.h. |
|
Computes the joint histogram from the transformation parameters passed to the function. |
|
Computes the joint histogram from the transformation parameters passed to the function. |
|
Copies a histogram.
|
|
Evaluates the similarity measure using the given histogram. All subclasses must reimplement this method. Implemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::CorrelationCoefficientHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MeanSquaresHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::MutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::NormalizedMutualInformationHistogramImageToImageMetric< TFixedImage, TMovingImage >. |
|
|
Get the derivatives of the match measure. |
|
Returns the step length used to calculate the derivative. |
|
Returns the derivate step length scales. |
|
Gets the histogram size. |
|
Returns the padding value. |
|
Factor to increase the upper bound for the samples in the histogram. Default value is 0.001 |
|
Set whether the padding value should be used to determine which pixels should be ignored when calculating the similarity measure. Those pixels in the fixed image which have the padding value will be ignored. |
|
Get the value for single valued optimizers. |
|
Get value and derivatives for multiple valued optimizers. |
|
Initializes the metric. Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >. Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >. |
|
|
PrintSelf funtion Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >. Reimplemented in itk::CompareHistogramImageToImageMetric< TFixedImage, TMovingImage >, and itk::KullbackLeiblerCompareHistogramImageToImageMetric< TFixedImage, TMovingImage >. |
|
Sets the step length used to calculate the derivative. |
|
Sets the derivative step length scales. |
|
Sets the histogram size. Note this function must be called before |
|
The padding value. |
|
Factor to increase the upper bound for the samples in the histogram. Default value is 0.001 |
|
Set whether the padding value should be used to determine which pixels should be ignored when calculating the similarity measure. Those pixels in the fixed image which have the padding value will be ignored. |
|
The histogram size. Definition at line 145 of file itkHistogramImageToImageMetric.h. |
|
The lower bound for samples in the histogram. Definition at line 148 of file itkHistogramImageToImageMetric.h. |
|
The upper bound for samples in the histogram. Definition at line 151 of file itkHistogramImageToImageMetric.h. |
|
The increase in the upper bound. Definition at line 154 of file itkHistogramImageToImageMetric.h. |