35#ifndef itkGPUUnaryFunctorImageFilter_h
36#define itkGPUUnaryFunctorImageFilter_h
40#include "itkUnaryFunctorImageFilter.h"
59template <
typename TInputImage,
60 typename TOutputImage,
62 typename TParentImageFilter = InPlaceImageFilter<TInputImage, TOutputImage>>
117 if (m_Functor != functor)
138 int m_UnaryFunctorImageFilterGPUKernelHandle{};
146#ifndef ITK_MANUAL_INSTANTIATION
147# include "itkGPUUnaryFunctorImageFilter.hxx"
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)
GPUUnaryFunctorImageFilter()=default
FunctorType & GetFunctor()
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::ConstPointer InputImagePointer
SmartPointer< const Self > ConstPointer
void GPUGenerateData() override
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
typename OutputImageType::RegionType OutputImageRegionType
~GPUUnaryFunctorImageFilter() override=default
TInputImage InputImageType
const FunctorType & GetFunctor() const
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
ITK_DISALLOW_COPY_AND_MOVE(GPUUnaryFunctorImageFilter)
void GenerateOutputInformation() override
typename InputImageType::PixelType InputImagePixelType
TParentImageFilter CPUSuperclass