ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h>
Public Types | |
typedef Superclass::AssociateType | AssociateType |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageToImageMetricv4Type::DerivativeType | DerivativeType |
typedef ImageToImageMetricv4Type::DerivativeValueType | DerivativeValueType |
typedef Superclass::DomainType | DomainType |
typedef ImageToImageMetricv4Type::FixedImageGradientType | FixedImageGradientType |
typedef ImageToImageMetricv4Type::FixedImageIndexType | FixedImageIndexType |
typedef ImageToImageMetricv4Type::FixedImagePixelType | FixedImagePixelType |
typedef ImageToImageMetricv4Type::FixedImagePointType | FixedImagePointType |
typedef FixedTransformType::OutputPointType | FixedOutputPointType |
typedef ImageToImageMetricv4Type::FixedTransformType | FixedTransformType |
typedef TImageToImageMetricv4 | ImageToImageMetricv4Type |
typedef ImageToImageMetricv4Type::InternalComputationValueType | InternalComputationValueType |
typedef ImageToImageMetricv4Type::JacobianType | JacobianType |
typedef ImageToImageMetricv4Type::MeasureType | MeasureType |
typedef ImageToImageMetricv4Type::MovingImageGradientType | MovingImageGradientType |
typedef ImageToImageMetricv4Type::MovingImagePixelType | MovingImagePixelType |
typedef ImageToImageMetricv4Type::MovingImagePointType | MovingImagePointType |
typedef MovingTransformType::OutputPointType | MovingOutputPointType |
typedef ImageToImageMetricv4Type::MovingTransformType | MovingTransformType |
typedef ImageToImageMetricv4Type::NumberOfParametersType | NumberOfParametersType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageMetricv4GetValueAndDerivativeThreaderBase | Self |
typedef DomainThreader < TDomainPartitioner, TImageToImageMetricv4 > | Superclass |
typedef ImageToImageMetricv4Type::VirtualImageType | VirtualImageType |
typedef ImageToImageMetricv4Type::VirtualIndexType | VirtualIndexType |
typedef ImageToImageMetricv4Type::VirtualPointType | VirtualPointType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
Protected Member Functions | |
virtual void | AfterThreadedExecution () |
virtual void | BeforeThreadedExecution () |
ImageToImageMetricv4GetValueAndDerivativeThreaderBase () | |
virtual 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 =0 |
virtual bool | ProcessVirtualPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const ThreadIdType threadId) |
virtual void | StorePointDerivativeResult (const VirtualIndexType &virtualIndex, const ThreadIdType threadID) |
Protected Attributes | |
std::vector< DerivativeType > | m_DerivativesPerThread |
std::vector< DerivativeType > | m_LocalDerivativesPerThread |
std::vector < InternalComputationValueType > | m_MeasurePerThread |
std::vector< JacobianType > | m_MovingTransformJacobianPerThread |
std::vector< SizeValueType > | m_NumberOfValidPointsPerThread |
Private Member Functions | |
ImageToImageMetricv4GetValueAndDerivativeThreaderBase (const Self &) | |
void | operator= (const Self &) |
Provides threading for ImageToImageMetricv4::GetValueAndDerivative.
TDomainPartitioner | type of the Domain, ThreadedImageRegionPartitioner or ThreadedIndexedContainerPartitioner |
TImageToImageMetricv4 | type of the ImageToImageMetricv4 |
This class provides a BeforeThreadedExecution
, and AfterThreadedExecution
.
The ThreadedExecution
in ImageToImageMetricv4GetValueAndDerivativeThreader calls ProcessVirtualPoint
on every point in the virtual image domain. ProcessVirtualPoint
calls ProcessPoint
on each point.
Definition at line 43 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef Superclass::AssociateType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::AssociateType |
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 57 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef SmartPointer< const Self > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::ConstPointer |
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 51 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::DerivativeType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::DerivativeType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 78 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::DerivativeValueType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::DerivativeValueType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 79 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef Superclass::DomainType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::DomainType |
Superclass types.
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 53 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::FixedImageGradientType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::FixedImageGradientType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 67 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::FixedImageIndexType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::FixedImageIndexType |
Definition at line 66 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::FixedImagePixelType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::FixedImagePixelType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 65 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::FixedImagePointType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::FixedImagePointType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 64 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef FixedTransformType::OutputPointType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::FixedOutputPointType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 73 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::FixedTransformType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::FixedTransformType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 72 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef TImageToImageMetricv4 itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::ImageToImageMetricv4Type |
Types of the target class.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 60 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::InternalComputationValueType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::InternalComputationValueType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 82 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::JacobianType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::JacobianType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 80 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::MeasureType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::MeasureType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 77 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::MovingImageGradientType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::MovingImageGradientType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 70 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::MovingImagePixelType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::MovingImagePixelType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 69 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::MovingImagePointType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::MovingImagePointType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 68 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef MovingTransformType::OutputPointType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::MovingOutputPointType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 75 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::MovingTransformType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::MovingTransformType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 74 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::NumberOfParametersType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::NumberOfParametersType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 83 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef SmartPointer< Self > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::Pointer |
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 50 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4GetValueAndDerivativeThreaderBase itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::Self |
Standard class typedefs.
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 48 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef DomainThreader< TDomainPartitioner, TImageToImageMetricv4 > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::Superclass |
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 49 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::VirtualImageType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::VirtualImageType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 61 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::VirtualIndexType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::VirtualIndexType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 62 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
typedef ImageToImageMetricv4Type::VirtualPointType itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::VirtualPointType |
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
Definition at line 63 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::ImageToImageMetricv4GetValueAndDerivativeThreaderBase | ( | ) | [protected] |
Constructor.
itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::ImageToImageMetricv4GetValueAndDerivativeThreaderBase | ( | const Self & | ) | [private] |
virtual void itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::AfterThreadedExecution | ( | ) | [protected, virtual] |
Collects the results from each thread and sums them. Results are stored in the enclosing class m_Value
and m_DerivativeResult
. Behavior depends on m_AverageValueAndDerivativeByNumberOfValuePoints, m_NumberOfValidPoints, to average the value sum, and to average derivative sums for global transforms only (i.e. transforms without local support).
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
virtual void itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::BeforeThreadedExecution | ( | ) | [protected, virtual] |
Resize and initialize per thread objects.
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
virtual const char* itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
void itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >.
Reimplemented in itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >, and itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedImageRegionPartitioner< TImageToImageMetricv4::VirtualImageDimension >, TImageToImageMetricv4 >.
virtual bool itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::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 [protected, pure virtual] |
Method to calculate the metric value and derivative given a point, value and image derivative for both fixed and moving spaces. The provided values have been calculated from virtualPoint
, which is provided in case it's needed.
virtualIndex | |
virtualPoint | is the point within the virtual domain from which the passed parameters have been calculated. |
mappedFixedPoint | is a valid point within the moving image space that has passed bounds checking, and lies within any mask that may be assigned. |
mappedFixedPixelValue | holds the pixel value at the mapped fixed point. |
mappedFixedImageGradient | holds the image gradient at the fixed point, but only when m_GradientSource is set to calculate fixed image gradients (either when it's set to calculate only fixed gradients, or both fixed and moving). Otherwise, the value is meaningless and should be ignored. |
mappedMovingPoint | |
mappedMovingPixelValue | |
mappedMovingImageGradient | These three parameters hold the point, pixel value and image gradient for the moving image space, as described above for the fixed image space. Results must be returned by derived classes in: |
metricValueReturn | |
localDerivativeReturn | |
threadID | may be used as needed, for example to access any per-thread data cached during pre-processing by the derived class. |
virtual bool itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::ProcessVirtualPoint | ( | const VirtualIndexType & | virtualIndex, |
const VirtualPointType & | virtualPoint, | ||
const ThreadIdType | threadId | ||
) | [protected, virtual] |
Method called by the threaders to process the given virtual point. This in turn calls TransformAndEvaluateFixedPoint
, TransformAndEvaluateMovingPoint
, and ProcessPoint
. And adds entries to m_MeasurePerThread and m_LocalDerivativesPerThread, m_NumberOfValidPointsPerThread.
virtual void itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::StorePointDerivativeResult | ( | const VirtualIndexType & | virtualIndex, |
const ThreadIdType | threadID | ||
) | [protected, virtual] |
Store derivative result from a single point calculation.
std::vector< DerivativeType > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::m_DerivativesPerThread [mutable, protected] |
Definition at line 159 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
std::vector< DerivativeType > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::m_LocalDerivativesPerThread [mutable, protected] |
Definition at line 160 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
std::vector< InternalComputationValueType > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::m_MeasurePerThread [mutable, protected] |
Intermediary threaded metric value storage.
Definition at line 158 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
std::vector< JacobianType > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::m_MovingTransformJacobianPerThread [mutable, protected] |
Pre-allocated transform jacobian objects, for use as needed by dervied classes for efficiency.
Definition at line 165 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.
std::vector< SizeValueType > itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< TDomainPartitioner, TImageToImageMetricv4 >::m_NumberOfValidPointsPerThread [mutable, protected] |
Definition at line 161 of file itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h.