Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkAdvancedImageToImageMetric.h>
An extension of the ITK ImageToImageMetric. It is the intended base class for all elastix metrics.
This class inherits from the itk::ImageToImageMetric. The additional features of this class that makes it an AdvancedImageToImageMetric are:
The parameters used in this class are:
(MovingImageDerivativeScales 1 1 0)
Definition at line 81 of file itkAdvancedImageToImageMetric.h.
Data Structures | |
struct | GetValueAndDerivativePerThreadStruct |
struct | GetValuePerThreadStruct |
struct | MultiThreaderParameterType |
Public Types | |
typedef AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > | AdvancedTransformType |
typedef BSplineOrder1TransformType::Pointer | BSplineOrder1TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > | BSplineOrder1TransformType |
typedef BSplineOrder2TransformType::Pointer | BSplineOrder2TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > | BSplineOrder2TransformType |
typedef BSplineOrder3TransformType::Pointer | BSplineOrder3TransformPointer |
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > | BSplineOrder3TransformType |
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > | CombinationTransformType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::CoordinateRepresentationType | CoordinateRepresentationType |
typedef Superclass::DerivativeType | DerivativeType |
typedef DerivativeType::ValueType | DerivativeValueType |
typedef Superclass::FixedImageConstPointer | FixedImageConstPointer |
typedef FixedImageLimiterType::OutputType | FixedImageLimiterOutputType |
typedef FixedImageLimiterType::Pointer | FixedImageLimiterPointer |
typedef LimiterFunctionBase< RealType, FixedImageDimension > | FixedImageLimiterType |
typedef Superclass::FixedImageMaskPointer | FixedImageMaskPointer |
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(FixedImageDimension) > | FixedImageMaskSpatialObject2Type |
typedef Superclass::FixedImageMaskType | FixedImageMaskType |
typedef FixedImageType::PixelType | FixedImagePixelType |
typedef FixedImageType::Pointer | FixedImagePointer |
typedef Superclass::FixedImageRegionType | FixedImageRegionType |
typedef Superclass::FixedImageType | FixedImageType |
typedef Superclass::GradientImageFilterPointer | GradientImageFilterPointer |
typedef Superclass::GradientImageFilterType | GradientImageFilterType |
typedef Superclass::GradientImagePointer | GradientImagePointer |
typedef Superclass::GradientImageType | GradientImageType |
typedef Superclass::GradientPixelType | GradientPixelType |
typedef vnl_sparse_matrix< HessianValueType > | HessianType |
typedef DerivativeType::ValueType | HessianValueType |
typedef ImageSamplerType::OutputVectorContainerPointer | ImageSampleContainerPointer |
typedef ImageSamplerType::OutputVectorContainerType | ImageSampleContainerType |
typedef ImageSamplerType::Pointer | ImageSamplerPointer |
typedef ImageSamplerBase< FixedImageType > | ImageSamplerType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InterpolatorPointer | InterpolatorPointer |
typedef Superclass::InterpolatorType | InterpolatorType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::MovingImageConstPointer | MovingImageConstPointer |
typedef FixedArray< double, Self::MovingImageDimension > | MovingImageDerivativeScalesType |
typedef MovingImageLimiterType::OutputType | MovingImageLimiterOutputType |
typedef MovingImageLimiterType::Pointer | MovingImageLimiterPointer |
typedef LimiterFunctionBase< RealType, MovingImageDimension > | MovingImageLimiterType |
typedef Superclass::MovingImageMaskPointer | MovingImageMaskPointer |
typedef ImageMaskSpatialObject< itkGetStaticConstMacro(MovingImageDimension) > | MovingImageMaskSpatialObject2Type |
typedef Superclass::MovingImageMaskType | MovingImageMaskType |
typedef Superclass::MovingImagePixelType | MovingImagePixelType |
typedef MovingImageType::Pointer | MovingImagePointer |
typedef MovingImageType::RegionType | MovingImageRegionType |
typedef Superclass::MovingImageType | MovingImageType |
typedef AdvancedTransformType::NumberOfParametersType | NumberOfParametersType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::RealType | RealType |
typedef TransformType::ScalarType | ScalarType |
typedef AdvancedImageToImageMetric | Self |
typedef ImageToImageMetric< TFixedImage, TMovingImage > | Superclass |
typedef itk::PlatformMultiThreader | ThreaderType |
typedef ThreaderType::WorkUnitInfo | ThreadInfoType |
typedef Superclass::TransformJacobianType | TransformJacobianType |
typedef Superclass::TransformParametersType | TransformParametersType |
typedef Superclass::TransformPointer | TransformPointer |
typedef Superclass::TransformType | TransformType |
Protected Member Functions | |
AdvancedImageToImageMetric () | |
virtual void | AfterThreadedGetValue (MeasureType &value) const |
virtual void | AfterThreadedGetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const |
virtual void | CheckForAdvancedTransform (void) |
virtual void | CheckForBSplineInterpolator (void) |
virtual void | CheckForBSplineTransform (void) const |
virtual void | CheckNumberOfSamples (unsigned long wanted, unsigned long found) const |
virtual bool | EvaluateMovingImageValueAndDerivative (const MovingImagePointType &mappedPoint, RealType &movingImageValue, MovingImageDerivativeType *gradient) const |
virtual bool | EvaluateTransformJacobian (const FixedImagePointType &fixedImagePoint, TransformJacobianType &jacobian, NonZeroJacobianIndicesType &nzji) const |
virtual void | EvaluateTransformJacobianInnerProduct (const TransformJacobianType &jacobian, const MovingImageDerivativeType &movingImageDerivative, DerivativeType &imageJacobian) const |
virtual void | InitializeImageSampler (void) |
virtual void | InitializeLimiters (void) |
virtual void | InitializeThreadingParameters (void) const |
virtual bool | IsInsideMovingMask (const MovingImagePointType &point) const |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct, AlignedGetValueAndDerivativePerThreadStruct) | |
itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedGetValuePerThreadStruct, AlignedGetValuePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct) | |
itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, GetValuePerThreadStruct, PaddedGetValuePerThreadStruct) | |
void | LaunchGetValueAndDerivativeThreaderCallback (void) const |
void | LaunchGetValueThreaderCallback (void) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetUseFixedImageLimiter (bool _arg) |
virtual void | SetUseImageSampler (bool _arg) |
virtual void | SetUseMovingImageLimiter (bool _arg) |
virtual void | ThreadedGetValue (ThreadIdType threadID) |
virtual void | ThreadedGetValueAndDerivative (ThreadIdType threadID) |
virtual bool | TransformPoint (const FixedImagePointType &fixedImagePoint, MovingImagePointType &mappedPoint) const |
~AdvancedImageToImageMetric () override | |
Static Protected Member Functions | |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | AccumulateDerivativesThreaderCallback (void *arg) |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | GetValueAndDerivativeThreaderCallback (void *arg) |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | GetValueThreaderCallback (void *arg) |
Private Member Functions | |
AdvancedImageToImageMetric (const Self &) | |
void | operator= (const Self &) |
typedef AdvancedTransform< ScalarType, FixedImageDimension, MovingImageDimension > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::AdvancedTransformType |
Definition at line 159 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 321 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 320 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 318 of file itkAdvancedImageToImageMetric.h.
|
protected |
Typedefs used for computing image derivatives.
Definition at line 317 of file itkAdvancedImageToImageMetric.h.
typedef BSplineOrder1TransformType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::BSplineOrder1TransformPointer |
Definition at line 167 of file itkAdvancedImageToImageMetric.h.
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 1 > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::BSplineOrder1TransformType |
Definition at line 164 of file itkAdvancedImageToImageMetric.h.
typedef BSplineOrder2TransformType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::BSplineOrder2TransformPointer |
Definition at line 168 of file itkAdvancedImageToImageMetric.h.
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 2 > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::BSplineOrder2TransformType |
Definition at line 165 of file itkAdvancedImageToImageMetric.h.
typedef BSplineOrder3TransformType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::BSplineOrder3TransformPointer |
Definition at line 169 of file itkAdvancedImageToImageMetric.h.
typedef AdvancedBSplineDeformableTransform< ScalarType, FixedImageDimension, 3 > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::BSplineOrder3TransformType |
Definition at line 166 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 331 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 330 of file itkAdvancedImageToImageMetric.h.
typedef AdvancedCombinationTransform< ScalarType, FixedImageDimension > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::CombinationTransformType |
Typedef's for the B-spline transform.
Definition at line 163 of file itkAdvancedImageToImageMetric.h.
typedef SmartPointer< const Self > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ConstPointer |
Definition at line 90 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::CoordinateRepresentationType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::CoordinateRepresentationType |
Typedefs from the superclass.
Definition at line 102 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::DerivativeType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::DerivativeType |
Definition at line 130 of file itkAdvancedImageToImageMetric.h.
typedef DerivativeType::ValueType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::DerivativeValueType |
Definition at line 131 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::FixedImageConstPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageConstPointer |
Definition at line 109 of file itkAdvancedImageToImageMetric.h.
|
protected |
Protected Typedefs Typedefs for indices and points.
Definition at line 308 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 309 of file itkAdvancedImageToImageMetric.h.
typedef FixedImageLimiterType::OutputType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterOutputType |
Definition at line 151 of file itkAdvancedImageToImageMetric.h.
typedef FixedImageLimiterType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterPointer |
Definition at line 150 of file itkAdvancedImageToImageMetric.h.
typedef LimiterFunctionBase< RealType, FixedImageDimension > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageLimiterType |
Typedefs for Limiter support.
Definition at line 149 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::FixedImageMaskPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskPointer |
Definition at line 126 of file itkAdvancedImageToImageMetric.h.
typedef ImageMaskSpatialObject< itkGetStaticConstMacro( FixedImageDimension ) > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskSpatialObject2Type |
Definition at line 134 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::FixedImageMaskType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageMaskType |
Definition at line 125 of file itkAdvancedImageToImageMetric.h.
typedef FixedImageType::PixelType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePixelType |
Some useful extra typedefs.
Definition at line 138 of file itkAdvancedImageToImageMetric.h.
typedef FixedImageType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImagePointer |
Definition at line 108 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 311 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::FixedImageRegionType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageRegionType |
Definition at line 110 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::FixedImageType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::FixedImageType |
Definition at line 107 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::GradientImageFilterPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterPointer |
Definition at line 124 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::GradientImageFilterType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::GradientImageFilterType |
Definition at line 123 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::GradientImagePointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::GradientImagePointer |
Definition at line 122 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::GradientImageType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::GradientImageType |
Definition at line 121 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::GradientPixelType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::GradientPixelType |
Definition at line 120 of file itkAdvancedImageToImageMetric.h.
typedef vnl_sparse_matrix< HessianValueType > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::HessianType |
Definition at line 173 of file itkAdvancedImageToImageMetric.h.
typedef DerivativeType::ValueType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::HessianValueType |
Hessian type; for SelfHessian (experimental feature)
Definition at line 172 of file itkAdvancedImageToImageMetric.h.
typedef ImageSamplerType::OutputVectorContainerPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerPointer |
Definition at line 146 of file itkAdvancedImageToImageMetric.h.
typedef ImageSamplerType::OutputVectorContainerType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ImageSampleContainerType |
Definition at line 145 of file itkAdvancedImageToImageMetric.h.
typedef ImageSamplerType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerPointer |
Definition at line 144 of file itkAdvancedImageToImageMetric.h.
typedef ImageSamplerBase< FixedImageType > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ImageSamplerType |
Typedefs for the ImageSampler.
Definition at line 143 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::InputPointType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::InputPointType |
Definition at line 113 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::InterpolatorPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorPointer |
Definition at line 118 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::InterpolatorType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::InterpolatorType |
Definition at line 117 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 327 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 326 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::MeasureType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MeasureType |
Definition at line 129 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::MovingImageConstPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageConstPointer |
Definition at line 106 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 313 of file itkAdvancedImageToImageMetric.h.
typedef FixedArray< double, Self::MovingImageDimension > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageDerivativeScalesType |
Definition at line 140 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 328 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 310 of file itkAdvancedImageToImageMetric.h.
typedef MovingImageLimiterType::OutputType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterOutputType |
Definition at line 154 of file itkAdvancedImageToImageMetric.h.
typedef MovingImageLimiterType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterPointer |
Definition at line 153 of file itkAdvancedImageToImageMetric.h.
typedef LimiterFunctionBase< RealType, MovingImageDimension > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageLimiterType |
Definition at line 152 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::MovingImageMaskPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskPointer |
Definition at line 128 of file itkAdvancedImageToImageMetric.h.
typedef ImageMaskSpatialObject< itkGetStaticConstMacro( MovingImageDimension ) > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskSpatialObject2Type |
Definition at line 135 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::MovingImageMaskType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageMaskType |
Definition at line 127 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::MovingImagePixelType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePixelType |
Definition at line 104 of file itkAdvancedImageToImageMetric.h.
typedef MovingImageType::Pointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImagePointer |
Definition at line 105 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 312 of file itkAdvancedImageToImageMetric.h.
typedef MovingImageType::RegionType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageRegionType |
Definition at line 139 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::MovingImageType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::MovingImageType |
Definition at line 103 of file itkAdvancedImageToImageMetric.h.
|
protected |
Typedefs for support of sparse Jacobians and compact support of transformations.
Definition at line 335 of file itkAdvancedImageToImageMetric.h.
typedef AdvancedTransformType::NumberOfParametersType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::NumberOfParametersType |
Definition at line 160 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::OutputPointType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::OutputPointType |
Definition at line 114 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::ParametersType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ParametersType |
Definition at line 132 of file itkAdvancedImageToImageMetric.h.
typedef SmartPointer< Self > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::Pointer |
Definition at line 89 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::RealType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::RealType |
Definition at line 119 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 324 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 323 of file itkAdvancedImageToImageMetric.h.
typedef TransformType::ScalarType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ScalarType |
Advanced transform.
Definition at line 157 of file itkAdvancedImageToImageMetric.h.
typedef AdvancedImageToImageMetric itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 87 of file itkAdvancedImageToImageMetric.h.
typedef ImageToImageMetric< TFixedImage, TMovingImage > itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::Superclass |
Definition at line 88 of file itkAdvancedImageToImageMetric.h.
typedef itk::PlatformMultiThreader itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ThreaderType |
Typedefs for multi-threading.
Definition at line 176 of file itkAdvancedImageToImageMetric.h.
typedef ThreaderType::WorkUnitInfo itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::ThreadInfoType |
Definition at line 177 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::TransformJacobianType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::TransformJacobianType |
Definition at line 116 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::TransformParametersType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::TransformParametersType |
Definition at line 115 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::TransformPointer itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::TransformPointer |
Definition at line 112 of file itkAdvancedImageToImageMetric.h.
typedef Superclass::TransformType itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::TransformType |
Definition at line 111 of file itkAdvancedImageToImageMetric.h.
|
protected |
Constructor.
|
overrideprotected |
Destructor.
|
private |
|
staticprotected |
AccumulateDerivatives threader callback function.
|
inlineprotectedvirtual |
Finalize multi-threaded metric computation.
Reimplemented in itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedMeanSquaresImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< TFixedImage, TMovingImage >, and itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
Definition at line 379 of file itkAdvancedImageToImageMetric.h.
|
inlineprotectedvirtual |
Finalize multi-threaded metric computation.
Reimplemented in itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedKappaStatisticImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedMeanSquaresImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedNormalizedCorrelationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::TransformBendingEnergyPenaltyTerm< TFixedImage, TScalarType >, and itk::TransformBendingEnergyPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >.
Definition at line 392 of file itkAdvancedImageToImageMetric.h.
|
virtual |
Contains calls from GetValueAndDerivative that are thread-unsafe, together with preparation for multi-threading. Note that the only reason why this function is not protected, is because the ComboMetric needs to call it.
Reimplemented in itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >, and itk::TransformRigidityPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >.
|
protectedvirtual |
Methods to support transforms with sparse Jacobians, like the BSplineTransform Check if the transform is an AdvancedTransform. Called by Initialize. If so, we can speed up derivative calculations by only inspecting the parameters in the support region of a point.
|
protectedvirtual |
Methods for image derivative evaluation support Initialize variables for image derivative computation; this method is called by Initialize.
|
protectedvirtual |
Check if the transform is a B-spline. Called by Initialize.
|
protectedvirtual |
Check if enough samples have been found to compute a reliable estimate of the value/derivative; throws an exception if not.
|
protectedvirtual |
Compute the image value (and possibly derivative) at a transformed point. Checks if the point lies within the moving image buffer (bool return). If no gradient is wanted, set the gradient argument to 0. If a BSplineInterpolationFunction or AdvacnedLinearInterpolationFunction is used, this class obtains image derivatives from the B-spline or linear interpolator. Otherwise, image derivatives are computed using nearest neighbor interpolation of a precomputed (central difference) gradient image.
Reimplemented in itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >, and itk::MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
|
protectedvirtual |
This function returns a reference to the transform Jacobians. This is either a reference to the full TransformJacobian or a reference to a sparse Jacobians. The m_NonZeroJacobianIndices contains the indices that are nonzero. The length of NonZeroJacobianIndices is set in the CheckForAdvancedTransform function.
|
protectedvirtual |
Computes the inner product of transform Jacobian with moving image gradient. The results are stored in imageJacobian, which is supposed to have the right size (same length as Jacobian's number of columns).
Reimplemented in itk::PCAMetric< TFixedImage, TMovingImage >, itk::PCAMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::PCAMetric< TFixedImage, TMovingImage >, itk::PCAMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::PCAMetric2< TFixedImage, TMovingImage >, itk::PCAMetric2< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::SumOfPairwiseCorrelationCoefficientsMetric< TFixedImage, TMovingImage >, itk::SumOfPairwiseCorrelationCoefficientsMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >, and itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
|
virtual |
Run-time type information (and related methods).
Reimplemented in itk::ImageToImageMetricWithFeatures< TFixedImage, TMovingImage, TFixedFeatureImage, TMovingFeatureImage >, itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >, itk::MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::TransformPenaltyTerm< TFixedImage, TScalarType >, itk::TransformPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >, itk::TransformPenaltyTerm< TFixedImage, TScalarType >, elastix::AdvancedKappaStatisticMetric< TElastix >, itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedKappaStatisticImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::AdvancedMattesMutualInformationMetric< TElastix >, itk::ParzenWindowMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::ParzenWindowMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::AdvancedMeanSquaresMetric< TElastix >, itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedMeanSquaresImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::AdvancedNormalizedCorrelationMetric< TElastix >, itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedNormalizedCorrelationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::TransformBendingEnergyPenalty< TElastix >, itk::TransformBendingEnergyPenaltyTerm< TFixedImage, TScalarType >, itk::TransformBendingEnergyPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >, elastix::DisplacementMagnitudePenalty< TElastix >, itk::DisplacementMagnitudePenaltyTerm< TFixedImage, TScalarType >, itk::DisplacementMagnitudePenaltyTerm< MetricBase< TElastix >::FixedImageType, double >, elastix::DistancePreservingRigidityPenalty< TElastix >, itk::DistancePreservingRigidityPenaltyTerm< TFixedImage, TScalarType >, itk::DistancePreservingRigidityPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >, elastix::GradientDifferenceMetric< TElastix >, itk::GradientDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::GradientDifferenceImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::KNNGraphAlphaMutualInformationMetric< TElastix >, itk::KNNGraphAlphaMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::KNNGraphAlphaMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::NormalizedGradientCorrelationMetric< TElastix >, itk::NormalizedGradientCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::NormalizedGradientCorrelationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::NormalizedMutualInformationMetric< TElastix >, itk::ParzenWindowNormalizedMutualInformationImageToImageMetric< TFixedImage, TMovingImage >, itk::ParzenWindowNormalizedMutualInformationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::PatternIntensityMetric< TElastix >, itk::PatternIntensityImageToImageMetric< TFixedImage, TMovingImage >, itk::PatternIntensityImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::PCAMetric< TElastix >, itk::PCAMetric< TFixedImage, TMovingImage >, itk::PCAMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::PCAMetric< TFixedImage, TMovingImage >, itk::PCAMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::PCAMetric2< TElastix >, itk::PCAMetric2< TFixedImage, TMovingImage >, itk::PCAMetric2< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::TransformRigidityPenalty< TElastix >, itk::TransformRigidityPenaltyTerm< TFixedImage, TScalarType >, itk::TransformRigidityPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >, elastix::SumOfPairwiseCorrelationCoefficientsMetric< TElastix >, itk::SumOfPairwiseCorrelationCoefficientsMetric< TFixedImage, TMovingImage >, itk::SumOfPairwiseCorrelationCoefficientsMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::SumSquaredTissueVolumeDifferenceMetric< TElastix >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< TFixedImage, TMovingImage >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, elastix::VarianceOverLastDimensionMetric< TElastix >, itk::VarianceOverLastDimensionImageMetric< TFixedImage, TMovingImage >, itk::VarianceOverLastDimensionImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, and itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >.
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 202 of file itkAdvancedImageToImageMetric.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Experimental feature: compute SelfHessian. This base class just returns an identity matrix of the right size.
Reimplemented in itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedMeanSquaresImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::TransformBendingEnergyPenaltyTerm< TFixedImage, TScalarType >, itk::TransformBendingEnergyPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >, and itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >.
|
inlineoverride |
Get the advanced transform.
Definition at line 194 of file itkAdvancedImageToImageMetric.h.
|
virtual |
Inheriting classes can specify whether they use the image limiter functionality. This method allows the user to inspect this setting.
|
virtual |
Inheriting classes can specify whether they use the image sampler functionality; This method allows the user to inspect this setting.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
staticprotected |
GetValueAndDerivative threader callback function.
|
staticprotected |
GetValue threader callback function.
|
override |
Initialize the Metric by making sure that all the components are present and plugged together correctly.
|
protectedvirtual |
Protected methods ************** Methods for image sampler support Initialize variables related to the image sampler; called by Initialize.
Reimplemented in itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >, and itk::MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
|
protectedvirtual |
Initialize the {Fixed,Moving}[True]{Max,Min}[Limit] and the {Fixed,Moving}ImageLimiter Only does something when Use{Fixed,Moving}Limiter is set to true;
|
protectedvirtual |
Initialize some multi-threading related parameters.
Reimplemented in itk::ParzenWindowHistogramImageToImageMetric< TFixedImage, TMovingImage >, itk::ParzenWindowHistogramImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedKappaStatisticImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedNormalizedCorrelationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::PCAMetric< TFixedImage, TMovingImage >, itk::PCAMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, and itk::CombinationImageToImageMetric< TFixedImage, TMovingImage >.
|
protectedvirtual |
Convenience method: check if point is inside the moving mask.
Reimplemented in itk::MultiInputImageToImageMetricBase< TFixedImage, TMovingImage >, and itk::MultiInputImageToImageMetricBase< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
|
protected |
|
protected |
|
protected |
|
protected |
itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | FixedImageDimension | , |
unsigned int | , | ||
TFixedImage::ImageDimension | |||
) |
itk::AdvancedImageToImageMetric< TFixedImage, TMovingImage >::itkStaticConstMacro | ( | MovingImageDimension | , |
unsigned int | , | ||
TMovingImage::ImageDimension | |||
) |
Constants for the image dimensions.
|
protected |
Launch MultiThread GetValueAndDerivative.
|
protected |
Launch MultiThread GetValue.
|
private |
|
overrideprotected |
PrintSelf.
|
virtual |
|
virtual |
|
virtual |
Set/Get the image sampler.
|
virtual |
|
virtual |
Set/Get the Moving/Fixed limiter. Its thresholds and bounds are set by the metric. Setting a limiter is only mandatory if GetUse{Fixed,Moving}Limiter() returns true.
|
virtual |
A percentage that defines how much the gray value range is extended maxlimit = max + LimitRangeRatio * (max - min) minlimit = min - LimitRangeRatio * (max - min) Default: 0.01; If you use a nearest neighbor or linear interpolator, set it to zero and use a hard limiter.
|
virtual |
Set number of threads to use for computations.
|
virtual |
Set/Get the required ratio of valid samples; default 0.25. When less than this ratio*numberOfSamplesTried samples map inside the moving image buffer, an exception will be thrown.
|
virtual |
|
inlinevirtual |
Public methods Set the transform, of advanced type.
Definition at line 182 of file itkAdvancedImageToImageMetric.h.
|
protectedvirtual |
Inheriting classes can specify whether they use the image limiter functionality Make sure to set it before calling Initialize; default: false.
|
protectedvirtual |
Inheriting classes can specify whether they use the image sampler functionality Make sure to set it before calling Initialize; default: false.
|
virtual |
Switch the function BeforeThreadedGetValueAndDerivative on or off.
|
virtual |
You may specify a scaling vector for the moving image derivatives. If the UseMovingImageDerivativeScales is true, the moving image derivatives are multiplied by the moving image derivative scales (element-wise) You may use this to avoid deformations in the z-dimension, for example, by setting the moving image derivative scales to (1,1,0). This is a rather experimental feature. In most cases you do not need it.
|
protectedvirtual |
|
virtual |
Select the use of multi-threading
|
inlineprotectedvirtual |
Multi-threaded metric computation. Multi-threaded version of GetValue().
Reimplemented in itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedMeanSquaresImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< TFixedImage, TMovingImage >, and itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
Definition at line 376 of file itkAdvancedImageToImageMetric.h.
|
inlineprotectedvirtual |
Multi-threaded version of GetValueAndDerivative().
Reimplemented in itk::AdvancedKappaStatisticImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedKappaStatisticImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::AdvancedMeanSquaresImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedMeanSquaresImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::AdvancedNormalizedCorrelationImageToImageMetric< TFixedImage, TMovingImage >, itk::AdvancedNormalizedCorrelationImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >, itk::TransformBendingEnergyPenaltyTerm< TFixedImage, TScalarType >, itk::TransformBendingEnergyPenaltyTerm< MetricBase< TElastix >::FixedImageType, double >, itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< TFixedImage, TMovingImage >, and itk::SumSquaredTissueVolumeDifferenceImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >.
Definition at line 388 of file itkAdvancedImageToImageMetric.h.
|
protectedvirtual |
Transform a point from FixedImage domain to MovingImage domain. This function also checks if mapped point is within support region of the transform. It returns true if so, and false otherwise.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 358 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 350 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 351 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 354 of file itkAdvancedImageToImageMetric.h.
|
protected |
Variables for the Limiters.
Definition at line 362 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 369 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 368 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 365 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 364 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 547 of file itkAdvancedImageToImageMetric.h.
|
mutableprotected |
Definition at line 455 of file itkAdvancedImageToImageMetric.h.
|
mutableprotected |
Definition at line 456 of file itkAdvancedImageToImageMetric.h.
|
mutableprotected |
Definition at line 441 of file itkAdvancedImageToImageMetric.h.
|
mutableprotected |
Definition at line 442 of file itkAdvancedImageToImageMetric.h.
|
mutableprotected |
Protected Variables Variables for ImageSampler support. m_ImageSampler is mutable, because it is changed in the GetValue(), etc, which are const functions.
Definition at line 342 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 346 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 347 of file itkAdvancedImageToImageMetric.h.
|
protected |
Variables for image derivative computation.
Definition at line 345 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 348 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 349 of file itkAdvancedImageToImageMetric.h.
|
private |
Definition at line 563 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 363 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 371 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 370 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 367 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 366 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 548 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 352 of file itkAdvancedImageToImageMetric.h.
|
private |
Definition at line 559 of file itkAdvancedImageToImageMetric.h.
|
private |
Definition at line 561 of file itkAdvancedImageToImageMetric.h.
|
mutableprotected |
Definition at line 420 of file itkAdvancedImageToImageMetric.h.
|
protected |
Variables to store the AdvancedTransform.
Definition at line 357 of file itkAdvancedImageToImageMetric.h.
|
mutableprotected |
Definition at line 359 of file itkAdvancedImageToImageMetric.h.
|
private |
Definition at line 557 of file itkAdvancedImageToImageMetric.h.
|
private |
Private member variables.
Definition at line 556 of file itkAdvancedImageToImageMetric.h.
|
protected |
Variables for multi-threading.
Definition at line 405 of file itkAdvancedImageToImageMetric.h.
|
private |
Definition at line 560 of file itkAdvancedImageToImageMetric.h.
|
private |
Definition at line 558 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 406 of file itkAdvancedImageToImageMetric.h.
|
protected |
Definition at line 407 of file itkAdvancedImageToImageMetric.h.
Generated on 1667476801 for elastix by 1.9.4 |