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);
114 return "A Factory for GPUMeanImageFilter";
119 itkFactorylessNewMacro(
Self);
136 #define OverrideMeanFilterTypeMacro(ipt,opt,dm) \
138 typedef Image<ipt,dm> InputImageType; \
139 typedef Image<opt,dm> OutputImageType; \
140 this->RegisterOverride( \
141 typeid(MeanImageFilter<InputImageType,OutputImageType>).name(), \
142 typeid(GPUMeanImageFilter<InputImageType,OutputImageType>).name(), \
143 "GPU Mean Image Filter Override", \
145 CreateObjectFunction<GPUMeanImageFilter<InputImageType,OutputImageType> >::New() ); \
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #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()
void operator=(const Self &)
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
const char * GetDescription() const
InputImageType::RegionType InputImageRegionType
static const unsigned int OutputImageDimension
void operator=(const Self &)
TInputImage InputImageType
GPUImageToImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > > Superclass
SmartPointer< Self > Pointer
#define OverrideMeanFilterTypeMacro(ipt, opt, dm)
InputImageType::ConstPointer InputImageConstPointer
GPUMeanImageFilterFactory Self
virtual void PrintSelf(std::ostream &os, Indent indent) const
SmartPointer< const Self > ConstPointer
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
Superclass::OutputImagePixelType OutputImagePixelType
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)
virtual void GPUGenerateData()
SmartPointer< Self > Pointer
virtual const char * GetITKSourceVersion() const
Superclass::OutputImagePixelType OutputImagePixelType