ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > Class Template Reference

#include <itkGPUImageToImageFilter.h>

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

Detailed Description

template<class TInputImage, class TOutputImage, class 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.

Definition at line 41 of file itkGPUImageToImageFilter.h.

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 SmartPointer< SelfPointer
 
typedef GPUImageToImageFilter Self
 
typedef TParentImageFilter Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void GenerateData ()
 
virtual bool GetGPUEnabled () const
 
virtual const char * GetNameOfClass () const
 
virtual void GPUEnabledOff ()
 
virtual void GPUEnabledOn ()
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetGPUEnabled (bool _arg)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

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

Protected Attributes

GPUKernelManager::Pointer m_GPUKernelManager
 

Private Member Functions

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

Private Attributes

bool m_GPUEnabled
 

Member Typedef Documentation

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

Definition at line 48 of file itkGPUImageToImageFilter.h.

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

Superclass typedefs.

Definition at line 53 of file itkGPUImageToImageFilter.h.

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

Definition at line 63 of file itkGPUImageToImageFilter.h.

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

Definition at line 65 of file itkGPUImageToImageFilter.h.

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

Definition at line 62 of file itkGPUImageToImageFilter.h.

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

Definition at line 64 of file itkGPUImageToImageFilter.h.

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

Some convenient typedefs.

Definition at line 61 of file itkGPUImageToImageFilter.h.

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

Definition at line 58 of file itkGPUImageToImageFilter.h.

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

Definition at line 57 of file itkGPUImageToImageFilter.h.

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

Definition at line 47 of file itkGPUImageToImageFilter.h.

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

Standard class typedefs.

Definition at line 45 of file itkGPUImageToImageFilter.h.

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

Definition at line 46 of file itkGPUImageToImageFilter.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual::itk::LightObject::Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::CreateAnother ( void  ) const
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GenerateData ( )
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual bool itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GetGPUEnabled ( ) const
virtual
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual const char* itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >, itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >, itk::GPUDenseFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >, itk::GPUGradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >, itk::GPUMeanImageFilter< TInputImage, TOutputImage >, itk::GPUBoxImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >, itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >, itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUAnisotropicDiffusionImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUInPlaceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >.

template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUEnabledOff ( )
virtual
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUEnabledOn ( )
virtual
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GPUGenerateData ( )
inlineprotectedvirtual
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GraftOutput ( DataObject output)
virtual
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::GraftOutput ( const DataObjectIdentifierType key,
DataObject output 
)
virtual
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
static Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::New ( )
static
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::operator= ( const Self )
private
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::SetGPUEnabled ( bool  _arg)
virtual

Member Data Documentation

template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
const unsigned int itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageDimension = TInputImage::ImageDimension
static

ImageDimension constants

Definition at line 68 of file itkGPUImageToImageFilter.h.

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

Definition at line 103 of file itkGPUImageToImageFilter.h.

template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
GPUKernelManager::Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::m_GPUKernelManager
protected

Definition at line 93 of file itkGPUImageToImageFilter.h.

template<class TInputImage, class TOutputImage, class TParentImageFilter = ImageToImageFilter< TInputImage, TOutputImage >>
const unsigned int itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageDimension = TOutputImage::ImageDimension
static

ImageDimension constants

Definition at line 69 of file itkGPUImageToImageFilter.h.


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