ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric > Class Template Reference

#include <itkMattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader.h>

+ Inheritance diagram for itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >:
+ Collaboration diagram for itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >:

Detailed Description

template<typename TDomainPartitioner, typename TImageToImageMetric, typename TMattesMutualInformationMetric>
class itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >

Processes points for MattesMutualInformationImageToImageMetricv4 GetValueAndDerivative.

Definition at line 35 of file itkMattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader.h.

Public Types

using AssociateType = typename Superclass::AssociateType
 
using ConstPointer = SmartPointer< const Self >
 
using CubicBSplineDerivativeFunctionType = typename TMattesMutualInformationMetric::CubicBSplineDerivativeFunctionType
 
using CubicBSplineFunctionType = typename TMattesMutualInformationMetric::CubicBSplineFunctionType
 
using DerivativeType = typename Superclass::DerivativeType
 
using DerivativeValueType = typename Superclass::DerivativeValueType
 
using DomainType = typename Superclass::DomainType
 
using FixedImageGradientType = typename Superclass::FixedImageGradientType
 
using FixedImageIndexType = typename Superclass::FixedImageIndexType
 
using FixedImagePixelType = typename Superclass::FixedImagePixelType
 
using FixedImagePointType = typename Superclass::FixedImagePointType
 
using ImageToImageMetricv4Type = typename Superclass::ImageToImageMetricv4Type
 
using JacobianType = typename TMattesMutualInformationMetric::JacobianType
 
using JointPDFDerivativesIndexType = typename TMattesMutualInformationMetric::JointPDFDerivativesIndexType
 
using JointPDFDerivativesRegionType = typename TMattesMutualInformationMetric::JointPDFDerivativesRegionType
 
using JointPDFDerivativesSizeType = typename TMattesMutualInformationMetric::JointPDFDerivativesSizeType
 
using JointPDFDerivativesType = typename TMattesMutualInformationMetric::JointPDFDerivativesType
 
using JointPDFDerivativesValueType = typename TMattesMutualInformationMetric::JointPDFDerivativesValueType
 
using JointPDFIndexType = typename TMattesMutualInformationMetric::JointPDFIndexType
 
using JointPDFRegionType = typename TMattesMutualInformationMetric::JointPDFRegionType
 
using JointPDFSizeType = typename TMattesMutualInformationMetric::JointPDFSizeType
 
using JointPDFType = typename TMattesMutualInformationMetric::JointPDFType
 
using JointPDFValueType = typename TMattesMutualInformationMetric::JointPDFValueType
 
using MeasureType = typename Superclass::MeasureType
 
using MovingImageGradientType = typename Superclass::MovingImageGradientType
 
using MovingImagePixelType = typename Superclass::MovingImagePixelType
 
using MovingImagePointType = typename Superclass::MovingImagePointType
 
using MovingTransformType = typename ImageToImageMetricv4Type::MovingTransformType
 
using NumberOfParametersType = typename Superclass::NumberOfParametersType
 
using PDFValueType = typename TMattesMutualInformationMetric::PDFValueType
 
using Pointer = SmartPointer< Self >
 
using Self = MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader
 
using Superclass = ImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric >
 
using VirtualIndexType = typename Superclass::VirtualIndexType
 
using VirtualPointType = typename Superclass::VirtualPointType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void AfterThreadedExecution () override
 
void BeforeThreadedExecution () override
 
virtual void ComputePDFDerivativesLocalSupportTransform (const JacobianType &jacobian, const MovingImageGradientType &movingGradient, const PDFValueType &cubicBSplineDerivativeValue, DerivativeValueType *localSupportDerivativeResultPtr) const
 
 MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader ()
 
bool ProcessPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const FixedImagePointType &mappedFixedPoint, const FixedImagePixelType &mappedFixedPixelValue, const FixedImageGradientType &mappedFixedImageGradient, const MovingImagePointType &mappedMovingPoint, const MovingImagePixelType &mappedMovingPixelValue, const MovingImageGradientType &mappedMovingImageGradient, MeasureType &metricValueReturn, DerivativeType &localDerivativeReturn, const ThreadIdType threadId) const override
 

Private Attributes

TMattesMutualInformationMetric * m_MattesAssociate
 

Member Typedef Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::AssociateType = typename Superclass::AssociateType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::ConstPointer = SmartPointer< const Self >
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::CubicBSplineDerivativeFunctionType = typename TMattesMutualInformationMetric::CubicBSplineDerivativeFunctionType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::CubicBSplineFunctionType = typename TMattesMutualInformationMetric::CubicBSplineFunctionType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::DerivativeType = typename Superclass::DerivativeType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::DerivativeValueType = typename Superclass::DerivativeValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::DomainType = typename Superclass::DomainType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::FixedImageGradientType = typename Superclass::FixedImageGradientType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::FixedImageIndexType = typename Superclass::FixedImageIndexType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::FixedImagePixelType = typename Superclass::FixedImagePixelType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::FixedImagePointType = typename Superclass::FixedImagePointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::ImageToImageMetricv4Type = typename Superclass::ImageToImageMetricv4Type
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JacobianType = typename TMattesMutualInformationMetric::JacobianType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFDerivativesIndexType = typename TMattesMutualInformationMetric::JointPDFDerivativesIndexType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFDerivativesRegionType = typename TMattesMutualInformationMetric::JointPDFDerivativesRegionType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFDerivativesSizeType = typename TMattesMutualInformationMetric::JointPDFDerivativesSizeType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFDerivativesType = typename TMattesMutualInformationMetric::JointPDFDerivativesType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFDerivativesValueType = typename TMattesMutualInformationMetric::JointPDFDerivativesValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFIndexType = typename TMattesMutualInformationMetric::JointPDFIndexType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFRegionType = typename TMattesMutualInformationMetric::JointPDFRegionType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFSizeType = typename TMattesMutualInformationMetric::JointPDFSizeType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFType = typename TMattesMutualInformationMetric::JointPDFType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::JointPDFValueType = typename TMattesMutualInformationMetric::JointPDFValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::MeasureType = typename Superclass::MeasureType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::MovingImageGradientType = typename Superclass::MovingImageGradientType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::MovingImagePixelType = typename Superclass::MovingImagePixelType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::MovingImagePointType = typename Superclass::MovingImagePointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::MovingTransformType = typename ImageToImageMetricv4Type::MovingTransformType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::NumberOfParametersType = typename Superclass::NumberOfParametersType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::PDFValueType = typename TMattesMutualInformationMetric::PDFValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::Pointer = SmartPointer< Self >
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::Self = MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader

Standard class type aliases.

Definition at line 42 of file itkMattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader.h.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::Superclass = ImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric >
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::VirtualIndexType = typename Superclass::VirtualIndexType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
using itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::VirtualPointType = typename Superclass::VirtualPointType

Constructor & Destructor Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader ( )
inlineprotected

Member Function Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
void itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::AfterThreadedExecution ( )
overrideprotected
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
void itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::BeforeThreadedExecution ( )
overrideprotected
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
virtual void itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::ComputePDFDerivativesLocalSupportTransform ( const JacobianType jacobian,
const MovingImageGradientType movingGradient,
const PDFValueType cubicBSplineDerivativeValue,
DerivativeValueType localSupportDerivativeResultPtr 
) const
protectedvirtual

Compute PDF derivative contribution for each parameter of a displacement field.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
virtual::itk::LightObject::Pointer itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::CreateAnother ( ) const
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
virtual const char* itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::GetNameOfClass ( ) const
virtual
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
static Pointer itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::New ( )
static
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
bool itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::ProcessPoint ( const VirtualIndexType virtualIndex,
const VirtualPointType virtualPoint,
const FixedImagePointType mappedFixedPoint,
const FixedImagePixelType mappedFixedPixelValue,
const FixedImageGradientType mappedFixedImageGradient,
const MovingImagePointType mappedMovingPoint,
const MovingImagePixelType mappedMovingPixelValue,
const MovingImageGradientType mappedMovingImageGradient,
MeasureType metricValueReturn,
DerivativeType localDerivativeReturn,
const ThreadIdType  threadId 
) const
overrideprotected

This function computes the local voxel-wise contribution of the metric to the global integral of the metric/derivative.

Member Data Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TMattesMutualInformationMetric >
TMattesMutualInformationMetric* itk::MattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TMattesMutualInformationMetric >::m_MattesAssociate
private

Internal pointer to the Mattes metric object in use by this threader. This will avoid costly dynamic casting in tight loops.

Definition at line 123 of file itkMattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader.h.


The documentation for this class was generated from the following file: