ITK  5.0.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric > Class Template Reference

#include <itkJointHistogramMutualInformationComputeJointPDFThreaderBase.h>

+ Inheritance diagram for itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >:
+ Collaboration diagram for itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >:

Detailed Description

template<typename TDomainPartitioner, typename TJointHistogramMetric>
class itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >

Compute the JointPDF image.

This is a helper to compute the joint pdf image for the JointHistogramMutualInformationImageToImageMetricv4.

Definition at line 36 of file itkJointHistogramMutualInformationComputeJointPDFThreaderBase.h.

Classes

struct  JointHistogramMIPerThreadStruct
 

Public Types

using AssociateType = typename Superclass::AssociateType
 
using ConstPointer = SmartPointer< const Self >
 
using DomainType = typename Superclass::DomainType
 
using InternalComputationValueType = typename JointHistogramMetricType::InternalComputationValueType
 
using JointHistogramMetricType = TJointHistogramMetric
 
using JointPDFIndexType = typename JointHistogramMetricType::JointPDFIndexType
 
using JointPDFPointType = typename JointHistogramMetricType::JointPDFPointType
 
using JointPDFType = typename JointHistogramMetricType::JointPDFType
 
using JointPDFValueType = typename JointHistogramMetricType::JointPDFValueType
 
using Pointer = SmartPointer< Self >
 
using Self = JointHistogramMutualInformationComputeJointPDFThreaderBase
 
using Superclass = DomainThreader< TDomainPartitioner, TJointHistogramMetric >
 
using VirtualImageType = typename JointHistogramMetricType::VirtualImageType
 
using VirtualIndexType = typename JointHistogramMetricType::VirtualIndexType
 
using VirtualPointType = typename JointHistogramMetricType::VirtualPointType
 
- Public Types inherited from itk::DomainThreader< TDomainPartitioner, TJointHistogramMetric >
using AssociateType = TJointHistogramMetric
 
using ConstPointer = SmartPointer< const Self >
 
using DomainPartitionerType = TDomainPartitioner
 
using DomainType = typename DomainPartitionerType::DomainType
 
using Pointer = SmartPointer< Self >
 
using Self = DomainThreader
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::DomainThreader< TDomainPartitioner, TJointHistogramMetric >
void Execute (AssociateType *enclosingClass, const DomainType &domain)
 
MultiThreaderBaseGetMultiThreader () const
 
virtual ThreadIdType GetNumberOfWorkUnitsUsed () const
 
virtual void SetDomainPartitioner (DomainPartitionerType *_arg)
 
virtual DomainPartitionerTypeGetModifiableDomainPartitioner ()
 
virtual const
DomainPartitionerType
GetDomainPartitioner () const
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
ThreadIdType GetMaximumNumberOfThreads () const
 
void SetMaximumNumberOfThreads (const ThreadIdType threads)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Protected Types

using JointHistogramType = Image< SizeValueType, 2 >
 

Protected Member Functions

void AfterThreadedExecution () override
 
void BeforeThreadedExecution () override
 
 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedJointHistogramMIPerThreadStruct, AlignedJointHistogramMIPerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, JointHistogramMIPerThreadStruct, PaddedJointHistogramMIPerThreadStruct)
 
 JointHistogramMutualInformationComputeJointPDFThreaderBase ()
 
virtual void ProcessPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const ThreadIdType threadId)
 
 ~JointHistogramMutualInformationComputeJointPDFThreaderBase () override
 
- Protected Member Functions inherited from itk::DomainThreader< TDomainPartitioner, TJointHistogramMetric >
virtual void DetermineNumberOfWorkUnitsUsed ()
 
 DomainThreader ()
 
virtual void SetMultiThreader (MultiThreaderBase *_arg)
 
virtual void ThreadedExecution (const DomainType &subdomain, const ThreadIdType threadId)=0
 
 ~DomainThreader () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

AlignedJointHistogramMIPerThreadStruct * m_JointHistogramMIPerThreadVariables
 
- Protected Attributes inherited from itk::DomainThreader< TDomainPartitioner, TJointHistogramMetric >
AssociateTypem_Associate
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Static Protected Member Functions inherited from itk::DomainThreader< TDomainPartitioner, TJointHistogramMetric >
static
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION 
ThreaderCallback (void *arg)
 

Member Typedef Documentation

template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::AssociateType = typename Superclass::AssociateType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::ConstPointer = SmartPointer< const Self >
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::DomainType = typename Superclass::DomainType

Superclass types.

Definition at line 51 of file itkJointHistogramMutualInformationComputeJointPDFThreaderBase.h.

template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::InternalComputationValueType = typename JointHistogramMetricType::InternalComputationValueType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::JointHistogramMetricType = TJointHistogramMetric

Types of the associate class.

Definition at line 55 of file itkJointHistogramMutualInformationComputeJointPDFThreaderBase.h.

template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::JointHistogramType = Image< SizeValueType, 2 >
protected
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::JointPDFIndexType = typename JointHistogramMetricType::JointPDFIndexType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::JointPDFPointType = typename JointHistogramMetricType::JointPDFPointType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::JointPDFType = typename JointHistogramMetricType::JointPDFType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::JointPDFValueType = typename JointHistogramMetricType::JointPDFValueType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::Pointer = SmartPointer< Self >
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::Self = JointHistogramMutualInformationComputeJointPDFThreaderBase

Standard class type aliases.

Definition at line 43 of file itkJointHistogramMutualInformationComputeJointPDFThreaderBase.h.

template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::Superclass = DomainThreader< TDomainPartitioner, TJointHistogramMetric >
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::VirtualImageType = typename JointHistogramMetricType::VirtualImageType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::VirtualIndexType = typename JointHistogramMetricType::VirtualIndexType
template<typename TDomainPartitioner, typename TJointHistogramMetric>
using itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::VirtualPointType = typename JointHistogramMetricType::VirtualPointType

Constructor & Destructor Documentation

template<typename TDomainPartitioner, typename TJointHistogramMetric>
itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::JointHistogramMutualInformationComputeJointPDFThreaderBase ( )
protected
template<typename TDomainPartitioner, typename TJointHistogramMetric>
itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::~JointHistogramMutualInformationComputeJointPDFThreaderBase ( )
overrideprotected

Member Function Documentation

template<typename TDomainPartitioner, typename TJointHistogramMetric>
void itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::AfterThreadedExecution ( )
overrideprotectedvirtual

Collect the results per and normalize.

Reimplemented from itk::DomainThreader< TDomainPartitioner, TJointHistogramMetric >.

template<typename TDomainPartitioner, typename TJointHistogramMetric>
void itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::BeforeThreadedExecution ( )
overrideprotectedvirtual

Create the m_JointPDFPerThread's.

Reimplemented from itk::DomainThreader< TDomainPartitioner, TJointHistogramMetric >.

template<typename TDomainPartitioner, typename TJointHistogramMetric>
virtual const char* itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::GetNameOfClass ( ) const
virtual
template<typename TDomainPartitioner, typename TJointHistogramMetric>
itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::itkAlignedTypedef ( ITK_CACHE_LINE_ALIGNMENT  ,
PaddedJointHistogramMIPerThreadStruct  ,
AlignedJointHistogramMIPerThreadStruct   
)
protected
template<typename TDomainPartitioner, typename TJointHistogramMetric>
itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::itkPadStruct ( ITK_CACHE_LINE_ALIGNMENT  ,
JointHistogramMIPerThreadStruct  ,
PaddedJointHistogramMIPerThreadStruct   
)
protected
template<typename TDomainPartitioner, typename TJointHistogramMetric>
virtual void itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::ProcessPoint ( const VirtualIndexType virtualIndex,
const VirtualPointType virtualPoint,
const ThreadIdType  threadId 
)
protectedvirtual

Called by the ThreadedExecution of derived classes.

Member Data Documentation

template<typename TDomainPartitioner, typename TJointHistogramMetric>
AlignedJointHistogramMIPerThreadStruct* itk::JointHistogramMutualInformationComputeJointPDFThreaderBase< TDomainPartitioner, TJointHistogramMetric >::m_JointHistogramMIPerThreadVariables
protected

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