![]() |
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 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 |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 81 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::DerivativeType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
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 |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 108 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TFixedImage::PixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 110 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::FixedImageType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 106 of file itkGradientDifferenceImageToImageMetric2.h.
typedef NeighborhoodOperatorImageFilter< FixedGradientImageType, FixedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::FixedSobelFilter [protected] |
Definition at line 185 of file itkGradientDifferenceImageToImageMetric2.h.
typedef InterpolatorType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 103 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::InterpolatorType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 102 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MeasureType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
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.
typedef NeighborhoodOperatorImageFilter< MovedGradientImageType, MovedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovedSobelFilter [protected] |
Definition at line 188 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MovingImageConstPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 109 of file itkGradientDifferenceImageToImageMetric2.h.
typedef MovingImageType::RegionType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 112 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::MovingImageType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
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 |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
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
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 87 of file itkGradientDifferenceImageToImageMetric2.h.
typedef TransformType::ScalarType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ScalarType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
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.
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 77 of file itkGradientDifferenceImageToImageMetric2.h.
typedef AdvancedImageToImageMetric<TFixedImage, TMovingImage > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
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 |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
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 |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 100 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 99 of file itkGradientDifferenceImageToImageMetric2.h.
typedef Superclass::TransformType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
Definition at line 97 of file itkGradientDifferenceImageToImageMetric2.h.
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GradientDifferenceImageToImageMetric | ( | ) | [protected] |
virtual itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::~GradientDifferenceImageToImageMetric | ( | ) | [inline, protected, virtual] |
Definition at line 171 of file itkGradientDifferenceImageToImageMetric2.h.
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GradientDifferenceImageToImageMetric | ( | const Self & | ) | [private] |
MeasureType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ComputeMeasure | ( | const TransformParametersType & | parameters, |
const double * | subtractionFactor | ||
) | const [protected] |
Compute the similarity measure using a specified subtraction factor.
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ComputeMovedGradientRange | ( | void | ) | const [protected] |
Compute the range of the moved image gradients.
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::ComputeVariance | ( | void | ) | const [protected] |
Compute the variance and range of the moving image gradients.
virtual const char* itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetClassName | ( | ) | const [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 const double& itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetDerivativeDelta | ( | ) | [virtual] |
virtual const ScalesType& itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::GetScales | ( | ) | [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 void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::Initialize | ( | void | ) | throw ( ExceptionObject ) [virtual] |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned | int, | ||
FixedImageType::ImageDimension | |||
) |
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | MovedImageDimension | , |
unsigned | int, | ||
MovingImageType::ImageDimension | |||
) |
static Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented in elastix::GradientDifferenceMetric< TElastix >.
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected] |
Reimplemented from itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >.
virtual void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::SetDerivativeDelta | ( | double | _arg | ) | [virtual] |
Set/Get the value of Delta used for computing derivatives by finite differences in the GetDerivative() method
virtual void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::SetScales | ( | ScalesType | _arg | ) | [virtual] |
Set/Get Scales
void itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::WriteGradientImagesToFiles | ( | void | ) | const |
Write gradient images to a files for debugging purposes.
CastFixedImageFilterPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_CastFixedImageFilter [private] |
The Sobel gradients of the fixed image
Definition at line 209 of file itkGradientDifferenceImageToImageMetric2.h.
CastMovedImageFilterPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_CastMovedImageFilter [private] |
The Sobel gradients of the moving image
Definition at line 222 of file itkGradientDifferenceImageToImageMetric2.h.
CombinationTransformPointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_CombinationTransform [private] |
Definition at line 234 of file itkGradientDifferenceImageToImageMetric2.h.
double itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_DerivativeDelta [private] |
Definition at line 232 of file itkGradientDifferenceImageToImageMetric2.h.
ZeroFluxNeumannBoundaryCondition< FixedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_FixedBoundCond [private] |
Definition at line 219 of file itkGradientDifferenceImageToImageMetric2.h.
FixedSobelFilter::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_FixedSobelFilters[itkGetStaticConstMacro(FixedImageDimension)] [private] |
Definition at line 216 of file itkGradientDifferenceImageToImageMetric2.h.
SobelOperator< FixedGradientPixelType, itkGetStaticConstMacro(FixedImageDimension) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_FixedSobelOperators[FixedImageDimension] [private] |
Definition at line 213 of file itkGradientDifferenceImageToImageMetric2.h.
FixedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MaxFixedGradient[FixedImageDimension] [mutable, private] |
Definition at line 203 of file itkGradientDifferenceImageToImageMetric2.h.
MovedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MaxMovedGradient[MovedImageDimension] [mutable, private] |
Definition at line 199 of file itkGradientDifferenceImageToImageMetric2.h.
FixedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MinFixedGradient[FixedImageDimension] [mutable, private] |
The range of the fixed image gradients.
Definition at line 202 of file itkGradientDifferenceImageToImageMetric2.h.
MovedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MinMovedGradient[MovedImageDimension] [mutable, private] |
The range of the moving image gradients.
Definition at line 198 of file itkGradientDifferenceImageToImageMetric2.h.
ZeroFluxNeumannBoundaryCondition< MovedGradientImageType > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MovedBoundCond [private] |
Definition at line 218 of file itkGradientDifferenceImageToImageMetric2.h.
MovedSobelFilter::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MovedSobelFilters[itkGetStaticConstMacro(MovedImageDimension)] [private] |
Definition at line 229 of file itkGradientDifferenceImageToImageMetric2.h.
SobelOperator< MovedGradientPixelType, itkGetStaticConstMacro(MovedImageDimension) > itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_MovedSobelOperators[MovedImageDimension] [private] |
Definition at line 226 of file itkGradientDifferenceImageToImageMetric2.h.
double itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_Rescalingfactor [private] |
Definition at line 233 of file itkGradientDifferenceImageToImageMetric2.h.
ScalesType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_Scales [private] |
Definition at line 231 of file itkGradientDifferenceImageToImageMetric2.h.
TransformMovingImageFilterType::Pointer itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_TransformMovingImageFilter [private] |
The filter for transforming the moving image.
Definition at line 206 of file itkGradientDifferenceImageToImageMetric2.h.
MovedGradientPixelType itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >::m_Variance[FixedImageDimension] [mutable, private] |
The variance of the moving image gradients.
Definition at line 195 of file itkGradientDifferenceImageToImageMetric2.h.
Generated on 11-05-2012 for elastix by ![]() |
![]() |