go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
elastix::PatternIntensityMetric< TElastix > Class Template Reference

#include <elxPatternIntensityMetric.h>

Detailed Description

template<class TElastix>
class elastix::PatternIntensityMetric< TElastix >

An metric based on the itk::PatternIntensityImageToImageMetric.

Definition at line 37 of file elxPatternIntensityMetric.h.

+ Inheritance diagram for elastix::PatternIntensityMetric< TElastix >:

Public Types

typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass1::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass1::DerivativeType DerivativeType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass1::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass1::FixedImageLimiterOutputType FixedImageLimiterOutputType
 
typedef Superclass1::FixedImageLimiterType FixedImageLimiterType
 
typedef Superclass1::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass1::FixedImageMaskType FixedImageMaskType
 
typedef Superclass1::FixedImagePixelType FixedImagePixelType
 
typedef Superclass1::FixedImageRegionType FixedImageRegionType
 
typedef Superclass1::FixedImageType FixedImageType
 
typedef Superclass1::GradientImageFilterPointer GradientImageFilterPointer
 
typedef Superclass1::GradientImageFilterType GradientImageFilterType
 
typedef Superclass1::GradientImagePointer GradientImagePointer
 
typedef Superclass1::GradientImageType GradientImageType
 
typedef Superclass1::GradientPixelType GradientPixelType
 
typedef Superclass1::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass1::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass1::ImageSamplerPointer ImageSamplerPointer
 
typedef Superclass1::ImageSamplerType ImageSamplerType
 
typedef Superclass1::InputPointType InputPointType
 
typedef Superclass1::InterpolatorPointer InterpolatorPointer
 
typedef Superclass1::InterpolatorType InterpolatorType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::MeasureType MeasureType
 
typedef Superclass1::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass1::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef Superclass1::MovingImageLimiterOutputType MovingImageLimiterOutputType
 
typedef Superclass1::MovingImageLimiterType MovingImageLimiterType
 
typedef Superclass1::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass1::MovingImageMaskType MovingImageMaskType
 
typedef Superclass1::MovingImagePixelType MovingImagePixelType
 
typedef Superclass1::MovingImageRegionType MovingImageRegionType
 
typedef Superclass1::MovingImageType MovingImageType
 
typedef Superclass1::OutputPointType OutputPointType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass1::RealType RealType
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef PatternIntensityMetric Self
 
typedef itk::PatternIntensityImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageTypeSuperclass1
 
typedef MetricBase< TElastix > Superclass2
 
typedef Superclass1::TransformJacobianType TransformJacobianType
 
typedef Superclass1::TransformParametersType TransformParametersType
 
typedef Superclass1::TransformPointer TransformPointer
 
typedef Superclass1::TransformType TransformType
 
- Public Types inherited from itk::PatternIntensityImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef CombinationTransformType::Pointer CombinationTransformPointer
 
typedef itk::AdvancedCombinationTransform< ScalarType, FixedImageDimension > CombinationTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CoordinateRepresentationType CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DifferenceImageFilterType::Pointer DifferenceImageFilterPointer
 
typedef itk::SubtractImageFilter< FixedImageType, TransformedMovingImageType, TransformedMovingImageTypeDifferenceImageFilterType
 
typedef Superclass::FixedImageConstPointer FixedImageConstPointer
 
typedef Superclass::FixedImageLimiterOutputType FixedImageLimiterOutputType
 
typedef Superclass::FixedImageLimiterType FixedImageLimiterType
 
typedef Superclass::FixedImageMaskPointer FixedImageMaskPointer
 
typedef Superclass::FixedImageMaskType FixedImageMaskType
 
typedef Superclass::FixedImagePixelType FixedImagePixelType
 
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 Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
 
typedef Superclass::ImageSampleContainerType ImageSampleContainerType
 
typedef Superclass::ImageSamplerPointer ImageSamplerPointer
 
typedef Superclass::ImageSamplerType ImageSamplerType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InterpolatorPointer InterpolatorPointer
 
typedef Superclass::InterpolatorType InterpolatorType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::MovingImageConstPointer MovingImageConstPointer
 
typedef Superclass::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef Superclass::MovingImageLimiterOutputType MovingImageLimiterOutputType
 
typedef Superclass::MovingImageLimiterType MovingImageLimiterType
 
typedef Superclass::MovingImageMaskPointer MovingImageMaskPointer
 
typedef Superclass::MovingImageMaskType MovingImageMaskType
 
typedef Superclass::MovingImagePixelType MovingImagePixelType
 
typedef Superclass::MovingImagePointer MovingImagePointer
 
typedef Superclass::MovingImageRegionType MovingImageRegionType
 
typedef Superclass::MovingImageType MovingImageType
 
typedef MultiplyImageFilterType::Pointer MultiplyImageFilterPointer
 
typedef itk::MultiplyImageFilter< TransformedMovingImageType, TransformedMovingImageType, TransformedMovingImageTypeMultiplyImageFilterType
 
typedef itk::Optimizer OptimizerType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef RayCastInterpolatorType::Pointer RayCastInterpolatorPointer
 
typedef itk::AdvancedRayCastInterpolateImageFunction< MovingImageType, ScalarTypeRayCastInterpolatorType
 
typedef Superclass::RealType RealType
 
typedef RescaleIntensityImageFilterType::Pointer RescaleIntensityImageFilterPointer
 
typedef itk::RescaleIntensityImageFilter< TransformedMovingImageType, TransformedMovingImageTypeRescaleIntensityImageFilterType
 
typedef TransformType::ScalarType ScalarType
 
typedef OptimizerType::ScalesType ScalesType
 
typedef PatternIntensityImageToImageMetric Self
 
typedef AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageTypeSuperclass
 
typedef itk::Image< FixedImagePixelType, itkGetStaticConstMacro(FixedImageDimension) > TransformedMovingImageType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef TransformMovingImageFilterType::Pointer TransformMovingImageFilterPointer
 
typedef itk::ResampleImageFilter< MovingImageType, TransformedMovingImageTypeTransformMovingImageFilterType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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 SelfConstPointer
 
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< HessianValueTypeHessianType
 
typedef DerivativeType::ValueType HessianValueType
 
typedef ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
 
typedef ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
 
typedef ImageSamplerType::Pointer ImageSamplerPointer
 
typedef ImageSamplerBase< FixedImageTypeImageSamplerType
 
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< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef TransformType::ScalarType ScalarType
 
typedef AdvancedImageToImageMetric Self
 
typedef ImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageTypeSuperclass
 
typedef itk::PlatformMultiThreader ThreaderType
 
typedef ThreaderType::WorkUnitInfo ThreadInfoType
 
typedef Superclass::TransformJacobianType TransformJacobianType
 
typedef Superclass::TransformParametersType TransformParametersType
 
typedef Superclass::TransformPointer TransformPointer
 
typedef Superclass::TransformType TransformType
 
- Public Types inherited from elastix::MetricBase< TElastix >
typedef itk::AdvancedImageToImageMetric< FixedImageType, MovingImageTypeAdvancedMetricType
 
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef ITKBaseType::ParametersValueType CoordinateRepresentationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef ElastixType::FixedImageType FixedImageType
 
typedef itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
 
typedef FixedImageType::PointType FixedPointType
 
typedef FixedPointType::ValueType FixedPointValueType
 
typedef AdvancedMetricType::ImageSamplerType ImageSamplerBaseType
 
typedef itk::SingleValuedCostFunction ITKBaseType
 
typedef ITKBaseType::MeasureType MeasureType
 
typedef AdvancedMetricType::MovingImageDerivativeScalesType MovingImageDerivativeScalesType
 
typedef ElastixType::MovingImageType MovingImageType
 
typedef itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
 
typedef MovingImageType::PointType MovingPointType
 
typedef MovingPointType::ValueType MovingPointValueType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef MetricBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

void BeforeEachResolution (void) override
 
void BeforeRegistration (void) override
 
 elxClassNameMacro ("PatternIntensity")
 
virtual const char * GetClassName () const
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
- Public Member Functions inherited from itk::PatternIntensityImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual const char * GetClassName () const
 
void GetDerivative (const TransformParametersType &parameters, DerivativeType &derivative) const override
 
virtual const doubleGetNoiseConstant ()
 
virtual const boolGetOptimizeNormalizationFactor ()
 
virtual const ScalesTypeGetScales ()
 
MeasureType GetValue (const TransformParametersType &parameters) const override
 
void GetValueAndDerivative (const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SetNoiseConstant (double _arg)
 
virtual void SetOptimizeNormalizationFactor (bool _arg)
 
virtual void SetScales (ScalesType _arg)
 
- Public Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
virtual void BeforeThreadedGetValueAndDerivative (const TransformParametersType &parameters) const
 
virtual const char * GetClassName () const
 
virtual const FixedImageLimiterTypeGetFixedImageLimiter ()
 
virtual double GetFixedLimitRangeRatio () const
 
virtual ImageSamplerTypeGetImageSampler (void) const
 
virtual const MovingImageDerivativeScalesTypeGetMovingImageDerivativeScales ()
 
virtual const MovingImageLimiterTypeGetMovingImageLimiter ()
 
virtual double GetMovingLimitRangeRatio () const
 
virtual double GetRequiredRatioOfValidSamples () const
 
virtual bool GetScaleGradientWithRespectToMovingImageOrientation () const
 
virtual void GetSelfHessian (const TransformParametersType &parameters, HessianType &H) const
 
const AdvancedTransformTypeGetTransform (void) const override
 
virtual bool GetUseFixedImageLimiter () const
 
virtual bool GetUseImageSampler () const
 
virtual const boolGetUseMetricSingleThreaded ()
 
virtual bool GetUseMovingImageDerivativeScales () const
 
virtual bool GetUseMovingImageLimiter () const
 
virtual const boolGetUseMultiThread ()
 
void Initialize (void) override
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, TFixedImage::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, TMovingImage::ImageDimension)
 
virtual void SetFixedImageLimiter (FixedImageLimiterType *_arg)
 
virtual void SetFixedLimitRangeRatio (double _arg)
 
virtual void SetImageSampler (ImageSamplerType *_arg)
 
virtual void SetMovingImageDerivativeScales (MovingImageDerivativeScalesType _arg)
 
virtual void SetMovingImageLimiter (MovingImageLimiterType *_arg)
 
virtual void SetMovingLimitRangeRatio (double _arg)
 
virtual void SetNumberOfWorkUnits (ThreadIdType numberOfThreads)
 
virtual void SetRequiredRatioOfValidSamples (double _arg)
 
virtual void SetScaleGradientWithRespectToMovingImageOrientation (bool _arg)
 
virtual void SetTransform (AdvancedTransformType *arg)
 
virtual void SetUseMetricSingleThreaded (bool _arg)
 
virtual void SetUseMovingImageDerivativeScales (bool _arg)
 
virtual void SetUseMultiThread (bool _arg)
 
virtual void UseMetricSingleThreadedOff ()
 
virtual void UseMetricSingleThreadedOn ()
 
virtual void UseMultiThreadOff ()
 
virtual void UseMultiThreadOn ()
 
- Public Member Functions inherited from elastix::MetricBase< TElastix >
void AfterEachIterationBase (void) override
 
void BeforeEachResolutionBase (void) override
 
virtual ImageSamplerBaseTypeGetAdvancedMetricImageSampler (void) const
 
virtual bool GetAdvancedMetricUseImageSampler (void) const
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual MeasureType GetCurrentExactMetricValue (void) const
 
virtual bool GetShowExactMetricValue (void) const
 
 itkStaticConstMacro (FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
 
 itkStaticConstMacro (MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
 
virtual void SelectNewSamples (void)
 
virtual void SetAdvancedMetricImageSampler (ImageSamplerBaseType *sampler)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
ConfigurationTypeGetConfiguration (void) const
 
ElastixTypeGetElastix (void) const
 
RegistrationPointer GetRegistration (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE)
 
void SetConfiguration (ConfigurationType *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual const char * elxGetClassName (void) const
 
const char * GetComponentLabel (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::PatternIntensityImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
static Pointer New ()
 
- Static Public Member Functions inherited from elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

 PatternIntensityMetric ()
 
 ~PatternIntensityMetric () override
 
- Protected Member Functions inherited from itk::PatternIntensityImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
MeasureType ComputePIDiff (const TransformParametersType &parameters, float scalingfactor) const
 
MeasureType ComputePIFixed (void) const
 
 PatternIntensityImageToImageMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~PatternIntensityImageToImageMetric () override
 
- Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
 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
 
- Protected Member Functions inherited from elastix::MetricBase< TElastix >
virtual MeasureType GetExactValue (const ParametersType &parameters)
 
 MetricBase ()
 
 ~MetricBase () override
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Private Member Functions

void operator= (const Self &)
 
 PatternIntensityMetric (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
typedef BSplineInterpolatorFloatType::Pointer BSplineInterpolatorFloatPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, floatBSplineInterpolatorFloatType
 
typedef BSplineInterpolatorType::Pointer BSplineInterpolatorPointer
 
typedef BSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, doubleBSplineInterpolatorType
 
typedef CentralDifferenceGradientFilterType::Pointer CentralDifferenceGradientFilterPointer
 
typedef GradientImageFilter< MovingImageType, RealType, RealTypeCentralDifferenceGradientFilterType
 
typedef FixedImageType::IndexType FixedImageIndexType
 
typedef FixedImageIndexType::IndexValueType FixedImageIndexValueType
 
typedef TransformType::InputPointType FixedImagePointType
 
typedef LinearInterpolatorType::Pointer LinearInterpolatorPointer
 
typedef AdvancedLinearInterpolateImageFunction< MovingImageType, CoordinateRepresentationTypeLinearInterpolatorType
 
typedef InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
 
typedef BSplineInterpolatorType::CovariantVectorType MovingImageDerivativeType
 
typedef MovingImageType::IndexType MovingImageIndexType
 
typedef TransformType::OutputPointType MovingImagePointType
 
typedef AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef ReducedBSplineInterpolatorType::Pointer ReducedBSplineInterpolatorPointer
 
typedef ReducedDimensionBSplineInterpolateImageFunction< MovingImageType, CoordinateRepresentationType, doubleReducedBSplineInterpolatorType
 
- Protected Types inherited from elastix::MetricBase< TElastix >
typedef ExactMetricImageSamplerType::Pointer ExactMetricImageSamplerPointer
 
typedef itk::ImageGridSampler< FixedImageTypeExactMetricImageSamplerType
 
typedef ExactMetricImageSamplerType::SampleGridSpacingType ExactMetricSampleGridSpacingType
 
typedef ITKBaseType::ParametersType ParametersType
 
- Static Protected Member Functions inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
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)
 
- Protected Attributes inherited from itk::AdvancedImageToImageMetric< MetricBase< TElastix >::FixedImageType, MetricBase< TElastix >::MovingImageType >
AdvancedTransformType::Pointer m_AdvancedTransform
 
BSplineInterpolatorPointer m_BSplineInterpolator
 
BSplineInterpolatorFloatPointer m_BSplineInterpolatorFloat
 
CentralDifferenceGradientFilterPointer m_CentralDifferenceGradientFilter
 
FixedImageLimiterPointer m_FixedImageLimiter
 
FixedImageLimiterOutputType m_FixedImageMaxLimit
 
FixedImageLimiterOutputType m_FixedImageMinLimit
 
FixedImagePixelType m_FixedImageTrueMax
 
FixedImagePixelType m_FixedImageTrueMin
 
double m_FixedLimitRangeRatio
 
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
 
ThreadIdType m_GetValueAndDerivativePerThreadVariablesSize
 
AlignedGetValuePerThreadStruct * m_GetValuePerThreadVariables
 
ThreadIdType m_GetValuePerThreadVariablesSize
 
ImageSamplerPointer m_ImageSampler
 
bool m_InterpolatorIsBSpline
 
bool m_InterpolatorIsBSplineFloat
 
bool m_InterpolatorIsLinear
 
bool m_InterpolatorIsReducedBSpline
 
LinearInterpolatorPointer m_LinearInterpolator
 
MovingImageLimiterPointer m_MovingImageLimiter
 
MovingImageLimiterOutputType m_MovingImageMaxLimit
 
MovingImageLimiterOutputType m_MovingImageMinLimit
 
MovingImagePixelType m_MovingImageTrueMax
 
MovingImagePixelType m_MovingImageTrueMin
 
double m_MovingLimitRangeRatio
 
ReducedBSplineInterpolatorPointer m_ReducedBSplineInterpolator
 
MultiThreaderParameterType m_ThreaderMetricParameters
 
bool m_TransformIsAdvanced
 
bool m_TransformIsBSpline
 
bool m_UseMetricSingleThreaded
 
bool m_UseMultiThread
 
bool m_UseOpenMP
 
- Protected Attributes inherited from elastix::MetricBase< TElastix >
MeasureType m_CurrentExactMetricValue
 
unsigned int m_ExactMetricEachXNumberOfIterations
 
ExactMetricSampleGridSpacingType m_ExactMetricSampleGridSpacing
 
ExactMetricImageSamplerPointer m_ExactMetricSampler
 
bool m_ShowExactMetricValue
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
ElastixPointer m_Elastix {}
 
RegistrationPointer m_Registration {}
 

Member Typedef Documentation

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::PatternIntensityMetric< TElastix >::ConfigurationPointer

Definition at line 125 of file elxPatternIntensityMetric.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::PatternIntensityMetric< TElastix >::ConfigurationType

Definition at line 124 of file elxPatternIntensityMetric.h.

◆ ConstPointer

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::PatternIntensityMetric< TElastix >::ConstPointer

Definition at line 53 of file elxPatternIntensityMetric.h.

◆ CoordinateRepresentationType

template<class TElastix >
typedef Superclass1::CoordinateRepresentationType elastix::PatternIntensityMetric< TElastix >::CoordinateRepresentationType

Typedefs from the superclass.

Definition at line 69 of file elxPatternIntensityMetric.h.

◆ DerivativeType

template<class TElastix >
typedef Superclass1::DerivativeType elastix::PatternIntensityMetric< TElastix >::DerivativeType

Definition at line 95 of file elxPatternIntensityMetric.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::PatternIntensityMetric< TElastix >::ElastixPointer

Definition at line 123 of file elxPatternIntensityMetric.h.

◆ ElastixType

template<class TElastix >
typedef Superclass2::ElastixType elastix::PatternIntensityMetric< TElastix >::ElastixType

Typedef's inherited from Elastix.

Definition at line 122 of file elxPatternIntensityMetric.h.

◆ FixedImageConstPointer

template<class TElastix >
typedef Superclass1::FixedImageConstPointer elastix::PatternIntensityMetric< TElastix >::FixedImageConstPointer

Definition at line 74 of file elxPatternIntensityMetric.h.

◆ FixedImageLimiterOutputType

template<class TElastix >
typedef Superclass1::FixedImageLimiterOutputType elastix::PatternIntensityMetric< TElastix >::FixedImageLimiterOutputType

Definition at line 107 of file elxPatternIntensityMetric.h.

◆ FixedImageLimiterType

template<class TElastix >
typedef Superclass1::FixedImageLimiterType elastix::PatternIntensityMetric< TElastix >::FixedImageLimiterType

Definition at line 104 of file elxPatternIntensityMetric.h.

◆ FixedImageMaskPointer

template<class TElastix >
typedef Superclass1::FixedImageMaskPointer elastix::PatternIntensityMetric< TElastix >::FixedImageMaskPointer

Definition at line 91 of file elxPatternIntensityMetric.h.

◆ FixedImageMaskType

template<class TElastix >
typedef Superclass1::FixedImageMaskType elastix::PatternIntensityMetric< TElastix >::FixedImageMaskType

Definition at line 90 of file elxPatternIntensityMetric.h.

◆ FixedImagePixelType

template<class TElastix >
typedef Superclass1::FixedImagePixelType elastix::PatternIntensityMetric< TElastix >::FixedImagePixelType

Definition at line 97 of file elxPatternIntensityMetric.h.

◆ FixedImageRegionType

template<class TElastix >
typedef Superclass1::FixedImageRegionType elastix::PatternIntensityMetric< TElastix >::FixedImageRegionType

Definition at line 75 of file elxPatternIntensityMetric.h.

◆ FixedImageType

template<class TElastix >
typedef Superclass1::FixedImageType elastix::PatternIntensityMetric< TElastix >::FixedImageType

Definition at line 73 of file elxPatternIntensityMetric.h.

◆ GradientImageFilterPointer

template<class TElastix >
typedef Superclass1::GradientImageFilterPointer elastix::PatternIntensityMetric< TElastix >::GradientImageFilterPointer

Definition at line 89 of file elxPatternIntensityMetric.h.

◆ GradientImageFilterType

template<class TElastix >
typedef Superclass1::GradientImageFilterType elastix::PatternIntensityMetric< TElastix >::GradientImageFilterType

Definition at line 88 of file elxPatternIntensityMetric.h.

◆ GradientImagePointer

template<class TElastix >
typedef Superclass1::GradientImagePointer elastix::PatternIntensityMetric< TElastix >::GradientImagePointer

Definition at line 87 of file elxPatternIntensityMetric.h.

◆ GradientImageType

template<class TElastix >
typedef Superclass1::GradientImageType elastix::PatternIntensityMetric< TElastix >::GradientImageType

Definition at line 86 of file elxPatternIntensityMetric.h.

◆ GradientPixelType

template<class TElastix >
typedef Superclass1::GradientPixelType elastix::PatternIntensityMetric< TElastix >::GradientPixelType

Definition at line 85 of file elxPatternIntensityMetric.h.

◆ ImageSampleContainerPointer

template<class TElastix >
typedef Superclass1::ImageSampleContainerPointer elastix::PatternIntensityMetric< TElastix >::ImageSampleContainerPointer

Definition at line 103 of file elxPatternIntensityMetric.h.

◆ ImageSampleContainerType

template<class TElastix >
typedef Superclass1::ImageSampleContainerType elastix::PatternIntensityMetric< TElastix >::ImageSampleContainerType

Definition at line 101 of file elxPatternIntensityMetric.h.

◆ ImageSamplerPointer

template<class TElastix >
typedef Superclass1::ImageSamplerPointer elastix::PatternIntensityMetric< TElastix >::ImageSamplerPointer

Definition at line 100 of file elxPatternIntensityMetric.h.

◆ ImageSamplerType

template<class TElastix >
typedef Superclass1::ImageSamplerType elastix::PatternIntensityMetric< TElastix >::ImageSamplerType

Definition at line 99 of file elxPatternIntensityMetric.h.

◆ InputPointType

template<class TElastix >
typedef Superclass1::InputPointType elastix::PatternIntensityMetric< TElastix >::InputPointType

Definition at line 78 of file elxPatternIntensityMetric.h.

◆ InterpolatorPointer

template<class TElastix >
typedef Superclass1::InterpolatorPointer elastix::PatternIntensityMetric< TElastix >::InterpolatorPointer

Definition at line 83 of file elxPatternIntensityMetric.h.

◆ InterpolatorType

template<class TElastix >
typedef Superclass1::InterpolatorType elastix::PatternIntensityMetric< TElastix >::InterpolatorType

Definition at line 82 of file elxPatternIntensityMetric.h.

◆ ITKBaseType

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::PatternIntensityMetric< TElastix >::ITKBaseType

Definition at line 128 of file elxPatternIntensityMetric.h.

◆ MeasureType

template<class TElastix >
typedef Superclass1::MeasureType elastix::PatternIntensityMetric< TElastix >::MeasureType

Definition at line 94 of file elxPatternIntensityMetric.h.

◆ MovingImageConstPointer

template<class TElastix >
typedef Superclass1::MovingImageConstPointer elastix::PatternIntensityMetric< TElastix >::MovingImageConstPointer

Definition at line 72 of file elxPatternIntensityMetric.h.

◆ MovingImageDerivativeScalesType

template<class TElastix >
typedef Superclass1::MovingImageDerivativeScalesType elastix::PatternIntensityMetric< TElastix >::MovingImageDerivativeScalesType

Definition at line 111 of file elxPatternIntensityMetric.h.

◆ MovingImageLimiterOutputType

template<class TElastix >
typedef Superclass1::MovingImageLimiterOutputType elastix::PatternIntensityMetric< TElastix >::MovingImageLimiterOutputType

Definition at line 109 of file elxPatternIntensityMetric.h.

◆ MovingImageLimiterType

template<class TElastix >
typedef Superclass1::MovingImageLimiterType elastix::PatternIntensityMetric< TElastix >::MovingImageLimiterType

Definition at line 105 of file elxPatternIntensityMetric.h.

◆ MovingImageMaskPointer

template<class TElastix >
typedef Superclass1::MovingImageMaskPointer elastix::PatternIntensityMetric< TElastix >::MovingImageMaskPointer

Definition at line 93 of file elxPatternIntensityMetric.h.

◆ MovingImageMaskType

template<class TElastix >
typedef Superclass1::MovingImageMaskType elastix::PatternIntensityMetric< TElastix >::MovingImageMaskType

Definition at line 92 of file elxPatternIntensityMetric.h.

◆ MovingImagePixelType

template<class TElastix >
typedef Superclass1::MovingImagePixelType elastix::PatternIntensityMetric< TElastix >::MovingImagePixelType

Definition at line 71 of file elxPatternIntensityMetric.h.

◆ MovingImageRegionType

template<class TElastix >
typedef Superclass1::MovingImageRegionType elastix::PatternIntensityMetric< TElastix >::MovingImageRegionType

Definition at line 98 of file elxPatternIntensityMetric.h.

◆ MovingImageType

template<class TElastix >
typedef Superclass1::MovingImageType elastix::PatternIntensityMetric< TElastix >::MovingImageType

Definition at line 70 of file elxPatternIntensityMetric.h.

◆ OutputPointType

template<class TElastix >
typedef Superclass1::OutputPointType elastix::PatternIntensityMetric< TElastix >::OutputPointType

Definition at line 79 of file elxPatternIntensityMetric.h.

◆ ParametersType

template<class TElastix >
typedef Superclass1::ParametersType elastix::PatternIntensityMetric< TElastix >::ParametersType

Definition at line 96 of file elxPatternIntensityMetric.h.

◆ Pointer

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::PatternIntensityMetric< TElastix >::Pointer

Definition at line 52 of file elxPatternIntensityMetric.h.

◆ RealType

template<class TElastix >
typedef Superclass1::RealType elastix::PatternIntensityMetric< TElastix >::RealType

Definition at line 84 of file elxPatternIntensityMetric.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::PatternIntensityMetric< TElastix >::RegistrationPointer

Definition at line 127 of file elxPatternIntensityMetric.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass2::RegistrationType elastix::PatternIntensityMetric< TElastix >::RegistrationType

Definition at line 126 of file elxPatternIntensityMetric.h.

◆ Self

template<class TElastix >
typedef PatternIntensityMetric elastix::PatternIntensityMetric< TElastix >::Self

Standard ITK-stuff.

Definition at line 47 of file elxPatternIntensityMetric.h.

◆ Superclass1

template<class TElastix >
typedef itk::PatternIntensityImageToImageMetric< typename MetricBase< TElastix >::FixedImageType, typename MetricBase< TElastix >::MovingImageType > elastix::PatternIntensityMetric< TElastix >::Superclass1

Definition at line 50 of file elxPatternIntensityMetric.h.

◆ Superclass2

template<class TElastix >
typedef MetricBase< TElastix > elastix::PatternIntensityMetric< TElastix >::Superclass2

Definition at line 51 of file elxPatternIntensityMetric.h.

◆ TransformJacobianType

template<class TElastix >
typedef Superclass1::TransformJacobianType elastix::PatternIntensityMetric< TElastix >::TransformJacobianType

Definition at line 81 of file elxPatternIntensityMetric.h.

◆ TransformParametersType

template<class TElastix >
typedef Superclass1::TransformParametersType elastix::PatternIntensityMetric< TElastix >::TransformParametersType

Definition at line 80 of file elxPatternIntensityMetric.h.

◆ TransformPointer

template<class TElastix >
typedef Superclass1::TransformPointer elastix::PatternIntensityMetric< TElastix >::TransformPointer

Definition at line 77 of file elxPatternIntensityMetric.h.

◆ TransformType

template<class TElastix >
typedef Superclass1::TransformType elastix::PatternIntensityMetric< TElastix >::TransformType

Definition at line 76 of file elxPatternIntensityMetric.h.

Constructor & Destructor Documentation

◆ PatternIntensityMetric() [1/2]

template<class TElastix >
elastix::PatternIntensityMetric< TElastix >::PatternIntensityMetric ( )
inlineprotected

The constructor.

Definition at line 147 of file elxPatternIntensityMetric.h.

◆ ~PatternIntensityMetric()

template<class TElastix >
elastix::PatternIntensityMetric< TElastix >::~PatternIntensityMetric ( )
inlineoverrideprotected

The destructor.

Definition at line 149 of file elxPatternIntensityMetric.h.

◆ PatternIntensityMetric() [2/2]

template<class TElastix >
elastix::PatternIntensityMetric< TElastix >::PatternIntensityMetric ( const Self )
private

The private constructor.

Member Function Documentation

◆ BeforeEachResolution()

template<class TElastix >
void elastix::PatternIntensityMetric< TElastix >::BeforeEachResolution ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ BeforeRegistration()

template<class TElastix >
void elastix::PatternIntensityMetric< TElastix >::BeforeRegistration ( void  )
overridevirtual

Do some things before each resolution:

  • Set CheckNumberOfSamples setting
  • Set UseNormalization setting

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::PatternIntensityMetric< TElastix >::elxClassNameMacro ( "PatternIntensity"  )

Name of this class. Use this name in the parameter file to select this specific metric.
example: (Metric "PatternIntensity")

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::PatternIntensityMetric< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from elastix::MetricBase< TElastix >.

◆ Initialize()

template<class TElastix >
void elastix::PatternIntensityMetric< TElastix >::Initialize ( void  )
override

Sets up a timer to measure the initialization time and calls the Superclass' implementation.

◆ itkStaticConstMacro() [1/2]

template<class TElastix >
elastix::PatternIntensityMetric< TElastix >::itkStaticConstMacro ( FixedImageDimension  ,
unsigned int  ,
FixedImageType::ImageDimension   
)

The fixed image dimension.

◆ itkStaticConstMacro() [2/2]

template<class TElastix >
elastix::PatternIntensityMetric< TElastix >::itkStaticConstMacro ( MovingImageDimension  ,
unsigned int  ,
MovingImageType::ImageDimension   
)

The moving image dimension.

◆ New()

template<class TElastix >
static Pointer elastix::PatternIntensityMetric< TElastix >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TElastix >
void elastix::PatternIntensityMetric< TElastix >::operator= ( const Self )
private

The private copy constructor.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo