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