35 #ifndef __itkGPUUnaryFunctorImageFilter_h
36 #define __itkGPUUnaryFunctorImageFilter_h
40 #include "itkUnaryFunctorImageFilter.h"
59 template<
typename TInputImage,
typename TOutputImage,
typename TFunction,
typename TParentImageFilter
60 = InPlaceImageFilter< TInputImage, TOutputImage > >
94 TInputImage::ImageDimension );
96 TOutputImage::ImageDimension );
113 if( m_Functor != functor )
145 #ifndef ITK_MANUAL_INSTANTIATION
146 #include "itkGPUUnaryFunctorImageFilter.hxx"
class to abstract the behaviour of the GPU filters.
Base class for GPU filters that take an image as input and overwrite that image as the output.
Implements pixel-wise generic operation on one image using the GPU.
void SetFunctor(const FunctorType &functor)
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
int m_UnaryFunctorImageFilterGPUKernelHandle
GPUUnaryFunctorImageFilter Self
InputImageType::PixelType InputImagePixelType
SmartPointer< const Self > ConstPointer
GPUInPlaceImageFilter< TInputImage, TOutputImage > GPUSuperclass
OutputImageType::RegionType OutputImageRegionType
InputImageType::ConstPointer InputImagePointer
InputImageType::RegionType InputImageRegionType
virtual void GPUGenerateData()
virtual void GenerateOutputInformation()
OutputImageType::Pointer OutputImagePointer
GPUUnaryFunctorImageFilter(const Self &)
TInputImage InputImageType
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
OutputImageType::PixelType OutputImagePixelType
FunctorType & GetFunctor()
TParentImageFilter CPUSuperclass
GPUUnaryFunctorImageFilter()
SmartPointer< Self > Pointer
virtual ~GPUUnaryFunctorImageFilter()
TOutputImage OutputImageType
void operator=(const Self &)
const FunctorType & GetFunctor() const