go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > Class Template Reference

#include <itkGPUImageToImageFilter.h>

Detailed Description

template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
class itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >

class to abstract the behaviour of the GPU filters.

GPUImageToImageFilter is the GPU version of ImageToImageFilter. This class can accept both CPU and GPU image as input and output, and apply filter accordingly. If GPU is available for use, then GPUGenerateData() is called. Otherwise, GenerateData() in the parent class (i.e., ImageToImageFilter) will be called.

Note
This file was taken from ITK 4.1.0. It was modified by Denis P. Shamonin and Marius Staring. Division of Image Processing, Department of Radiology, Leiden, The Netherlands. Added functionality is described in the Insight Journal paper: http://hdl.handle.net/10380/3393

Definition at line 64 of file itkGPUImageToImageFilter.h.

+ Inheritance diagram for itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DataObjectIdentifierType DataObjectIdentifierType
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef Superclass::OutputImagePixelType OutputImagePixelType
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef GPUImageToImageFilter Self
 
typedef TParentImageFilter Superclass
 

Public Member Functions

virtual const char * GetClassName () const
 
virtual bool GetGPUEnabled () const
 
virtual void GPUEnabledOff ()
 
virtual void GPUEnabledOn ()
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
 
virtual void SetGPUEnabled (bool _arg)
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

virtual void GenerateData ()
 
virtual void GPUGenerateData ()
 
 GPUImageToImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
 ~GPUImageToImageFilter ()
 

Protected Attributes

OpenCLKernelManager::Pointer m_GPUKernelManager
 

Private Member Functions

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

Private Attributes

bool m_GPUEnabled
 

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef SmartPointer< const Self > itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::ConstPointer

Definition at line 72 of file itkGPUImageToImageFilter.h.

◆ DataObjectIdentifierType

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef Superclass::DataObjectIdentifierType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::DataObjectIdentifierType

Superclass typedefs.

Definition at line 81 of file itkGPUImageToImageFilter.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::ConstPointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageConstPointer

Definition at line 88 of file itkGPUImageToImageFilter.h.

◆ InputImagePixelType

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::PixelType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePixelType

Definition at line 90 of file itkGPUImageToImageFilter.h.

◆ InputImagePointer

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePointer

Definition at line 87 of file itkGPUImageToImageFilter.h.

◆ InputImageRegionType

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::RegionType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageRegionType

Definition at line 89 of file itkGPUImageToImageFilter.h.

◆ InputImageType

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef TInputImage itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageType

Some convenient typedefs.

Definition at line 86 of file itkGPUImageToImageFilter.h.

◆ OutputImagePixelType

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef Superclass::OutputImagePixelType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImagePixelType

Definition at line 83 of file itkGPUImageToImageFilter.h.

◆ OutputImageRegionType

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef Superclass::OutputImageRegionType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageRegionType

Definition at line 82 of file itkGPUImageToImageFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef TOutputImage itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageType

Definition at line 91 of file itkGPUImageToImageFilter.h.

◆ Pointer

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef SmartPointer< Self > itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Pointer

Definition at line 71 of file itkGPUImageToImageFilter.h.

◆ Self

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef GPUImageToImageFilter itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Self

Standard class typedefs.

Definition at line 69 of file itkGPUImageToImageFilter.h.

◆ Superclass

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
typedef TParentImageFilter itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Superclass

Definition at line 70 of file itkGPUImageToImageFilter.h.

Constructor & Destructor Documentation

◆ GPUImageToImageFilter() [1/2]

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUImageToImageFilter ( )
protected

◆ ~GPUImageToImageFilter()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::~GPUImageToImageFilter ( )
inlineprotected

Definition at line 111 of file itkGPUImageToImageFilter.h.

◆ GPUImageToImageFilter() [2/2]

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUImageToImageFilter ( const Self )
private

Member Function Documentation

◆ GenerateData()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GenerateData ( )
protectedvirtual

◆ GetClassName()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual const char * itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GetClassName ( ) const
virtual

◆ GetGPUEnabled()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual bool itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GetGPUEnabled ( ) const
virtual

◆ GPUEnabledOff()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUEnabledOff ( )
virtual

◆ GPUEnabledOn()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUEnabledOn ( )
virtual

◆ GPUGenerateData()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUGenerateData ( void  )
inlineprotectedvirtual

◆ GraftOutput() [1/2]

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GraftOutput ( const DataObjectIdentifierType key,
DataObject *  graft 
)
virtual

◆ GraftOutput() [2/2]

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GraftOutput ( DataObject *  graft)
virtual

◆ itkStaticConstMacro() [1/2]

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::itkStaticConstMacro ( InputImageDimension  ,
unsigned int  ,
TInputImage::ImageDimension   
)

ImageDimension constants

◆ itkStaticConstMacro() [2/2]

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::itkStaticConstMacro ( OutputImageDimension  ,
unsigned int  ,
TOutputImage::ImageDimension   
)

◆ New()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
static Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::operator= ( const Self )
private

◆ PrintSelf()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

◆ SetGPUEnabled()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::SetGPUEnabled ( bool  _arg)
virtual

◆ SetNumberOfWorkUnits()

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::SetNumberOfWorkUnits ( ThreadIdType  _arg)
virtual

Field Documentation

◆ m_GPUEnabled

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
bool itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::m_GPUEnabled
private

Definition at line 127 of file itkGPUImageToImageFilter.h.

◆ m_GPUKernelManager

template<typename TInputImage , typename TOutputImage , typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
OpenCLKernelManager::Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::m_GPUKernelManager
protected

Definition at line 120 of file itkGPUImageToImageFilter.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo