18#ifndef itkGPUUnaryFunctorImageFilter_h
19#define itkGPUUnaryFunctorImageFilter_h
35template <
typename TInputImage,
36 typename TOutputImage,
38 typename TParentImageFilter = InPlaceImageFilter<TInputImage, TOutputImage>>
71#if !defined(ITK_WRAPPING_PARSER)
88 if (m_Functor != functor)
109 int m_UnaryFunctorImageFilterGPUKernelHandle{};
117#ifndef ITK_MANUAL_INSTANTIATION
118# 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()
void GPUGenerateData() override
~GPUUnaryFunctorImageFilter() override=default
const FunctorType & GetFunctor() const
void GenerateOutputInformation() override
TParentImageFilter CPUSuperclass
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....