ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkNormalizedCorrelationImageToImageMetric.h>
Private Member Functions | |
NormalizedCorrelationImageToImageMetric (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_SubtractMean |
virtual void | SetSubtractMean (bool _arg) |
virtual const bool & | GetSubtractMean () |
virtual void | SubtractMeanOn () |
virtual void | SubtractMeanOff () |
NormalizedCorrelationImageToImageMetric () | |
virtual | ~NormalizedCorrelationImageToImageMetric () |
void | PrintSelf (std::ostream &os, Indent indent) const |
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.
Definition at line 42 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef SmartPointer< const Self > itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 51 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::DerivativeType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Type of the derivative.
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 70 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::FixedImageConstPointer itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 73 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::FixedImageType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Type of the fixed Image.
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 71 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::GradientPixelType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType |
Gaussian filter to compute the gradient of the Moving Image
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 65 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::InputPointType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::InputPointType |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 67 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::MeasureType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Type of the measure.
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 69 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::MovingImageConstPointer itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 74 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::MovingImageType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Type of the moving Image.
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 72 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::OutputPointType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 66 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef SmartPointer< Self > itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Pointer |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 50 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::RealType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::RealType |
Types transferred from the base class
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 57 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef NormalizedCorrelationImageToImageMetric itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 48 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef ImageToImageMetric< TFixedImage, TMovingImage > itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 49 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformJacobianType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 64 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformParametersType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 63 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformPointer itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 62 of file itkNormalizedCorrelationImageToImageMetric.h.
typedef Superclass::TransformType itk::NormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Type of the Transform Base class
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
Definition at line 61 of file itkNormalizedCorrelationImageToImageMetric.h.
|
protected |
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.
|
inlineprotectedvirtual |
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.
Definition at line 96 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.
Reimplemented from itk::Object.
|
private |
Mutex lock to protect modification to the reference count
Reimplemented from itk::ImageToImageMetric< TFixedImage, TMovingImage >.
|
protectedvirtual |
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.
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 106 of file itkNormalizedCorrelationImageToImageMetric.h.