ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | 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 >:

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
 
- 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 (const DataObjectIdentifierType &key, typename itk::GPUTraits< TOutputImage >::Type *output)
 
virtual void GraftOutput (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 ()
 
int m_UnaryFunctorImageFilterGPUKernelHandle
 
FunctorType m_Functor
 
void SetFunctor (const FunctorType &functor)
 
 GPUUnaryFunctorImageFilter ()=default
 
 ~GPUUnaryFunctorImageFilter () override=default
 
void GenerateOutputInformation () override
 
void GPUGenerateData () override
 

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
 
- 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 (const DataObjectIdentifierType &key, DataObject *output) override
 
void GraftOutput (DataObject *output) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUImageToImageFilter () override
 
- Protected Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >
GPUKernelManager::Pointer m_GPUKernelManager
 

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

Member Typedef Documentation

◆ ConstPointer

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

◆ CPUSuperclass

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

Definition at line 47 of file itkGPUUnaryFunctorImageFilter.h.

◆ FunctorType

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

◆ GPUSuperclass

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

◆ InputImagePixelType

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

◆ InputImagePointer

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

◆ InputImageRegionType

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

◆ InputImageType

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

Definition at line 61 of file itkGPUUnaryFunctorImageFilter.h.

◆ OutputImagePixelType

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

◆ OutputImagePointer

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

◆ OutputImageRegionType

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

◆ OutputImageType

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

Definition at line 66 of file itkGPUUnaryFunctorImageFilter.h.

◆ Pointer

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

◆ Self

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

Constructor & Destructor Documentation

◆ GPUUnaryFunctorImageFilter()

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

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

◆ ~GPUUnaryFunctorImageFilter()

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

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

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage, typename TOutputImage, typename TFunction, typename TParentImageFilter = InPlaceImageFilter<TInputImage, TOutputImage>>
virtual::itk::LightObject::Pointer itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >::CreateAnother ( ) const

◆ GenerateOutputInformation()

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

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

◆ 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 73 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 79 of file itkGPUUnaryFunctorImageFilter.h.

◆ GetNameOfClass()

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

◆ GPUGenerateData()

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

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

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

◆ 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.

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

Member Data 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

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

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


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