18 #ifndef itkGPUUnaryFunctorImageFilter_h
19 #define itkGPUUnaryFunctorImageFilter_h
35 template<
typename TInputImage,
typename TOutputImage,
typename TFunction,
typename TParentImageFilter =
36 InPlaceImageFilter< TInputImage, TOutputImage > >
77 if ( m_Functor != functor )
90 virtual void GenerateOutputInformation() ITK_OVERRIDE;
92 virtual
void GPUGenerateData() ITK_OVERRIDE;
96 int m_UnaryFunctorImageFilterGPUKernelHandle;
107 #ifndef ITK_MANUAL_INSTANTIATION
108 #include "itkGPUUnaryFunctorImageFilter.hxx"
virtual ~GPUUnaryFunctorImageFilter() override
OutputImageType::PixelType OutputImagePixelType
void SetFunctor(const FunctorType &functor)
SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointer
OutputImageType::RegionType OutputImageRegionType
Base class for all process objects that output image data.
TOutputImage OutputImageType
SmartPointer< const Self > ConstPointer
InputImageType::RegionType InputImageRegionType
FunctorType & GetFunctor()
Base class for GPU filters that take an image as input and overwrite that image as the output...
InputImageType::ConstPointer InputImagePointer
InputImageType::PixelType InputImagePixelType
GPUUnaryFunctorImageFilter Self
const FunctorType & GetFunctor() const
TParentImageFilter CPUSuperclass
Implements pixel-wise generic operation on one image using the GPU.
GPUUnaryFunctorImageFilter()
TInputImage InputImageType
GPUInPlaceImageFilter< TInputImage, TOutputImage > GPUSuperclass