ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | List of all members
itk::GPUScalarAnisotropicDiffusionFunction< TImage > Class Template Reference

#include <itkGPUScalarAnisotropicDiffusionFunction.h>

+ Inheritance diagram for itk::GPUScalarAnisotropicDiffusionFunction< TImage >:
+ Collaboration diagram for itk::GPUScalarAnisotropicDiffusionFunction< TImage >:

Detailed Description

template<typename TImage>
class itk::GPUScalarAnisotropicDiffusionFunction< TImage >

This class forms the base for any GPU anisotropic diffusion function that operates on scalar data (see itkGPUAnisotropicDiffusionFunction).

Definition at line 38 of file itkGPUScalarAnisotropicDiffusionFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelRealType PixelRealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef
GPUScalarAnisotropicDiffusionFunction 
Self
 
typedef
GPUAnisotropicDiffusionFunction
< TImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::GPUAnisotropicDiffusionFunction< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelRealType PixelrealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef
GPUAnisotropicDiffusionFunction 
Self
 
typedef
GPUFiniteDifferenceFunction
< TImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::GPUFiniteDifferenceFunction< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DefaultBoundaryConditionType 
DefaultBoundaryConditionType
 
typedef Superclass DifferenceFunctionType
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelRealType PixelRealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef GPUFiniteDifferenceFunction Self
 
typedef
FiniteDifferenceFunction
< TImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::FiniteDifferenceFunction< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType
DefaultBoundaryConditionType
 
typedef Vector< float,
itkGetStaticConstMacro(ImageDimension) > 
FloatOffsetType
 
typedef TImage ImageType
 
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > 
NeighborhoodScalesType
 
typedef
ConstNeighborhoodIterator
< TImage,
DefaultBoundaryConditionType
NeighborhoodType
 
typedef double PixelRealType
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
ConstNeighborhoodIterator
< TImage >::RadiusType 
RadiusType
 
typedef FiniteDifferenceFunction Self
 
typedef LightObject Superclass
 
typedef double TimeStepType
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
virtual void GPUCalculateAverageGradientMagnitudeSquared (TImage *)
 
 itkGetOpenCLSourceFromKernelMacro (GPUScalarAnisotropicDiffusionFunctionKernel)
 
- Public Member Functions inherited from itk::GPUAnisotropicDiffusionFunction< TImage >
virtual TimeStepType ComputeGlobalTimeStep (void *) const
 
const double & GetAverageGradientMagnitudeSquared () const
 
const double & GetConductanceParameter () const
 
virtual void * GetGlobalDataPointer () const
 
const TimeStepTypeGetTimeStep () const
 
virtual void GPUCalculateAverageGradientMagnitudeSquared (ImageType *)=0
 
virtual void ReleaseGlobalDataPointer (void *) const
 
void SetAverageGradientMagnitudeSquared (const double &c)
 
void SetConductanceParameter (const double &c)
 
void SetTimeStep (const TimeStepType &t)
 
- Public Member Functions inherited from itk::GPUFiniteDifferenceFunction< TImage >
virtual void GPUAllocateMetricData (unsigned int)
 
virtual void GPUComputeUpdate (const typename TImage::Pointer output, typename TImage::Pointer update, void *gd)=0
 
virtual void GPUReleaseMetricData ()
 
virtual void InitializeIteration ()
 
virtual PixelType ComputeUpdate (const NeighborhoodType &, void *, const FloatOffsetType &)
 
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TImage >
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
const RadiusTypeGetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
- Public Member Functions inherited from itk::LightObject
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::GPUAnisotropicDiffusionFunction< TImage >
static const unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::GPUFiniteDifferenceFunction< TImage >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImage >
static const unsigned int ImageDimension
 

Protected Member Functions

 GPUScalarAnisotropicDiffusionFunction ()
 
 ~GPUScalarAnisotropicDiffusionFunction ()
 
- Protected Member Functions inherited from itk::GPUAnisotropicDiffusionFunction< TImage >
 GPUAnisotropicDiffusionFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~GPUAnisotropicDiffusionFunction ()
 
- Protected Member Functions inherited from itk::GPUFiniteDifferenceFunction< TImage >
 GPUFiniteDifferenceFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~GPUFiniteDifferenceFunction ()
 
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TImage >
 FiniteDifferenceFunction ()
 
 ~FiniteDifferenceFunction ()
 
- 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 ()
 

Private Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::GPUAnisotropicDiffusionFunction< TImage >
GPUDataManager::Pointer m_AnisotropicDiffusionFunctionGPUBuffer
 
GPUKernelManager::Pointer m_AnisotropicDiffusionFunctionGPUKernelManager
 
int m_AverageGradientMagnitudeSquaredGPUKernelHandle
 
- Protected Attributes inherited from itk::GPUFiniteDifferenceFunction< TImage >
int m_ComputeUpdateGPUKernelHandle
 
GPUKernelManager::Pointer m_GPUKernelManager
 
- Protected Attributes inherited from itk::FiniteDifferenceFunction< TImage >
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<typename TImage >
typedef SmartPointer< const Self > itk::GPUScalarAnisotropicDiffusionFunction< TImage >::ConstPointer

Definition at line 46 of file itkGPUScalarAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef Superclass::ImageType itk::GPUScalarAnisotropicDiffusionFunction< TImage >::ImageType

Inherit some parameters from the superclass type.

Definition at line 55 of file itkGPUScalarAnisotropicDiffusionFunction.h.

Definition at line 59 of file itkGPUScalarAnisotropicDiffusionFunction.h.

Definition at line 57 of file itkGPUScalarAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef Superclass::PixelType itk::GPUScalarAnisotropicDiffusionFunction< TImage >::PixelType

Definition at line 56 of file itkGPUScalarAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef SmartPointer< Self > itk::GPUScalarAnisotropicDiffusionFunction< TImage >::Pointer

Definition at line 45 of file itkGPUScalarAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef Superclass::RadiusType itk::GPUScalarAnisotropicDiffusionFunction< TImage >::RadiusType

Definition at line 58 of file itkGPUScalarAnisotropicDiffusionFunction.h.

Standard class typedefs.

Definition at line 43 of file itkGPUScalarAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef GPUAnisotropicDiffusionFunction< TImage > itk::GPUScalarAnisotropicDiffusionFunction< TImage >::Superclass

Definition at line 44 of file itkGPUScalarAnisotropicDiffusionFunction.h.

Definition at line 60 of file itkGPUScalarAnisotropicDiffusionFunction.h.

Constructor & Destructor Documentation

template<typename TImage >
itk::GPUScalarAnisotropicDiffusionFunction< TImage >::GPUScalarAnisotropicDiffusionFunction ( )
protected
template<typename TImage >
itk::GPUScalarAnisotropicDiffusionFunction< TImage >::~GPUScalarAnisotropicDiffusionFunction ( )
inlineprotected

Definition at line 70 of file itkGPUScalarAnisotropicDiffusionFunction.h.

template<typename TImage >
itk::GPUScalarAnisotropicDiffusionFunction< TImage >::GPUScalarAnisotropicDiffusionFunction ( const Self )
private

Member Function Documentation

template<typename TImage >
virtual const char* itk::GPUScalarAnisotropicDiffusionFunction< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::GPUAnisotropicDiffusionFunction< TImage >.

Reimplemented in itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >.

template<typename TImage >
virtual void itk::GPUScalarAnisotropicDiffusionFunction< TImage >::GPUCalculateAverageGradientMagnitudeSquared ( TImage *  )
virtual

Compute average squared gradient of magnitude using the GPU

template<typename TImage >
itk::GPUScalarAnisotropicDiffusionFunction< TImage >::itkGetOpenCLSourceFromKernelMacro ( GPUScalarAnisotropicDiffusionFunctionKernel  )

Get OpenCL Kernel source as a string, creates a GetOpenCLSource method

template<typename TImage >
void itk::GPUScalarAnisotropicDiffusionFunction< TImage >::operator= ( const Self )
private

Member Data Documentation

template<typename TImage >
const unsigned int itk::GPUScalarAnisotropicDiffusionFunction< TImage >::ImageDimension = Superclass::ImageDimension
static

Inherit some parameters from the superclass type.

Definition at line 52 of file itkGPUScalarAnisotropicDiffusionFunction.h.


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