ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkNormalizedCorrelationImageToImageMetric.h>
Computes similarity between two images to be registered.
This metric computes the correlation between pixels in the fixed image and pixels in the moving image. The spatial correspondance between fixed and moving image is established through a Transform. Pixel values are taken from the fixed image, their positions are mapped to the moving image and result in general in non-grid position on it. Values at these non-grid position of the moving image are interpolated using a user-selected Interpolator. The correlation is normalized by the autocorrelations of both the fixed and moving images.
A more negative metric value indicates a greater degree of correlation between the fixed and moving image. This makes the metric simpler to use with optimizers that strive to minimize their cost function by default.
Definition at line 46 of file itkNormalizedCorrelationImageToImageMetric.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Member Functions | |
NormalizedCorrelationImageToImageMetric (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_SubtractMean |
typedef SmartPointer< const Self > itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer |
Definition at line 55 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::DerivativeType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Definition at line 74 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::FixedImageConstPointer itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer |
Definition at line 77 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::FixedImageType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Definition at line 75 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::GradientPixelType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType |
Definition at line 69 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::InputPointType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::InputPointType |
Definition at line 71 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::MeasureType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Definition at line 73 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::MovingImageConstPointer itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Definition at line 78 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::MovingImageType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Definition at line 76 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::OutputPointType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType |
Definition at line 70 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef SmartPointer< Self > itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Pointer |
Definition at line 54 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::RealType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::RealType |
Types transferred from the base class
Definition at line 61 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef NormalizedCorrelationImageToImageMetric itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 52 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef ImageToImageMetric< TFixedImage, TMovingImage > itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Definition at line 53 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformJacobianType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType |
Definition at line 68 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformParametersType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType |
Definition at line 67 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformPointer itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Definition at line 66 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Definition at line 65 of file itkNormalizedCorrelationImageToImageMetric.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 102 of file itkNormalizedCorrelationImageToImageMetric.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
void itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetDerivative | ( | const TransformParametersType & | parameters, |
DerivativeType & | Derivative | ||
) | const |
Get the derivatives of the match measure.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
|
virtual |
Set/Get SubtractMean boolean. If true, the sample mean is subtracted from the sample values in the cross-correlation formula and typically results in narrower valleys in the cost function. Default value is false.
MeasureType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetValue | ( | const TransformParametersType & | parameters | ) | const |
Get the value for single valued optimizers.
void itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative | ( | const TransformParametersType & | parameters, |
MeasureType & | Value, | ||
DerivativeType & | Derivative | ||
) | const |
Get value and derivatives for multiple valued optimizers.
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
|
virtual |
Set/Get SubtractMean boolean. If true, the sample mean is subtracted from the sample values in the cross-correlation formula and typically results in narrower valleys in the cost function. Default value is false.
|
virtual |
Set/Get SubtractMean boolean. If true, the sample mean is subtracted from the sample values in the cross-correlation formula and typically results in narrower valleys in the cost function. Default value is false.
|
virtual |
Set/Get SubtractMean boolean. If true, the sample mean is subtracted from the sample values in the cross-correlation formula and typically results in narrower valleys in the cost function. Default value is false.
|
private |
Definition at line 111 of file itkNormalizedCorrelationImageToImageMetric.h.