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

#include <itkGPUUnaryFunctorImageFilter.h>

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

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.

Definition at line 37 of file itkGPUUnaryFunctorImageFilter.h.

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
virtual const char * GetNameOfClass () const
 
void SetFunctor (const FunctorType &functor)
 
- Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void GenerateData () override
 
virtual bool GetGPUEnabled () const
 
virtual void GPUEnabledOff ()
 
virtual void GPUEnabledOn ()
 
virtual void GraftOutput (DataObject *output) override
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output) override
 
virtual void SetGPUEnabled (bool _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 () override
 
virtual void GPUGenerateData () override
 
 GPUUnaryFunctorImageFilter ()
 
virtual ~GPUUnaryFunctorImageFilter ()
 
- Protected Member Functions inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >
virtual void AllocateOutputs () override
 
 GPUInPlaceImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void ReleaseInputs () override
 
 ~GPUInPlaceImageFilter ()
 
- Protected Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
 GPUImageToImageFilter ()
 
 ~GPUImageToImageFilter ()
 

Protected Attributes

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

Private Member Functions

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

Private Attributes

FunctorType m_Functor
 

Additional Inherited Members

- Static Public Attributes inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

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 46 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 43 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 52 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 44 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 60 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 58 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 59 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 57 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 65 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 63 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 64 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 62 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 45 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 42 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 86 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 88 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::itk::LightObject::Pointer itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::CreateAnother ( ) const
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GenerateOutputInformation ( )
overrideprotectedvirtual
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
FunctorType& itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GetFunctor ( void  )
inline

Definition at line 67 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 ( void  ) const
inline

Definition at line 70 of file itkGPUUnaryFunctorImageFilter.h.

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual const char* itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GetNameOfClass ( ) const
virtual
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
virtual void itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GPUGenerateData ( )
overrideprotectedvirtual
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 75 of file itkGPUUnaryFunctorImageFilter.h.

Member Data Documentation

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
FunctorType itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::m_Functor
private
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 97 of file itkGPUUnaryFunctorImageFilter.h.


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