18 #ifndef itkGPUMeanImageFilter_h
19 #define itkGPUMeanImageFilter_h
41 template<
typename TInputImage,
typename TOutputImage >
46 public GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >
73 TInputImage::ImageDimension);
75 TOutputImage::ImageDimension);
85 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
91 void operator=(const
Self &) ITK_DELETE_FUNCTION;
116 return "A Factory for GPUMeanImageFilter";
121 itkFactorylessNewMacro(Self);
136 void operator=(const Self&) ITK_DELETE_FUNCTION;
138 #define OverrideMeanFilterTypeMacro(ipt,opt,dm) \
140 typedef Image<ipt,dm> InputImageType; \
141 typedef Image<opt,dm> OutputImageType; \
142 this->RegisterOverride( \
143 typeid(MeanImageFilter<InputImageType,OutputImageType>).name(), \
144 typeid(GPUMeanImageFilter<InputImageType,OutputImageType>).name(), \
145 "GPU Mean Image Filter Override", \
147 CreateObjectFunction<GPUMeanImageFilter<InputImageType,OutputImageType> >::New() ); \
181 #ifndef ITK_MANUAL_INSTANTIATION
182 #include "itkGPUMeanImageFilter.hxx"
class to abstract the behaviour of the GPU filters.
ObjectFactoryBase Superclass
Superclass::OutputImageRegionType OutputImageRegionType
A base class for all the GPU filters working on a box neighborhood.
InputImageType::PixelType InputImagePixelType
#define ITK_SOURCE_VERSION
GPUMeanImageFilterFactory()
itkGetOpenCLSourceFromKernelMacro(GPUMeanImageFilterKernel)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
InputImageType::Pointer InputImagePointer
Base class for all process objects that output image data.
Create instances of classes using an object factory.
itkGPUKernelClassMacro(GPUImageOpsKernel)
SmartPointer< const Self > ConstPointer
Superclass::OutputImageRegionType OutputImageRegionType
int m_MeanFilterGPUKernelHandle
InputImageType::RegionType InputImageRegionType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
static const unsigned int OutputImageDimension
TInputImage InputImageType
GPUImageToImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > > Superclass
SmartPointer< Self > Pointer
#define OverrideMeanFilterTypeMacro(ipt, opt, dm)
InputImageType::ConstPointer InputImageConstPointer
GPUMeanImageFilterFactory Self
const char * GetDescription() const override
SmartPointer< const Self > ConstPointer
virtual void GPUGenerateData() override
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
Superclass::OutputImagePixelType OutputImagePixelType
virtual const char * GetITKSourceVersion() const override
Control indentation during Print() invocation.
Object Factory implemenatation for GPUMeanImageFilter.
GPU-enabled implementation of the MeanImageFilter.
static const unsigned int InputImageDimension
static void RegisterOneFactory(void)
SmartPointer< Self > Pointer
Superclass::OutputImagePixelType OutputImagePixelType