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::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric > Class Template Reference

#include <itkDemonsImageToImageMetricv4GetValueAndDerivativeThreader.h>

+ Inheritance diagram for itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >:
+ Collaboration diagram for itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >:

Detailed Description

template<typename TDomainPartitioner, typename TImageToImageMetric, typename TDemonsMetric>
class itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >

Processes points for DemonsImageToImageMetricv4 GetValueAndDerivative.

Definition at line 33 of file itkDemonsImageToImageMetricv4GetValueAndDerivativeThreader.h.

Public Types

using AssociateType = typename Superclass::AssociateType
 
using ConstPointer = SmartPointer< const Self >
 
using DerivativeType = typename Superclass::DerivativeType
 
using DerivativeValueType = typename Superclass::DerivativeValueType
 
using DomainType = typename Superclass::DomainType
 
using FixedImageGradientType = typename Superclass::FixedImageGradientType
 
using FixedImagePixelType = typename Superclass::FixedImagePixelType
 
using FixedImagePointType = typename Superclass::FixedImagePointType
 
using ImageDimensionType = typename Superclass::ImageDimensionType
 
using ImageToImageMetricv4Type = typename Superclass::ImageToImageMetricv4Type
 
using InternalComputationValueType = typename Superclass::InternalComputationValueType
 
using MeasureType = typename Superclass::MeasureType
 
using MovingImageGradientType = typename Superclass::MovingImageGradientType
 
using MovingImagePixelType = typename Superclass::MovingImagePixelType
 
using MovingImagePointType = typename Superclass::MovingImagePointType
 
using NumberOfParametersType = typename Superclass::NumberOfParametersType
 
using Pointer = SmartPointer< Self >
 
using Self = DemonsImageToImageMetricv4GetValueAndDerivativeThreader
 
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 BeforeThreadedExecution () override
 
 DemonsImageToImageMetricv4GetValueAndDerivativeThreader ()
 
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

TDemonsMetric * m_DemonsAssociate
 

Member Typedef Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::AssociateType = typename Superclass::AssociateType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::ConstPointer = SmartPointer< const Self >
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::DerivativeType = typename Superclass::DerivativeType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::DerivativeValueType = typename Superclass::DerivativeValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::DomainType = typename Superclass::DomainType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::FixedImageGradientType = typename Superclass::FixedImageGradientType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::FixedImagePixelType = typename Superclass::FixedImagePixelType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::FixedImagePointType = typename Superclass::FixedImagePointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::ImageDimensionType = typename Superclass::ImageDimensionType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::ImageToImageMetricv4Type = typename Superclass::ImageToImageMetricv4Type
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::InternalComputationValueType = typename Superclass::InternalComputationValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::MeasureType = typename Superclass::MeasureType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::MovingImageGradientType = typename Superclass::MovingImageGradientType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::MovingImagePixelType = typename Superclass::MovingImagePixelType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::MovingImagePointType = typename Superclass::MovingImagePointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::NumberOfParametersType = typename Superclass::NumberOfParametersType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::Pointer = SmartPointer< Self >
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::Self = DemonsImageToImageMetricv4GetValueAndDerivativeThreader

Standard class type aliases.

Definition at line 40 of file itkDemonsImageToImageMetricv4GetValueAndDerivativeThreader.h.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::Superclass = ImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric >
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::VirtualIndexType = typename Superclass::VirtualIndexType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
using itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::VirtualPointType = typename Superclass::VirtualPointType

Constructor & Destructor Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::DemonsImageToImageMetricv4GetValueAndDerivativeThreader ( )
inlineprotected

Member Function Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
void itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::BeforeThreadedExecution ( )
overrideprotected

Overload. Get pointer to metric object.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
virtual::itk::LightObject::Pointer itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::CreateAnother ( ) const
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
virtual const char* itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::GetNameOfClass ( ) const
virtual
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
static Pointer itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::New ( )
static
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TDemonsMetric >
bool itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::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 TDemonsMetric >
TDemonsMetric* itk::DemonsImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric, TDemonsMetric >::m_DemonsAssociate
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 97 of file itkDemonsImageToImageMetricv4GetValueAndDerivativeThreader.h.


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