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 >:
Inheritance graph
[legend]

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 (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
 
virtual void SetGPUEnabled (bool _arg)
 
virtual void SetNumberOfThreads (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

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.

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

Superclass typedefs.

Definition at line 78 of file itkGPUImageToImageFilter.h.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUImageToImageFilter ( )
protected
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.

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

Member Function Documentation

template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GenerateData ( )
protectedvirtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual const char* itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GetClassName ( ) const
virtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual bool itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GetGPUEnabled ( ) const
virtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUEnabledOff ( )
virtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUEnabledOn ( )
virtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUGenerateData ( void  )
inlineprotectedvirtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GraftOutput ( DataObject *  graft)
virtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GraftOutput ( const DataObjectIdentifierType key,
DataObject *  graft 
)
virtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

ImageDimension constants

template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::itkStaticConstMacro ( OutputImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension   
)
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.

template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::operator= ( const Self )
private
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
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::SetGPUEnabled ( bool  _arg)
virtual
template<typename TInputImage, typename TOutputImage, typename TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::SetNumberOfThreads ( ThreadIdType  _arg)
virtual

Field Documentation

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.

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 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo