ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkDemonsImageToImageMetricv4.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const ImageDimensionType | FixedImageDimension = ::itk::GetImageDimension<TFixedImage>::ImageDimension |
static const ImageDimensionType | MovingImageDimension = ::itk::GetImageDimension<TMovingImage>::ImageDimension |
static const ImageDimensionType | VirtualImageDimension = ::itk::GetImageDimension<TVirtualImage>::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage > | |
Static Public Attributes inherited from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension, TVirtualImage > | |
static const DimensionType | FixedDimension |
static const DimensionType | MovingDimension |
static const DimensionType | VirtualDimension |
Private Member Functions | |
DemonsImageToImageMetricv4 (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
InternalComputationValueType | m_DenominatorThreshold |
InternalComputationValueType | m_IntensityDifferenceThreshold |
InternalComputationValueType | m_Normalizer |
Class implementing demons metric.
The implementation is taken from itkDemonsRegistrationFunction.
The metric derivative can be calculated using image derivatives either from the fixed or moving images. The default is to use fixed-image gradients. See ObjectToObjectMetric::SetGradientSource to change this behavior.
An intensity threshold is used, below which image pixels are considered equal for the purpose of derivative calculation. The threshold can be changed by calling SetIntensityDifferenceThreshold.
See DemonsImageToImageMetricv4GetValueAndDerivativeThreader::ProcessPoint for algorithm implementation.
Definition at line 55 of file itkDemonsImageToImageMetricv4.h.
typedef SmartPointer<const Self> itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ConstPointer |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 63 of file itkDemonsImageToImageMetricv4.h.
|
protected |
Definition at line 123 of file itkDemonsImageToImageMetricv4.h.
|
protected |
Definition at line 125 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::DerivativeType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::DerivativeType |
Type of the metric derivative.
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 73 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::FixedImageGradientType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientType |
Image derivatives types
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 77 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::FixedImagePixelType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImagePixelType |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 76 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::FixedImagePointType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImagePointType |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 75 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::ImageDimensionType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ImageDimensionType |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 93 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::InternalComputationValueType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::InternalComputationValueType |
Type used internally for computations
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 91 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::JacobianType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::JacobianType |
Jacobian type. This is the same for all transforms
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 84 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::MeasureType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MeasureType |
Superclass types
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 69 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::MovingImageGradientType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientType |
Image derivatives types
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 81 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::MovingImagePixelType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImagePixelType |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 80 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::MovingImagePointType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImagePointType |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 79 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::MovingTransformType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingTransformType |
Type of the Transform Base classes
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 83 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::NumberOfParametersType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::NumberOfParametersType |
Type to represent the number of parameters that are being optimized at any given iteration of the optimizer.
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 89 of file itkDemonsImageToImageMetricv4.h.
typedef SmartPointer<Self> itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::Pointer |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 62 of file itkDemonsImageToImageMetricv4.h.
typedef DemonsImageToImageMetricv4 itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 60 of file itkDemonsImageToImageMetricv4.h.
typedef ImageToImageMetricv4<TFixedImage, TMovingImage, TVirtualImage> itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::Superclass |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 61 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::VirtualImageType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualImageType |
Types for the virtual domain
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 85 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::VirtualIndexType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualIndexType |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 86 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::VirtualPointType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualPointType |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 87 of file itkDemonsImageToImageMetricv4.h.
typedef Superclass::VirtualPointSetType itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualSPointSetType |
Definition at line 88 of file itkDemonsImageToImageMetricv4.h.
|
protected |
|
protectedvirtual |
|
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.
|
virtual |
Get the denominator threshold used in derivative calculation.
|
virtual |
Accessors for the image intensity difference threshold use in derivative calculation
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
|
protectedvirtual |
|
virtual |
Initialize the Metric by making sure that all the components are present and plugged together correctly, and initializing internal variables as required. This is for one-time initialization, e.g. before starting an optimization process.
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
|
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::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
|
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::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
|
virtual |
Accessors for the image intensity difference threshold use in derivative calculation
|
friend |
Definition at line 120 of file itkDemonsImageToImageMetricv4.h.
|
friend |
Definition at line 121 of file itkDemonsImageToImageMetricv4.h.
|
static |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 99 of file itkDemonsImageToImageMetricv4.h.
|
private |
Threshold below which the denominator term is considered zero. Fixed programatically in constructor.
Definition at line 133 of file itkDemonsImageToImageMetricv4.h.
|
private |
Threshold below which two intensity value are assumed to match.
Definition at line 136 of file itkDemonsImageToImageMetricv4.h.
|
private |
Definition at line 139 of file itkDemonsImageToImageMetricv4.h.
|
static |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 101 of file itkDemonsImageToImageMetricv4.h.
|
static |
Reimplemented from itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 97 of file itkDemonsImageToImageMetricv4.h.