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 >:

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, InPlaceImageFilter< TInputImage, TOutputImage > >
typedef SmartPointer< const SelfConstPointer
 
typedef InPlaceImageFilter< TInputImage, TOutputImage > CPUSuperclass
 
typedef GPUImageToImageFilter< TInputImage, TOutputImage, InPlaceImageFilter< TInputImage, TOutputImage > > GPUSuperclass
 
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, InPlaceImageFilter< TInputImage, TOutputImage > >
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 InPlaceImageFilter< TInputImage, TOutputImage > 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, InPlaceImageFilter< TInputImage, TOutputImage > >
virtual const char * GetClassName () const
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
 
- Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, InPlaceImageFilter< TInputImage, TOutputImage > >
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 ()
 
- Static Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, InPlaceImageFilter< TInputImage, TOutputImage > >
static Pointer New ()
 

Protected Member Functions

virtual void GenerateOutputInformation ()
 
virtual void GPUGenerateData ()
 
 GPUUnaryFunctorImageFilter ()
 
virtual ~GPUUnaryFunctorImageFilter ()
 
- Protected Member Functions inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, InPlaceImageFilter< TInputImage, TOutputImage > >
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, InPlaceImageFilter< TInputImage, TOutputImage > >
virtual void GenerateData ()
 
virtual void GPUGenerateData ()
 
 GPUImageToImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
 ~GPUImageToImageFilter ()
 

Protected Attributes

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

Private Member Functions

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

Private Attributes

FunctorType m_Functor
 

Member Typedef Documentation

◆ ConstPointer

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.

◆ CPUSuperclass

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.

◆ FunctorType

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

◆ GPUSuperclass

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.

◆ InputImagePixelType

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.

◆ InputImagePointer

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.

◆ InputImageRegionType

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.

◆ InputImageType

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.

◆ OutputImagePixelType

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.

◆ OutputImagePointer

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.

◆ OutputImageRegionType

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.

◆ OutputImageType

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.

◆ Pointer

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.

◆ Self

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

◆ GPUUnaryFunctorImageFilter() [1/2]

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.

◆ ~GPUUnaryFunctorImageFilter()

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.

◆ GPUUnaryFunctorImageFilter() [2/2]

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

◆ GenerateOutputInformation()

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

◆ GetClassName()

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

◆ GetFunctor() [1/2]

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.

◆ GetFunctor() [2/2]

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.

◆ GPUGenerateData()

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

◆ itkStaticConstMacro() [1/2]

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

◆ itkStaticConstMacro() [2/2]

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

◆ New()

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.

◆ operator=()

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

◆ SetFunctor()

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

◆ m_Functor

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.

◆ m_UnaryFunctorImageFilterGPUKernelHandle

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 1667476801 for elastix by doxygen 1.9.4 elastix logo