![]() |
ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToImageMetricv4.h>
Inheritance diagram for itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >:
Collaboration diagram for itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >:Computes similarity between regions of two images, using two user-supplied transforms, a 'fixed' transform and a 'moving' transform.
Templated over the fixed and moving image types, as well as an optional VirtualImage type to define the virtual domain. The VirtualImage type defaults to TFixedImage.
This class uses a virtual reference space. This space defines the resolution at which the registration is performed, as well as the physical coordinate system. This is useful for unbiased registration. The region over which registration is performed is taken from the virtual image buffered region. The user can define a virtual domain by calling either CreateVirtualDomainImage or SetVirtualDomainImage. See these methods for details. If the user does not set the virtual image explicitly, then it is created during the call to Initialize by allocating a new image of type TVirtualImage and copying the information from the fixed image using CopyInformation.
Both transforms are initialized to an IdentityTransform, and can be set by the user using SetFixedTranform and SetMovingTransform.
At a minimum, the user must: 1) Set images using SetFixedImage and SetMovingImage. 2) Call Initialize.
Image gradient calculations
Image gradients can be calculated in one of two ways: 1) Using a gradient image filter, by setting Use[Fixed|Moving]ImageGradientFilter to true. By default this is set as an itkGradientRecursiveGaussianImageFilter, a smoothed gradient filter. A filter uses more memory, because it calculates all gradients at once and stores them in an image. The advantage of pre-calculation is for the fixed image gradients, since they only need be calculated once, and for metrics that need to access image gradients more than once for a particular point. The fixed image gradients are only calculated once when this option is set, during Initialize. 2) Otherwise, an image gradient calculator based on ImageFunction is used. By default the CentralDifferenceImageFunction is used. This calculation is not smoothed and gives different results than GradientRecursiveGaussianImageFilter. The advantage is that less memory is used. However for the fixed image, it means needlessly computing the image gradients at each iteration of a registration instead of just computing once at the beginning. The user can supply a different function by calling SetFixedImageGradientCalculator and/or SetMovingImageGradientCalculator.
Both image gradient calculation methods are threaded. Generally it is not recommended to use different image gradient methods for the fixed and moving images because the methods return different results.
Image Masks
Image masks are supported using SetMovingImageMask or SetFixedImageMask. If the image mask is sparse, see the comments for use of sparse point sets.
Sparse Sampling
Sparse sampling is performed by supplying an arbitrary point list over which to evaluate the metric. It's presumed that the user will be working in terms of the fixed image domain, and thus the point list is expected to be in the fixed domain. Internally, the points are transformed into the virtual domain as needed.
Threading
This class is threaded. Threading is handled by friend classes ImageToImageMetricv4GetValueAndDerivativeThreaderBase and ImageToImageMetricv4GetValueAndDerivativeThreader. Dense and sparse evaluation are handled by template specialization of the ImageToImageMetricv4GetValueAndDerivativeThreader::ThreadedExecution method, in order to iterate over either all points in the virtual space in the case of dense evaluation, or a list of points in the sparse case.
Methods and members of ImageToImageMetricv4 are accessed by the threading class using its m_Associate member, which points to the containing instance of ImageToImageMetricv4.
Pre- and post-processing for threaded operation is handled in ImageToImageMetricv4GetValueAndDerivativeThreaderBase::BeforeThreadedExecution, and ImageToImageMetricv4GetValueAndDerivativeThreaderBase::AfterThreadedExecution, respectively.
Derived classes:
The GetValue method may be overridden to provide better-optimized or otherwise different behavior as needed.
Derived classes must derive a threader class from ImageToImageMetricv4GetValueAndDerivativeThreader, from which a DenseGetValueAndDerivativeThreader and SparseGetValueAndDerivativeThreader must be defined. Then,
this->m_DenseGetValueAndDerivativeThreader = DenseDerivedClassGetValueAndDerivativeThreader::New(); this->m_SparseGetValueAndDerivativeThreader = SparseDerivedClassGetValueAndDerivativeThreader::New();
must be called in the constructor.
The ProcessPoint method of the derived threader must be overriden to provide the metric-specific evaluation.
To access methods and members within the derived metric class from the derived threader class, the user must cast m_Associate to the type of the derived metric class.
See ImageToImageMetricv4Test for a clear example of what a derived class must implement and do.
Definition at line 176 of file itkImageToImageMetricv4.h.
| typedef SmartPointer<const Self> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ConstPointer |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 185 of file itkImageToImageMetricv4.h.
| typedef Superclass::CoordinateRepresentationType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::CoordinateRepresentationType |
Type used for representing parameter values
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 194 of file itkImageToImageMetricv4.h.
| typedef GradientRecursiveGaussianImageFilter< FixedImageType, FixedImageGradientImageType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::DefaultFixedImageGradientFilter |
Default image gradient filter types
Definition at line 341 of file itkImageToImageMetricv4.h.
| typedef GradientRecursiveGaussianImageFilter< MovingImageType, MovingImageGradientImageType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::DefaultMovingImageGradientFilter |
Definition at line 344 of file itkImageToImageMetricv4.h.
| typedef Superclass::DerivativeType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::DerivativeType |
Type of the metric derivative.
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 369 of file itkImageToImageMetricv4.h.
| typedef DerivativeType::ValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::DerivativeValueType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 370 of file itkImageToImageMetricv4.h.
| typedef Superclass::DimensionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::DimensionType |
Dimension type
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Definition at line 204 of file itkImageToImageMetricv4.h.
| typedef CovariantVector< FixedRealType, itkGetStaticConstMacro(FixedImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedGradientPixelType |
Type of the filter used to calculate the gradients. Note that RealType is always double (or long double for long double pixel-type).
Definition at line 310 of file itkImageToImageMetricv4.h.
| typedef FixedImageType::ConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageConstPointer |
Definition at line 228 of file itkImageToImageMetricv4.h.
| typedef FixedImageGradientCalculatorType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientCalculatorPointer |
Definition at line 361 of file itkImageToImageMetricv4.h.
| typedef ImageFunction<FixedImageType, CovariantVector<double, itkGetStaticConstMacro( FixedImageDimension )>, CoordinateRepresentationType> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientCalculatorType |
Image gradient calculator types. The TOutput template parameter is chosen to match that of CentralDiffererenceImageFunction.
Definition at line 352 of file itkImageToImageMetricv4.h.
| typedef FixedImageGradientFilterType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientFilterPointer |
Definition at line 334 of file itkImageToImageMetricv4.h.
| typedef ImageToImageFilter< FixedImageType, FixedImageGradientImageType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientFilterType |
Definition at line 319 of file itkImageToImageMetricv4.h.
| typedef FixedImageGradientImageType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientImagePointer |
Type of the filter used to calculate the gradients. Note that RealType is always double (or long double for long double pixel-type).
Definition at line 315 of file itkImageToImageMetricv4.h.
| typedef Image< FixedGradientPixelType, itkGetStaticConstMacro(FixedImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientImageType |
Type of the filter used to calculate the gradients. Note that RealType is always double (or long double for long double pixel-type).
Definition at line 313 of file itkImageToImageMetricv4.h.
typedef LinearInterpolateImageFunction< FixedImageGradientImageType, CoordinateRepresentationType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientInterpolatorType [protected] |
Definition at line 579 of file itkImageToImageMetricv4.h.
| typedef CovariantVector< CoordinateRepresentationType, itkGetStaticConstMacro(FixedImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageGradientType |
Image derivatives types
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 293 of file itkImageToImageMetricv4.h.
| typedef FixedImageType::IndexType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageIndexType |
Reimplemented in itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 230 of file itkImageToImageMetricv4.h.
| typedef FixedImageMaskType::ConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageMaskConstPointer |
Definition at line 261 of file itkImageToImageMetricv4.h.
| typedef FixedImageMaskType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageMaskPointer |
Definition at line 260 of file itkImageToImageMetricv4.h.
| typedef SpatialObject< itkGetStaticConstMacro(FixedImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageMaskType |
Type for the mask of the fixed image. Only pixels that are "inside" this mask will be considered for the computation of the metric
Definition at line 259 of file itkImageToImageMetricv4.h.
| typedef FixedImageType::PixelType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImagePixelType |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 226 of file itkImageToImageMetricv4.h.
typedef PixelTraits<FixedImagePixelType>::ValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImagePixelValueType [private] |
Only floating-point images are currently supported. To support integer images, several small changes must be made
Definition at line 791 of file itkImageToImageMetricv4.h.
| typedef FixedImageType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImagePointer |
Definition at line 227 of file itkImageToImageMetricv4.h.
| typedef FixedImageType::PointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImagePointType |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 229 of file itkImageToImageMetricv4.h.
| typedef TFixedImage itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageType |
Image-accessor typedefs
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 225 of file itkImageToImageMetricv4.h.
| typedef Superclass::FixedInputPointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedInputPointType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Definition at line 210 of file itkImageToImageMetricv4.h.
| typedef FixedInterpolatorType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedInterpolatorPointer |
Definition at line 287 of file itkImageToImageMetricv4.h.
| typedef InterpolateImageFunction< FixedImageType, CoordinateRepresentationType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedInterpolatorType |
Type of the Interpolator Base class
Definition at line 283 of file itkImageToImageMetricv4.h.
| typedef Superclass::FixedOutputPointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedOutputPointType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 211 of file itkImageToImageMetricv4.h.
| typedef NumericTraits< FixedImagePixelType >::RealType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedRealType |
Type of the filter used to calculate the gradients. Note that RealType is always double (or long double for long double pixel-type).
Definition at line 307 of file itkImageToImageMetricv4.h.
| typedef FixedSampledPointSetType::ConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedSampledPointSetConstPointer |
Definition at line 273 of file itkImageToImageMetricv4.h.
| typedef FixedSampledPointSetType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedSampledPointSetPointer |
Reimplemented in itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 272 of file itkImageToImageMetricv4.h.
| typedef PointSet<typename FixedImageType::PixelType, itkGetStaticConstMacro(FixedImageDimension)> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedSampledPointSetType |
Type of the point set used for sparse sampling.
Definition at line 271 of file itkImageToImageMetricv4.h.
| typedef Superclass::FixedTransformJacobianType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedTransformJacobianType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 221 of file itkImageToImageMetricv4.h.
| typedef Superclass::FixedTransformParametersType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedTransformParametersType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Definition at line 212 of file itkImageToImageMetricv4.h.
| typedef Superclass::FixedTransformPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedTransformPointer |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Definition at line 209 of file itkImageToImageMetricv4.h.
| typedef Superclass::FixedTransformType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedTransformType |
Transform types from Superclass
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 208 of file itkImageToImageMetricv4.h.
| typedef Superclass::GradientSourceType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GradientSourceType |
Graident source type
Reimplemented from itk::ObjectToObjectMetricBase.
Definition at line 201 of file itkImageToImageMetricv4.h.
| typedef Superclass::DimensionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ImageDimensionType |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 205 of file itkImageToImageMetricv4.h.
| typedef Superclass::InternalComputationValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::InternalComputationValueType |
Type used internally for computations
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 188 of file itkImageToImageMetricv4.h.
| typedef Superclass::JacobianType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::JacobianType |
Jacobian type. This is the same for all transforms
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 220 of file itkImageToImageMetricv4.h.
| typedef Superclass::MeasureType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MeasureType |
Type of the measure.
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 366 of file itkImageToImageMetricv4.h.
| typedef CovariantVector< MovingRealType, itkGetStaticConstMacro(MovingImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingGradientPixelType |
Definition at line 325 of file itkImageToImageMetricv4.h.
| typedef MovingImageType::ConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageConstPointer |
Definition at line 234 of file itkImageToImageMetricv4.h.
| typedef MovingImageGradientCalculatorType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientCalculatorPointer |
Definition at line 363 of file itkImageToImageMetricv4.h.
| typedef ImageFunction<MovingImageType, CovariantVector<double, itkGetStaticConstMacro( MovingImageDimension )>, CoordinateRepresentationType> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientCalculatorType |
Image gradient calculator types. The TOutput template parameter is chosen to match that of CentralDiffererenceImageFunction.
Definition at line 357 of file itkImageToImageMetricv4.h.
| typedef MovingImageGradientFilterType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientFilterPointer |
Definition at line 336 of file itkImageToImageMetricv4.h.
| typedef ImageToImageFilter< MovingImageType, MovingImageGradientImageType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientFilterType |
Definition at line 332 of file itkImageToImageMetricv4.h.
| typedef MovingImageGradientImageType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientImagePointer |
Definition at line 329 of file itkImageToImageMetricv4.h.
| typedef Image< MovingGradientPixelType, itkGetStaticConstMacro(MovingImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientImageType |
Definition at line 328 of file itkImageToImageMetricv4.h.
typedef LinearInterpolateImageFunction< MovingImageGradientImageType, CoordinateRepresentationType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientInterpolatorType [protected] |
Definition at line 588 of file itkImageToImageMetricv4.h.
| typedef CovariantVector< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageGradientType |
Image derivatives types
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 296 of file itkImageToImageMetricv4.h.
| typedef MovingImageType::IndexType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageIndexType |
Definition at line 237 of file itkImageToImageMetricv4.h.
| typedef MovingImageMaskType::ConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageMaskConstPointer |
Definition at line 267 of file itkImageToImageMetricv4.h.
| typedef MovingImageMaskType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageMaskPointer |
Definition at line 266 of file itkImageToImageMetricv4.h.
| typedef SpatialObject< itkGetStaticConstMacro(MovingImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageMaskType |
Type for the mask of the moving image. Only pixels that are "inside" this mask will be considered for the computation of the metric
Definition at line 265 of file itkImageToImageMetricv4.h.
| typedef MovingImageType::PixelType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImagePixelType |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 232 of file itkImageToImageMetricv4.h.
typedef PixelTraits<MovingImagePixelType>::ValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImagePixelValueType [private] |
Only floating-point images are currently supported. To support integer images, several small changes must be made
Definition at line 792 of file itkImageToImageMetricv4.h.
| typedef MovingImageType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImagePointer |
Definition at line 233 of file itkImageToImageMetricv4.h.
| typedef MovingImageType::PointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImagePointType |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 235 of file itkImageToImageMetricv4.h.
| typedef MovingImageType::RegionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageRegionType |
Definition at line 236 of file itkImageToImageMetricv4.h.
| typedef TMovingImage itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageType |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 231 of file itkImageToImageMetricv4.h.
| typedef Superclass::MovingInputPointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingInputPointType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Definition at line 216 of file itkImageToImageMetricv4.h.
| typedef MovingInterpolatorType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingInterpolatorPointer |
Definition at line 288 of file itkImageToImageMetricv4.h.
| typedef InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingInterpolatorType |
Definition at line 286 of file itkImageToImageMetricv4.h.
| typedef Superclass::MovingOutputPointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingOutputPointType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 217 of file itkImageToImageMetricv4.h.
| typedef NumericTraits< MovingImagePixelType >::RealType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingRealType |
Definition at line 322 of file itkImageToImageMetricv4.h.
| typedef Superclass::MovingTransformJacobianType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingTransformJacobianType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 222 of file itkImageToImageMetricv4.h.
| typedef Superclass::MovingTransformParametersType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingTransformParametersType |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Definition at line 218 of file itkImageToImageMetricv4.h.
| typedef Superclass::MovingTransformPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingTransformPointer |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Definition at line 215 of file itkImageToImageMetricv4.h.
| typedef Superclass::MovingTransformType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingTransformType |
Type of the Transform Base classes
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 214 of file itkImageToImageMetricv4.h.
| typedef Superclass::NumberOfParametersType itk::ImageToImageMetricv4< 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::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 374 of file itkImageToImageMetricv4.h.
| typedef Superclass::ParametersType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ParametersType |
Type of the parameters.
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 197 of file itkImageToImageMetricv4.h.
| typedef Superclass::ParametersValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ParametersValueType |
ParametersType typedef. It defines a position in the optimization search space.
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 198 of file itkImageToImageMetricv4.h.
| typedef SmartPointer<Self> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::Pointer |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 184 of file itkImageToImageMetricv4.h.
| typedef ImageToImageMetricv4 itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::Self |
Standard class typedefs.
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 182 of file itkImageToImageMetricv4.h.
| typedef ObjectToObjectMetric<TFixedImage::ImageDimension, TMovingImage::ImageDimension> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::Superclass |
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 183 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::DirectionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualDirectionType |
Definition at line 248 of file itkImageToImageMetricv4.h.
| typedef CovariantVector< CoordinateRepresentationType, itkGetStaticConstMacro(VirtualImageDimension) > itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualImageGradientType |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 301 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::PixelType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualImagePixelType |
Definition at line 241 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualImagePointer |
Definition at line 242 of file itkImageToImageMetricv4.h.
| typedef TVirtualImage itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualImageType |
Types for the virtual domain
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 240 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::IndexType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualIndexType |
Reimplemented in itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 250 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::PointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualOriginType |
Definition at line 246 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::PointType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualPointType |
Reimplemented in itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 247 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::SizeType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualRadiusType |
Definition at line 249 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::RegionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualRegionType |
Definition at line 243 of file itkImageToImageMetricv4.h.
| typedef VirtualSampledPointSetType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualSampledPointSetPointer |
Definition at line 278 of file itkImageToImageMetricv4.h.
| typedef PointSet<typename VirtualImageType::PixelType, itkGetStaticConstMacro(VirtualImageDimension)> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualSampledPointSetType |
Reimplemented in itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 276 of file itkImageToImageMetricv4.h.
| typedef VirtualRegionType::SizeType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualSizeType |
Definition at line 244 of file itkImageToImageMetricv4.h.
| typedef VirtualImageType::SpacingType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualSpacingType |
Definition at line 245 of file itkImageToImageMetricv4.h.
| itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ImageToImageMetricv4 | ( | ) | [protected] |
| virtual itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::~ImageToImageMetricv4 | ( | ) | [protected, virtual] |
| itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ImageToImageMetricv4 | ( | const Self & | ) | [private] |
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ComputeFixedImageGradientAtIndex | ( | const VirtualIndexType & | index, |
| FixedImageGradientType & | gradient | ||
| ) | const [protected, virtual] |
Compute fixed warped image derivatives for an index at virtual domain.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ComputeFixedImageGradientAtPoint | ( | const FixedImagePointType & | mappedPoint, |
| FixedImageGradientType & | gradient | ||
| ) | const [protected, virtual] |
Compute image derivatives for a Fixed point.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ComputeFixedImageGradientFilterImage | ( | ) | [protected, virtual] |
Computes the gradients of the fixed image, using the GradientFilter, assigning the output to to m_FixedImageGradientImage.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ComputeMovingImageGradientAtIndex | ( | const VirtualIndexType & | index, |
| MovingImageGradientType & | gradient | ||
| ) | const [protected, virtual] |
Compute image derivatives for a moving point.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ComputeMovingImageGradientAtPoint | ( | const MovingImagePointType & | mappedPoint, |
| MovingImageGradientType & | gradient | ||
| ) | const [protected, virtual] |
Compute image derivatives for a moving point.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ComputeMovingImageGradientFilterImage | ( | ) | const [protected, virtual] |
Computes the gradients of the moving image, using the GradientFilter, assigning the output to to m_MovingImageGradientImage.
| OffsetValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::ComputeParameterOffsetFromVirtualDomainIndex | ( | const VirtualIndexType & | index, |
| const NumberOfParametersType | numberOfLocalParameters | ||
| ) | const |
| void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::CreateVirtualDomainImage | ( | VirtualSpacingType & | spacing, |
| VirtualOriginType & | origin, | ||
| VirtualDirectionType & | direction, | ||
| VirtualRegionType & | region | ||
| ) |
Define the virtual reference space. This space defines the resolution at which the registration is performed as well as the physical coordinate system. Useful for unbiased registration. This method will allocate m_VirtualDomainImage with the passed information. Metric evaluation will be performed over the image's buffered region.
| spacing | spacing |
| origin | origin |
| direction | direction |
| region | region is used to set all image regions. If the user does not set this explicitly then it is taken from the fixed image in Initialize method. To define the virtual domain from an existing image, use SetVirtualDomainImage. |
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetDerivative | ( | DerivativeType & | ) | const [virtual] |
| virtual const FixedImageType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFixedImage | ( | ) | [virtual] |
Get the Fixed Image.
| virtual FixedImageGradientCalculatorType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFixedImageGradientCalculator | ( | ) | [virtual] |
Set/Get gradient calculators
| virtual FixedImageGradientFilterType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFixedImageGradientFilter | ( | ) | [virtual] |
Set/Get the gradient filter
| virtual const FixedImageGradientImageType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFixedImageGradientImage | ( | ) | [virtual] |
Get Fixed Gradient Image.
| virtual const FixedImageMaskType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFixedImageMask | ( | ) | [virtual] |
Set/Get the fixed image mask.
| virtual const FixedInterpolatorType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFixedInterpolator | ( | ) | [virtual] |
Get a pointer to the fixed interpolator.
| virtual const FixedSampledPointSetType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFixedSampledPointSet | ( | ) | [virtual] |
Set/Get the fixed image domain sampling point set See main documentation regarding using fixed vs virtual domain for the point set.
| virtual DerivativeValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetFloatingPointCorrectionResolution | ( | ) | const [virtual] |
Set/Get the floating point resolution used optionally by the derivatives. If this is set, for example to 1e5, then the derivative will have precision up to 5 points beyond the decimal point. And precision beyond that will be truncated.
| virtual ThreadIdType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetMaximumNumberOfThreads | ( | ) | const [virtual] |
Set number of threads to use. This the maximum number of threads to use when multithreaded. The actual number of threads used (may be less than this value) can be obtained with GetNumberOfThreadsUsed.
| virtual const MovingImageType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetMovingImage | ( | ) | [virtual] |
Get the Moving Image.
| virtual MovingImageGradientCalculatorType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetMovingImageGradientCalculator | ( | ) | [virtual] |
Set/Get gradient calculators
| virtual MovingImageGradientFilterType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetMovingImageGradientFilter | ( | ) | [virtual] |
Set/Get the gradient filter
| virtual const MovingImageGradientImageType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetMovingImageGradientImage | ( | ) | [virtual] |
Get Moving Gradient Image.
| virtual const MovingImageMaskType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetMovingImageMask | ( | ) | [virtual] |
Set/Get the moving image mask.
| virtual const MovingInterpolatorType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetMovingInterpolator | ( | ) | [virtual] |
Get a pointer to the Moving interpolator.
| virtual const char* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
| SizeValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetNumberOfDomainPoints | ( | ) | const |
Get the number of points in the domain used to evaluate the metric. This will differ depending on whether a sampled point set or dense sampling is used, and will be greater than or equal to GetNumberOfValidPoints().
| virtual const SizeValueType& itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetNumberOfSkippedFixedSampledPoints | ( | ) | [virtual] |
Get the number of sampled fixed sampled points that are deemed invalid during conversion to virtual domain in Initialize(). For informational purposes.
| virtual ThreadIdType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetNumberOfThreadsUsed | ( | ) | const [virtual] |
Get number of threads to used in the the GetValueAndDerivative calculation. Only valid after GetValueAndDerivative has been called.
| virtual SizeValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetNumberOfValidPoints | ( | ) | const [virtual] |
Get number of valid points from most recent update
| virtual const bool& itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetUseFixedImageGradientFilter | ( | ) | [virtual] |
Set/Get gradient computation via an image filter, for fixed image.
| virtual const bool& itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetUseFixedSampledPointSet | ( | ) | [virtual] |
Set/Get flag to use fixed image domain sampling point set
| virtual const bool& itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetUseFloatingPointCorrection | ( | ) | [virtual] |
Set/Get the option for applying floating point resolution truncation to derivative calculations in global support cases. False by default. It is only applied in global support cases (i.e. with global-support transforms) because in these cases, the per-point derivative values are added cumulatively, which can lead to loss of precision when the sum becomes much larger than the values being added. The goal is more consistent results across the number of threads used for an evaluation. The resolution can be changed using SetFloatingPointCorrectionResolution().
| virtual const bool& itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetUseMovingImageGradientFilter | ( | ) | [virtual] |
Set/Get gradient computation via an image filter.
| virtual MeasureType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetValue | ( | ) | const [virtual] |
Calculate and return the value for the metric based on the current transformation(s). The result is both returned, and stored in the m_Value member variable.
Implements itk::ObjectToObjectMetricBase.
Reimplemented in itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetValueAndDerivative | ( | MeasureType & | value, |
| DerivativeType & | derivative | ||
| ) | const [virtual] |
Calculate and return both the value for the metric and its derivative. This calls the SparseGetValueAndDerivativeThreader if UsedFixedSampledPointSet is true, and DenseGetValueAndDerivativeThreader otherwise. The threaders in turn call ProcessPoint on each point in the domain to be examined.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetValueAndDerivativeExecute | ( | ) | const [protected, virtual] |
Perform the actual threaded processing, using the appropriate GetValueAndDerivativeThreader. Results get written to member vars. This is available as a separate method so it can be used by dervied classes that implement their own GetValueAndDerivative, and/or need to run the processing loop more than once.
| const VirtualDirectionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetVirtualDomainDirection | ( | void | ) | const |
Convenience get-accessors for the virtual domain information. These are returned from the VirtualDomainImage
| virtual const VirtualImageType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetVirtualDomainImage | ( | ) | [virtual] |
Get the virtual domain image
| const VirtualOriginType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetVirtualDomainOrigin | ( | void | ) | const |
Convenience get-accessors for the virtual domain information. These are returned from the VirtualDomainImage
| const VirtualRegionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetVirtualDomainRegion | ( | void | ) | const |
Convenience get-accessors for the virtual domain information. These are returned from the VirtualDomainImage
| const VirtualSpacingType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetVirtualDomainSpacing | ( | void | ) | const |
Convenience get-accessors for the virtual domain information. These are returned from the VirtualDomainImage
| virtual const VirtualSampledPointSetType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::GetVirtualSampledPointSet | ( | ) | [virtual] |
Get the virtual domain sampling point set
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::Initialize | ( | void | ) | throw ( itk::ExceptionObject ) [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::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::InitializeDefaultFixedImageGradientFilter | ( | void | ) | [protected, virtual] |
Initialize the default image gradient filters. This must only be called once the fixed and moving images have been set.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::InitializeDefaultMovingImageGradientFilter | ( | void | ) | [protected, virtual] |
Initialize the default image gradient filters. This must only be called once the fixed and moving images have been set.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::InitializeForIteration | ( | ) | const [protected, virtual] |
Perform any initialization required before each evaluation of GetValueAndDerivative. This is distinct from Initialize, which is called only once before a number of iterations, e.g. before a registration loop.
Reimplemented in itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
| void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MapFixedSampledPointSetToVirtual | ( | void | ) | [private] |
Map the fixed point set samples to the virtual domain
| void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
| void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::PrintSelf | ( | std::ostream & | os, |
| Indent | indent | ||
| ) | const [protected, virtual] |
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::ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension >.
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedImage | ( | const FixedImageType * | _arg | ) | [virtual] |
Connect the Fixed Image.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedImageGradientCalculator | ( | FixedImageGradientCalculatorType * | _arg | ) | [virtual] |
Set/Get gradient calculators
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedImageGradientFilter | ( | FixedImageGradientFilterType * | _arg | ) | [virtual] |
Set/Get the gradient filter
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedImageMask | ( | FixedImageMaskType * | _arg | ) | [virtual] |
Set/Get the fixed image mask.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedImageMask | ( | const FixedImageMaskType * | _arg | ) | [virtual] |
Set/Get the fixed image mask.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedInterpolator | ( | FixedInterpolatorType * | _arg | ) | [virtual] |
Connect the fixed interpolator.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedSampledPointSet | ( | FixedSampledPointSetType * | _arg | ) | [virtual] |
Set/Get the fixed image domain sampling point set See main documentation regarding using fixed vs virtual domain for the point set.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFixedSampledPointSet | ( | const FixedSampledPointSetType * | _arg | ) | [virtual] |
Set/Get the fixed image domain sampling point set See main documentation regarding using fixed vs virtual domain for the point set.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetFloatingPointCorrectionResolution | ( | DerivativeValueType | _arg | ) | [virtual] |
Set/Get the floating point resolution used optionally by the derivatives. If this is set, for example to 1e5, then the derivative will have precision up to 5 points beyond the decimal point. And precision beyond that will be truncated.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetMaximumNumberOfThreads | ( | const ThreadIdType | threads | ) | [virtual] |
Set number of threads to use. This the maximum number of threads to use when multithreaded. The actual number of threads used (may be less than this value) can be obtained with GetNumberOfThreadsUsed.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetMovingImage | ( | const MovingImageType * | _arg | ) | [virtual] |
Connect the Moving Image.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetMovingImageGradientCalculator | ( | MovingImageGradientCalculatorType * | _arg | ) | [virtual] |
Set/Get gradient calculators
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetMovingImageGradientFilter | ( | MovingImageGradientFilterType * | _arg | ) | [virtual] |
Set/Get the gradient filter
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetMovingImageMask | ( | MovingImageMaskType * | _arg | ) | [virtual] |
Set/Get the moving image mask.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetMovingImageMask | ( | const MovingImageMaskType * | _arg | ) | [virtual] |
Set/Get the moving image mask.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetMovingInterpolator | ( | MovingInterpolatorType * | _arg | ) | [virtual] |
Connect the Moving interpolator.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetUseFixedImageGradientFilter | ( | bool | _arg | ) | [virtual] |
Set/Get gradient computation via an image filter, for fixed image.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetUseFixedSampledPointSet | ( | bool | _arg | ) | [virtual] |
Set/Get flag to use fixed image domain sampling point set
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetUseFloatingPointCorrection | ( | bool | _arg | ) | [virtual] |
Set/Get the option for applying floating point resolution truncation to derivative calculations in global support cases. False by default. It is only applied in global support cases (i.e. with global-support transforms) because in these cases, the per-point derivative values are added cumulatively, which can lead to loss of precision when the sum becomes much larger than the values being added. The goal is more consistent results across the number of threads used for an evaluation. The resolution can be changed using SetFloatingPointCorrectionResolution().
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetUseMovingImageGradientFilter | ( | bool | _arg | ) | [virtual] |
Set/Get gradient computation via an image filter.
| void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::SetVirtualDomainImage | ( | VirtualImageType * | virtualImage | ) |
Set a virtual domain image to define the virtual reference space. Metric evaluation will be performed over the image's buffered region. The image is expected to be allocated. If the user does not set this explicitly then it is taken from the fixed image in Initialize method.
| bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::TransformAndEvaluateFixedPoint | ( | const VirtualIndexType & | index, |
| const VirtualPointType & | point, | ||
| const bool | computeImageGradient, | ||
| FixedImagePointType & | mappedFixedPoint, | ||
| FixedImagePixelType & | mappedFixedPixelValue, | ||
| FixedImageGradientType & | mappedFixedImageGradient | ||
| ) | const [protected] |
Transform a point from VirtualImage domain to FixedImage domain. This function also checks if mapped point is within the mask if one is set, and that is within the fixed image buffer, in which case the return value will be true. mappedFixedPoint and mappedFixedPixelValue are returned, and mappedFixedImageGradient is returned if computeImageGradient is set. All return values are in the virtual domain.
| bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::TransformAndEvaluateMovingPoint | ( | const VirtualIndexType & | index, |
| const VirtualPointType & | point, | ||
| const bool | computeImageGradient, | ||
| MovingImagePointType & | mappedMovingPoint, | ||
| MovingImagePixelType & | mappedMovingPixelValue, | ||
| MovingImageGradientType & | mappedMovingImageGradient | ||
| ) | const [protected] |
Transform a point from VirtualImage domain to MovingImage domain.
| itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::typedef | ( | itk::Concept::IsFloatingPoint< FixedImagePixelValueType > | ) | [private] |
This class requires OnlyDefinedForFloatingPointTypes0 in the form of ( itk::Concept::IsFloatingPoint<FixedImagePixelValueType> )
| itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::typedef | ( | itk::Concept::IsFloatingPoint< MovingImagePixelValueType > | ) | [private] |
This class requires OnlyDefinedForFloatingPointTypes1 in the form of ( itk::Concept::IsFloatingPoint<MovingImagePixelValueType> )
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseFixedImageGradientFilterOff | ( | ) | [virtual] |
Set/Get gradient computation via an image filter, for fixed image.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseFixedImageGradientFilterOn | ( | ) | [virtual] |
Set/Get gradient computation via an image filter, for fixed image.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseFixedSampledPointSetOff | ( | ) | [virtual] |
Set/Get flag to use fixed image domain sampling point set
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseFixedSampledPointSetOn | ( | ) | [virtual] |
Set/Get flag to use fixed image domain sampling point set
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseFloatingPointCorrectionOff | ( | ) | [virtual] |
Set/Get the option for applying floating point resolution truncation to derivative calculations in global support cases. False by default. It is only applied in global support cases (i.e. with global-support transforms) because in these cases, the per-point derivative values are added cumulatively, which can lead to loss of precision when the sum becomes much larger than the values being added. The goal is more consistent results across the number of threads used for an evaluation. The resolution can be changed using SetFloatingPointCorrectionResolution().
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseFloatingPointCorrectionOn | ( | ) | [virtual] |
Set/Get the option for applying floating point resolution truncation to derivative calculations in global support cases. False by default. It is only applied in global support cases (i.e. with global-support transforms) because in these cases, the per-point derivative values are added cumulatively, which can lead to loss of precision when the sum becomes much larger than the values being added. The goal is more consistent results across the number of threads used for an evaluation. The resolution can be changed using SetFloatingPointCorrectionResolution().
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseMovingImageGradientFilterOff | ( | ) | [virtual] |
Set/Get gradient computation via an image filter.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::UseMovingImageGradientFilterOn | ( | ) | [virtual] |
Set/Get gradient computation via an image filter.
| virtual void itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VerifyDisplacementFieldSizeAndPhysicalSpace | ( | ) | [protected, virtual] |
Verify that virtual domain and displacement field are the same size and in the same physical space.
| bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VerifyNumberOfValidPoints | ( | MeasureType & | value, |
| DerivativeType & | derivative | ||
| ) | const [protected] |
Check that the number of valid points is above a default minimum (zero). If not, then return false, and assign to 'value' a value indicating insufficient valid points were found during evaluation, and set the derivative to zero. A warning is also output. This functionality is provided as a separate method so derived classes can use it without hardcoding the details.
friend class ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< VirtualImageDimension >, Self > [friend] |
Definition at line 592 of file itkImageToImageMetricv4.h.
friend class ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, Self > [friend] |
Reimplemented in itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 593 of file itkImageToImageMetricv4.h.
friend class ImageToImageMetricv4GetValueAndDerivativeThreaderBase< ThreadedImageRegionPartitioner< VirtualImageDimension >, Self > [friend] |
Definition at line 590 of file itkImageToImageMetricv4.h.
friend class ImageToImageMetricv4GetValueAndDerivativeThreaderBase< ThreadedIndexedContainerPartitioner, Self > [friend] |
Reimplemented in itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 591 of file itkImageToImageMetricv4.h.
const DimensionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::FixedImageDimension = Superclass::FixedDimension [static] |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 253 of file itkImageToImageMetricv4.h.
DefaultFixedImageGradientFilter::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_DefaultFixedImageGradientFilter [protected] |
Pointer to default gradient filter. Used for easier initialization of the default filter.
Definition at line 712 of file itkImageToImageMetricv4.h.
DefaultMovingImageGradientFilter::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_DefaultMovingImageGradientFilter [protected] |
Definition at line 714 of file itkImageToImageMetricv4.h.
ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< VirtualImageDimension >, Self >::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_DenseGetValueAndDerivativeThreader [protected] |
Definition at line 598 of file itkImageToImageMetricv4.h.
DerivativeType* itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_DerivativeResult [mutable, protected] |
Derivative results holder. User a raw pointer so we can point it to a user-provided object. This enables safely sharing a derivative object between metrics during multi-variate analsys, for memory efficiency.
Definition at line 728 of file itkImageToImageMetricv4.h.
FixedImageConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedImage [protected] |
Definition at line 690 of file itkImageToImageMetricv4.h.
FixedImageGradientCalculatorPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedImageGradientCalculator [protected] |
Image gradient calculators
Definition at line 721 of file itkImageToImageMetricv4.h.
FixedImageGradientFilterPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedImageGradientFilter [protected] |
Gradient filters
Definition at line 706 of file itkImageToImageMetricv4.h.
FixedImageGradientImagePointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedImageGradientImage [mutable, protected] |
Gradient images to store gradient filter output.
Definition at line 717 of file itkImageToImageMetricv4.h.
FixedImageGradientInterpolatorType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedImageGradientInterpolator [protected] |
Definition at line 697 of file itkImageToImageMetricv4.h.
FixedImageMaskConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedImageMask [protected] |
Masks
Definition at line 739 of file itkImageToImageMetricv4.h.
FixedInterpolatorPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedInterpolator [protected] |
Pointers to interpolators
Definition at line 695 of file itkImageToImageMetricv4.h.
FixedSampledPointSetConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FixedSampledPointSet [protected] |
Sampled point sets
Definition at line 743 of file itkImageToImageMetricv4.h.
DerivativeValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_FloatingPointCorrectionResolution [private] |
Definition at line 786 of file itkImageToImageMetricv4.h.
bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_HaveMadeGetValueWarning [mutable, private] |
Flag for warning about use of GetValue. Will be removed when GetValue implementation is improved.
Definition at line 772 of file itkImageToImageMetricv4.h.
MovingImageConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_MovingImage [protected] |
Definition at line 691 of file itkImageToImageMetricv4.h.
MovingImageGradientCalculatorPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_MovingImageGradientCalculator [protected] |
Definition at line 722 of file itkImageToImageMetricv4.h.
MovingImageGradientFilterPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_MovingImageGradientFilter [protected] |
Definition at line 707 of file itkImageToImageMetricv4.h.
MovingImageGradientImagePointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_MovingImageGradientImage [mutable, protected] |
Definition at line 718 of file itkImageToImageMetricv4.h.
MovingImageGradientInterpolatorType::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_MovingImageGradientInterpolator [protected] |
Definition at line 698 of file itkImageToImageMetricv4.h.
MovingImageMaskConstPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_MovingImageMask [protected] |
Definition at line 740 of file itkImageToImageMetricv4.h.
MovingInterpolatorPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_MovingInterpolator [protected] |
Definition at line 696 of file itkImageToImageMetricv4.h.
SizeValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_NumberOfSkippedFixedSampledPoints [private] |
Definition at line 783 of file itkImageToImageMetricv4.h.
SizeValueType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_NumberOfValidPoints [mutable, protected] |
Store the number of points used during most recent value and derivative calculation.
Definition at line 732 of file itkImageToImageMetricv4.h.
ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, Self >::Pointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_SparseGetValueAndDerivativeThreader [protected] |
Definition at line 602 of file itkImageToImageMetricv4.h.
bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_UseFixedImageGradientFilter [protected] |
Flag to control use of precomputed gradient filter image or gradient calculator for image gradient calculations.
Definition at line 702 of file itkImageToImageMetricv4.h.
bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_UseFixedSampledPointSet [protected] |
Flag to use FixedSampledPointSet, i.e. Sparse sampling.
Definition at line 747 of file itkImageToImageMetricv4.h.
bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_UseFloatingPointCorrection [private] |
Definition at line 785 of file itkImageToImageMetricv4.h.
bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_UseMovingImageGradientFilter [protected] |
Definition at line 703 of file itkImageToImageMetricv4.h.
bool itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_UserHasProvidedVirtualDomainImage [protected] |
Flag that is set when user provides a virtual domain, either via CreateVirtualDomainImage or SetVirtualDomainImage.
Definition at line 736 of file itkImageToImageMetricv4.h.
VirtualImagePointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_VirtualDomainImage [protected] |
Definition at line 692 of file itkImageToImageMetricv4.h.
std::vector<VirtualPointType> itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_VirtualImageCornerPoints [private] |
Definition at line 778 of file itkImageToImageMetricv4.h.
VirtualSampledPointSetPointer itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::m_VirtualSampledPointSet [protected] |
Definition at line 744 of file itkImageToImageMetricv4.h.
const DimensionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::MovingImageDimension = Superclass::MovingDimension [static] |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 254 of file itkImageToImageMetricv4.h.
const DimensionType itk::ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >::VirtualImageDimension = Superclass::VirtualDimension [static] |
Reimplemented in itk::ANTSNeighborhoodCorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::MattesMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::JointHistogramMutualInformationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, itk::DemonsImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >, and itk::MeanSquaresImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage >.
Definition at line 255 of file itkImageToImageMetricv4.h.
1.7.6.1