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::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter > Class Template Reference

#include <itkGPUUnaryFunctorImageFilter.h>

Detailed Description

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
class itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >

Implements pixel-wise generic operation on one image using the GPU.

GPU version of unary functor image filter. GPU Functor handles parameter setup for the GPU kernel.

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 61 of file itkGPUUnaryFunctorImageFilter.h.

Inheritance diagram for itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >:
Inheritance graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef TParentImageFilter CPUSuperclass
 
typedef TFunction FunctorType
 
typedef GPUInPlaceImageFilter< TInputImage, TOutputImage > GPUSuperclass
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::ConstPointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef GPUUnaryFunctorImageFilter Self
 
- Public Types inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >
typedef SmartPointer< const SelfConstPointer
 
typedef TParentImageFilter CPUSuperclass
 
typedef GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilterGPUSuperclass
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef GPUSuperclass::OutputImagePixelType OutputImagePixelType
 
typedef GPUSuperclass::OutputImagePointer OutputImagePointer
 
typedef GPUSuperclass::OutputImageRegionType OutputImageRegionType
 
typedef GPUSuperclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef GPUInPlaceImageFilter Self
 
- Public Types inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
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
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
 
void SetFunctor (const FunctorType &functor)
 
- Public Member Functions inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
 
- Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
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 ()
 
- Static Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
static Pointer New ()
 

Protected Member Functions

virtual void GenerateOutputInformation ()
 
virtual void GPUGenerateData ()
 
 GPUUnaryFunctorImageFilter ()
 
virtual ~GPUUnaryFunctorImageFilter ()
 
- Protected Member Functions inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >
virtual void AllocateOutputs ()
 
 GPUInPlaceImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void ReleaseInputs ()
 
 ~GPUInPlaceImageFilter ()
 
- Protected Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
virtual void GenerateData ()
 
 GPUImageToImageFilter ()
 
 ~GPUImageToImageFilter ()
 

Protected Attributes

int m_UnaryFunctorImageFilterGPUKernelHandle
 
- Protected Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
OpenCLKernelManager::Pointer m_GPUKernelManager
 

Private Member Functions

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

Private Attributes

FunctorType m_Functor
 

Member Typedef Documentation

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef SmartPointer< const Self > itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::ConstPointer

Definition at line 71 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef TParentImageFilter itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::CPUSuperclass

Definition at line 68 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef TFunction itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::FunctorType

Some typedefs.

Definition at line 77 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUInPlaceImageFilter< TInputImage, TOutputImage > itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GPUSuperclass

Definition at line 69 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::PixelType itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::InputImagePixelType

Definition at line 85 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::ConstPointer itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::InputImagePointer

Definition at line 83 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef InputImageType::RegionType itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::InputImageRegionType

Definition at line 84 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef TInputImage itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::InputImageType

Definition at line 82 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef OutputImageType::PixelType itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::OutputImagePixelType

Definition at line 90 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef OutputImageType::Pointer itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::OutputImagePointer

Definition at line 88 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef OutputImageType::RegionType itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::OutputImageRegionType

Definition at line 89 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef TOutputImage itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::OutputImageType

Definition at line 87 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef SmartPointer< Self > itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::Pointer

Definition at line 70 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
typedef GPUUnaryFunctorImageFilter itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::Self

Standard class typedefs.

Definition at line 67 of file itkGPUUnaryFunctorImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GPUUnaryFunctorImageFilter ( )
inlineprotected

Definition at line 123 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::~GPUUnaryFunctorImageFilter ( )
inlineprotectedvirtual

Definition at line 125 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GPUUnaryFunctorImageFilter ( const Self )
private

Member Function Documentation

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GenerateOutputInformation ( )
protectedvirtual
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual const char* itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >.

Reimplemented in itk::GPUCastImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
FunctorType& itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GetFunctor ( )
inline

Definition at line 98 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
const FunctorType& itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GetFunctor ( ) const
inline

Definition at line 104 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GPUGenerateData ( )
protectedvirtual
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

ImageDimension constants

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::itkStaticConstMacro ( OutputImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension   
)
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
static Pointer itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
void itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::operator= ( const Self )
private
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
void itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::SetFunctor ( const FunctorType functor)
inline

Set the functor object.

Definition at line 111 of file itkGPUUnaryFunctorImageFilter.h.

Field Documentation

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
FunctorType itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::m_Functor
private

Definition at line 140 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
int itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::m_UnaryFunctorImageFilterGPUKernelHandle
protected

GPU kernel handle is defined here instead of in the child class because GPUGenerateData() in this base class is used.

Definition at line 133 of file itkGPUUnaryFunctorImageFilter.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo