![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkGradientDifferenceImageToImageMetric2.h>
Computes similarity between two objects to be registered.
This Class is templated over the type of the Images to be compared and over the type of transformation and Iterpolator to be used.
This metric computes the sum of squared differences between pixels in the derivatives of the moving and fixed images after passing the squared difference through a function of type .
Spatial correspondance between both images is established through a Transform. Pixel values are taken from the Moving image. Their positions are mapped to the Fixed image and result in general in non-grid position on it. Values at these non-grid position of the Fixed image are interpolated using a user-selected Interpolator.
Implementation of this class is based on: Hipwell, J. H., et. al. (2003), "Intensity-Based 2-D-3D Registration of Cerebral Angiograms,", IEEE Transactions on Medical Imaging, 22(11):1417-1426.
Definition at line 75 of file itkGradientDifferenceImageToImageMetric2.h.
Public Types | |
typedef CastFixedImageFilterType::Pointer | CastFixedImageFilterPointer |
typedef itk::CastImageFilter< FixedImageType, FixedGradientImageType > | CastFixedImageFilterType |
typedef CastMovedImageFilterType::Pointer | CastMovedImageFilterPointer |
typedef itk::CastImageFilter< TransformedMovingImageType, MovedGradientImageType > | CastMovedImageFilterType |
typedef CombinationTransformType::Pointer | CombinationTransformPointer |
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > | CombinationTransformType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DerivativeType | DerivativeType |
typedef itk::Image< RealType, itkGetStaticConstMacro(FixedImageDimension) > | FixedGradientImageType |
typedef FixedGradientImageType::PixelType | FixedGradientPixelType |
typedef Superclass::FixedImageConstPointer | FixedImageConstPointer |
typedef TFixedImage::PixelType | FixedImagePixelType |
typedef Superclass::FixedImageType | FixedImageType |
typedef InterpolatorType::Pointer | InterpolatorPointer |
typedef Superclass::InterpolatorType | InterpolatorType |
typedef Superclass::MeasureType | MeasureType |
typedef itk::Image< RealType, itkGetStaticConstMacro(MovedImageDimension) > | MovedGradientImageType |
typedef MovedGradientImageType::PixelType | MovedGradientPixelType |
typedef TMovingImage::PixelType | MovedImagePixelType |
typedef Superclass::MovingImageConstPointer | MovingImageConstPointer |
typedef MovingImageType::RegionType | MovingImageRegionType |
typedef Superclass::MovingImageType | MovingImageType |
typedef itk::Optimizer | OptimizerType |
typedef SmartPointer< Self > | Pointer |
typedef RayCastInterpolatorType::Pointer | RayCastInterpolatorPointer |
typedef itk::AdvancedRayCastInterpolateImageFunction< MovingImageType, ScalarType > | RayCastInterpolatorType |
typedef Superclass::RealType | RealType |
typedef TransformType::ScalarType | ScalarType |
typedef OptimizerType::ScalesType | ScalesType |
typedef GradientDifferenceImageToImageMetric | Self |
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > | Superclass |
typedef itk::Image< FixedImagePixelType, itkGetStaticConstMacro(FixedImageDimension) > | TransformedMovingImageType |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef itk::ResampleImageFilter< MovingImageType, TransformedMovingImageType > | TransformMovingImageFilterType |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::TransformPointer | TransformPointer |
typedef Superclass::TransformType | TransformType |
![]() | |
typedef AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > | AdvancedTransformType |
typedef BSplineOrder1TransformType::Pointer | BSplineOrder1TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > | BSplineOrder1TransformType |
typedef BSplineOrder2TransformType::Pointer | BSplineOrder2TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > | BSplineOrder2TransformType |
typedef BSplineOrder3TransformType::Pointer | BSplineOrder3TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > | BSplineOrder3TransformType |
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > | CombinationTransformType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::CoordinateRepresentationType | CoordinateRepresentationType |
typedef Superclass::DerivativeType | DerivativeType |
typedef DerivativeType::ValueType | DerivativeValueType |
typedef Superclass::FixedImageConstPointer | FixedImageConstPointer |
typedef FixedImageLimiterType::OutputType | FixedImageLimiterOutputType |
typedef FixedImageLimiterType::Pointer | FixedImageLimiterPointer |
typedef LimiterFunctionBase< RealType, FixedImageDimension > | FixedImageLimiterType |
typedef Superclass::FixedImageMaskPointer | FixedImageMaskPointer |
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(FixedImageDimension) > | FixedImageMaskSpatialObject2Type |
typedef Superclass::FixedImageMaskType | FixedImageMaskType |
typedef FixedImageType::PixelType | FixedImagePixelType |
typedef FixedImageType::Pointer | FixedImagePointer |
typedef Superclass::FixedImageRegionType | FixedImageRegionType |
typedef Superclass::FixedImageType | FixedImageType |
typedef Superclass::GradientImageFilterPointer | GradientImageFilterPointer |
typedef Superclass::GradientImageFilterType | GradientImageFilterType |
typedef Superclass::GradientImagePointer | GradientImagePointer |
typedef Superclass::GradientImageType | GradientImageType |
typedef Superclass::GradientPixelType | GradientPixelType |
typedef vnl_sparse_matrix< HessianValueType > | HessianType |
typedef DerivativeType::ValueType | HessianValueType |
typedef ImageSamplerType::OutputVectorContainerPointer | ImageSampleContainerPointer |
typedef ImageSamplerType::OutputVectorContainerType | ImageSampleContainerType |
typedef ImageSamplerType::Pointer | ImageSamplerPointer |
typedef ImageSamplerBase< FixedImageType > | ImageSamplerType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InterpolatorPointer | InterpolatorPointer |
typedef Superclass::InterpolatorType | InterpolatorType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::MovingImageConstPointer | MovingImageConstPointer |
typedef FixedArray< double, Self::MovingImageDimension > | MovingImageDerivativeScalesType |
typedef MovingImageLimiterType::OutputType | MovingImageLimiterOutputType |
typedef MovingImageLimiterType::Pointer | MovingImageLimiterPointer |
typedef LimiterFunctionBase< RealType, MovingImageDimension > | MovingImageLimiterType |
typedef Superclass::MovingImageMaskPointer | MovingImageMaskPointer |
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(MovingImageDimension) > | MovingImageMaskSpatialObject2Type |
typedef Superclass::MovingImageMaskType | MovingImageMaskType |
typedef Superclass::MovingImagePixelType | MovingImagePixelType |
typedef MovingImageType::Pointer | MovingImagePointer |
typedef MovingImageType::RegionType | MovingImageRegionType |
typedef Superclass::MovingImageType | MovingImageType |
typedef AdvancedTransformType::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::RealType | RealType |
typedef TransformType::ScalarType | ScalarType |
typedef AdvancedImageToImageMetric | Self |
typedef ImageToImageMetric< TFixedImage, TMovingImage > | Superclass |
typedef itk::PlatformMultiThreader | ThreaderType |
typedef ThreaderType::WorkUnitInfo | ThreadInfoType |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::TransformPointer | TransformPointer |
typedef Superclass::TransformType | TransformType |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MeasureType | ComputeMeasure (const TransformParametersType ¶meters, const double *subtractionFactor) const |
void | ComputeMovedGradientRange (void) const |
void | ComputeVariance (void) const |
GradientDifferenceImageToImageMetric () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~GradientDifferenceImageToImageMetric () override | |
![]() | |
AdvancedImageToImageMetric () | |
virtual void | AfterThreadedGetValue (MeasureType &value) const |
virtual void | AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const |
virtual void | CheckForAdvancedTransform (void) |
virtual void | CheckForBSplineInterpolator (void) |
virtual void | CheckForBSplineTransform (void) const |
virtual void | CheckNumberOfSamples (unsigned long wanted, unsigned long found) const |
virtual bool | EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const |
virtual bool | EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const |
virtual void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const |
virtual void | InitializeImageSampler (void) |
virtual void | InitializeLimiters (void) |
virtual void | InitializeThreadingParameters (void) const |
virtual bool | IsInsideMovingMask (const MovingImagePointType &point) const |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct) | |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct) | |
void | LaunchGetValueAndDerivativeThreaderCallback (void) const |
void | LaunchGetValueThreaderCallback (void) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetUseFixedImageLimiter (bool _arg) |
virtual void | SetUseImageSampler (bool _arg) |
virtual void | SetUseMovingImageLimiter (bool _arg) |
virtual void | ThreadedGetValue (ThreadIdType threadID) |
virtual void | ThreadedGetValueAndDerivative (ThreadIdType threadID) |
virtual bool | TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const |
~AdvancedImageToImageMetric () override | |
Private Member Functions | |
GradientDifferenceImageToImageMetric (const Self &) | |
void | operator= (const Self &) |
typedef CastFixedImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastFixedImageFilterPointer |
Definition at line 139 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::CastImageFilter< FixedImageType, FixedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastFixedImageFilterType |
Definition at line 138 of file itkGradientDifferenceImageToImageMetric2.h.
typedef CastMovedImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastMovedImageFilterPointer |
Definition at line 145 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::CastImageFilter< TransformedMovingImageType, MovedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastMovedImageFilterType |
Definition at line 144 of file itkGradientDifferenceImageToImageMetric2.h.
typedef CombinationTransformType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CombinationTransformPointer |
Definition at line 127 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CombinationTransformType |
Definition at line 126 of file itkGradientDifferenceImageToImageMetric2.h.
typedef SmartPointer< const Self > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer |
Definition at line 85 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::DerivativeType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Definition at line 109 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Image< RealType, itkGetStaticConstMacro( FixedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedGradientImageType |
Definition at line 136 of file itkGradientDifferenceImageToImageMetric2.h.
typedef FixedGradientImageType::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedGradientPixelType |
Definition at line 140 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::FixedImageConstPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer |
Definition at line 112 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TFixedImage::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType |
Definition at line 114 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::FixedImageType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Definition at line 110 of file itkGradientDifferenceImageToImageMetric2.h.
|
protected |
Definition at line 190 of file itkGradientDifferenceImageToImageMetric2.h.
typedef InterpolatorType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer |
Definition at line 107 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::InterpolatorType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType |
Definition at line 106 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MeasureType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Definition at line 108 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Image< RealType, itkGetStaticConstMacro( MovedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedGradientImageType |
Definition at line 142 of file itkGradientDifferenceImageToImageMetric2.h.
typedef MovedGradientImageType::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedGradientPixelType |
Definition at line 146 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TMovingImage::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedImagePixelType |
Definition at line 115 of file itkGradientDifferenceImageToImageMetric2.h.
|
protected |
Definition at line 193 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MovingImageConstPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Definition at line 113 of file itkGradientDifferenceImageToImageMetric2.h.
typedef MovingImageType::RegionType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType |
Definition at line 116 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MovingImageType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Definition at line 111 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Optimizer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::OptimizerType |
Definition at line 117 of file itkGradientDifferenceImageToImageMetric2.h.
typedef SmartPointer< Self > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Pointer |
Definition at line 84 of file itkGradientDifferenceImageToImageMetric2.h.
typedef RayCastInterpolatorType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::RayCastInterpolatorPointer |
Definition at line 134 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::AdvancedRayCastInterpolateImageFunction< MovingImageType, ScalarType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::RayCastInterpolatorType |
Definition at line 133 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::RealType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::RealType |
Types transferred from the base class Work around a Visual Studio .NET bug
Definition at line 98 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TransformType::ScalarType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ScalarType |
Definition at line 102 of file itkGradientDifferenceImageToImageMetric2.h.
typedef OptimizerType::ScalesType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ScalesType |
Definition at line 118 of file itkGradientDifferenceImageToImageMetric2.h.
typedef GradientDifferenceImageToImageMetric itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 81 of file itkGradientDifferenceImageToImageMetric2.h.
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Definition at line 82 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Image< FixedImagePixelType, itkGetStaticConstMacro( FixedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformedMovingImageType |
Definition at line 129 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformJacobianType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType |
Definition at line 105 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::ResampleImageFilter< MovingImageType, TransformedMovingImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformMovingImageFilterType |
Definition at line 131 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformParametersType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType |
Definition at line 104 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Definition at line 103 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Definition at line 101 of file itkGradientDifferenceImageToImageMetric2.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 176 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
|
protected |
Compute the similarity measure using a specified subtraction factor.
|
protected |
Compute the range of the moved image gradients.
|
protected |
Compute the variance and range of the moving image gradients.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
|
override |
Get the derivatives of the match measure.
|
virtual |
|
virtual |
|
override |
Get the value for single valued optimizers.
|
override |
Get value and derivatives for multiple valued optimizers.
|
override |
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
FixedImageType::ImageDimension | |||
) |
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | MovedImageDimension | , |
unsigned int | , | ||
MovingImageType::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotected |
|
virtual |
Set/Get the value of Delta used for computing derivatives by finite differences in the GetDerivative() method
|
virtual |
Set/Get Scales
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::WriteGradientImagesToFiles | ( | void | ) | const |
Write gradient images to a files for debugging purposes.
|
private |
The Sobel gradients of the fixed image
Definition at line 215 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
The Sobel gradients of the moving image
Definition at line 228 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 240 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 238 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 225 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 221 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 219 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
Definition at line 209 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
Definition at line 205 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
The range of the fixed image gradients.
Definition at line 208 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
The range of the moving image gradients.
Definition at line 204 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 224 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 234 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 232 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 239 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 237 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
The filter for transforming the moving image.
Definition at line 212 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
The variance of the moving image gradients.
Definition at line 201 of file itkGradientDifferenceImageToImageMetric2.h.
Generated on 1667476801 for elastix by ![]() |
![]() |