![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <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 AdvancedBSplineDeformableTransform < ScalarType, FixedImageDimension, 1 > | BSplineOrder1TransformType |
typedef AdvancedBSplineDeformableTransform < ScalarType, FixedImageDimension, 2 > | BSplineOrder2TransformType |
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 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 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::MultiThreader | ThreaderType |
typedef ThreaderType::ThreadInfoStruct | 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 |
virtual | ~GradientDifferenceImageToImageMetric () |
![]() | |
AdvancedImageToImageMetric () | |
virtual void | AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const |
virtual void | CheckForAdvancedTransform (void) |
virtual void | CheckForBSplineInterpolator (void) |
virtual void | CheckForBSplineTransform (void) |
virtual void | CheckNumberOfSamples (unsigned long wanted, unsigned long found) const |
virtual void | ComputeFixedImageExtrema (const FixedImageType *image, const FixedImageRegionType ®ion) |
virtual void | ComputeMovingImageExtrema (const MovingImageType *image, const MovingImageRegionType ®ion) |
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) throw ( ExceptionObject ) |
virtual void | InitializeLimiters (void) |
virtual void | InitializeThreadingParameters (void) const |
virtual bool | IsInsideMovingMask (const MovingImagePointType &point) const |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct) | |
void | LaunchGetValueAndDerivativeThreaderCallback (void) const |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | SetUseFixedImageLimiter (bool _arg) |
virtual void | SetUseImageSampler (bool _arg) |
virtual void | SetUseMovingImageLimiter (bool _arg) |
virtual void | ThreadedGetValueAndDerivative (ThreadIdType threadID) |
virtual bool | TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const |
virtual | ~AdvancedImageToImageMetric () |
Private Member Functions | |
GradientDifferenceImageToImageMetric (const Self &) | |
void | operator= (const Self &) |
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 71 of file itkGradientDifferenceImageToImageMetric2.h.
typedef CastFixedImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastFixedImageFilterPointer |
Definition at line 135 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::CastImageFilter< FixedImageType, FixedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastFixedImageFilterType |
Definition at line 134 of file itkGradientDifferenceImageToImageMetric2.h.
typedef CastMovedImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastMovedImageFilterPointer |
Definition at line 141 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::CastImageFilter< TransformedMovingImageType, MovedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CastMovedImageFilterType |
Definition at line 140 of file itkGradientDifferenceImageToImageMetric2.h.
typedef CombinationTransformType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CombinationTransformPointer |
Definition at line 123 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::CombinationTransformType |
Definition at line 122 of file itkGradientDifferenceImageToImageMetric2.h.
typedef SmartPointer< const Self > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer |
Definition at line 81 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::DerivativeType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Definition at line 105 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Image< RealType, itkGetStaticConstMacro( FixedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedGradientImageType |
Definition at line 132 of file itkGradientDifferenceImageToImageMetric2.h.
typedef FixedGradientImageType::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedGradientPixelType |
Definition at line 136 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::FixedImageConstPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer |
Definition at line 108 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TFixedImage::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType |
Definition at line 110 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::FixedImageType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Definition at line 106 of file itkGradientDifferenceImageToImageMetric2.h.
|
protected |
Definition at line 186 of file itkGradientDifferenceImageToImageMetric2.h.
typedef InterpolatorType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer |
Definition at line 103 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::InterpolatorType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType |
Definition at line 102 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MeasureType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Definition at line 104 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Image< RealType, itkGetStaticConstMacro( MovedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedGradientImageType |
Definition at line 138 of file itkGradientDifferenceImageToImageMetric2.h.
typedef MovedGradientImageType::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedGradientPixelType |
Definition at line 142 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TMovingImage::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedImagePixelType |
Definition at line 111 of file itkGradientDifferenceImageToImageMetric2.h.
|
protected |
Definition at line 189 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MovingImageConstPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Definition at line 109 of file itkGradientDifferenceImageToImageMetric2.h.
typedef MovingImageType::RegionType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType |
Definition at line 112 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MovingImageType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Definition at line 107 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Optimizer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::OptimizerType |
Definition at line 113 of file itkGradientDifferenceImageToImageMetric2.h.
typedef SmartPointer< Self > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Pointer |
Definition at line 80 of file itkGradientDifferenceImageToImageMetric2.h.
typedef RayCastInterpolatorType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::RayCastInterpolatorPointer |
Definition at line 130 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::AdvancedRayCastInterpolateImageFunction< MovingImageType, ScalarType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::RayCastInterpolatorType |
Definition at line 129 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 87 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TransformType::ScalarType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ScalarType |
Definition at line 98 of file itkGradientDifferenceImageToImageMetric2.h.
typedef OptimizerType::ScalesType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ScalesType |
Definition at line 114 of file itkGradientDifferenceImageToImageMetric2.h.
typedef GradientDifferenceImageToImageMetric itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 77 of file itkGradientDifferenceImageToImageMetric2.h.
typedef AdvancedImageToImageMetric< TFixedImage, TMovingImage > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Definition at line 78 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::Image< FixedImagePixelType, itkGetStaticConstMacro( FixedImageDimension ) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformedMovingImageType |
Definition at line 125 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformJacobianType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType |
Definition at line 101 of file itkGradientDifferenceImageToImageMetric2.h.
typedef itk::ResampleImageFilter< MovingImageType, TransformedMovingImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformMovingImageFilterType |
Definition at line 127 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformParametersType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType |
Definition at line 100 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Definition at line 99 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Definition at line 97 of file itkGradientDifferenceImageToImageMetric2.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 172 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 >.
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetDerivative | ( | const TransformParametersType & | parameters, |
DerivativeType & | derivative | ||
) | const |
Get the derivatives of the match measure.
|
virtual |
|
virtual |
MeasureType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetValue | ( | const TransformParametersType & | parameters | ) | const |
Get the value for single valued optimizers.
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetValueAndDerivative | ( | const TransformParametersType & | parameters, |
MeasureType & | Value, | ||
DerivativeType & | derivative | ||
) | const |
Get value and derivatives for multiple valued optimizers.
|
virtual |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
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 |
|
protected |
|
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 211 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
The Sobel gradients of the moving image
Definition at line 224 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 236 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 234 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 221 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 218 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 215 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
Definition at line 205 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
Definition at line 201 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
The range of the fixed image gradients.
Definition at line 204 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
The range of the moving image gradients.
Definition at line 200 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 220 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 231 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 228 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 235 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
Definition at line 233 of file itkGradientDifferenceImageToImageMetric2.h.
|
private |
The filter for transforming the moving image.
Definition at line 208 of file itkGradientDifferenceImageToImageMetric2.h.
|
mutableprivate |
The variance of the moving image gradients.
Definition at line 197 of file itkGradientDifferenceImageToImageMetric2.h.
Generated on 11-03-2014 for elastix by ![]() |
![]() |