35#ifndef __itkGPUUnaryFunctorImageFilter_h
36#define __itkGPUUnaryFunctorImageFilter_h
40#include "itkUnaryFunctorImageFilter.h"
59template<
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"
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)
FunctorType & GetFunctor()
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
TParentImageFilter CPUSuperclass
GPUUnaryFunctorImageFilter()
const FunctorType & GetFunctor() const
SmartPointer< Self > Pointer
virtual ~GPUUnaryFunctorImageFilter()
TOutputImage OutputImageType
void operator=(const Self &)