ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | 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

using ConstPointer = SmartPointer< const Self >
 
using CPUSuperclass = TParentImageFilter
 
using FunctorType = TFunction
 
using GPUSuperclass = GPUInPlaceImageFilter< TInputImage, TOutputImage >
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::ConstPointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = GPUUnaryFunctorImageFilter
 
- Public Types inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >
using ConstPointer = SmartPointer< const Self >
 
using CPUSuperclass = TParentImageFilter
 
using GPUSuperclass = GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename GPUSuperclass::OutputImagePixelType
 
using OutputImagePointer = typename GPUSuperclass::OutputImagePointer
 
using OutputImageRegionType = typename GPUSuperclass::OutputImageRegionType
 
using OutputImageType = typename GPUSuperclass::OutputImageType
 
using Pointer = SmartPointer< Self >
 
using Self = GPUInPlaceImageFilter
 
- Public Types inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = typename Superclass::DataObjectIdentifierType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = GPUImageToImageFilter
 
using Superclass = TParentImageFilter
 

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 (typename itk::GPUTraits< TOutputImage >::Type *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, typename itk::GPUTraits< TOutputImage >::Type *output)
 
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

void GenerateOutputInformation () override
 
void GPUGenerateData () override
 
 GPUUnaryFunctorImageFilter ()
 
 ~GPUUnaryFunctorImageFilter () override
 
- Protected Member Functions inherited from itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >
void AllocateOutputs () override
 
 GPUInPlaceImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUInPlaceImageFilter () override
 
void ReleaseInputs () override
 
- Protected Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
 GPUImageToImageFilter ()
 
void GraftOutput (DataObject *output) override
 
void GraftOutput (const DataObjectIdentifierType &key, DataObject *output) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUImageToImageFilter () override
 

Protected Attributes

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

Private Attributes

FunctorType m_Functor
 

Additional Inherited Members

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

Member Typedef Documentation

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

Definition at line 48 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 45 of file itkGPUUnaryFunctorImageFilter.h.

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

Some type alias.

Definition at line 57 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 46 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 62 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 60 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 61 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 59 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 67 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 65 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 66 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 64 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 47 of file itkGPUUnaryFunctorImageFilter.h.

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

Standard class type aliases.

Definition at line 44 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 88 of file itkGPUUnaryFunctorImageFilter.h.

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

Definition at line 90 of file itkGPUUnaryFunctorImageFilter.h.

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 >>
void itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GenerateOutputInformation ( )
overrideprotected
template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter< TInputImage, TOutputImage >>
FunctorType& itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::GetFunctor ( )
inline

Definition at line 69 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 72 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 >>
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 >::SetFunctor ( const FunctorType functor)
inline

Set the functor object.

Definition at line 77 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

Definition at line 101 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 98 of file itkGPUUnaryFunctorImageFilter.h.


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