18#ifndef itkGPUMeanImageFilter_h
19#define itkGPUMeanImageFilter_h
42template <
typename TInputImage,
typename TOutputImage>
48 public GPUBoxImageFilter<TInputImage, TOutputImage, MeanImageFilter<TInputImage, TOutputImage>>
121 return "A Factory for GPUMeanImageFilter";
141#define OverrideMeanFilterTypeMacro(ipt, opt, dm) \
143 using InputImageType = Image<ipt, dm>; \
144 using OutputImageType = Image<opt, dm>; \
145 this->RegisterOverride(typeid(MeanImageFilter<InputImageType, OutputImageType>).name(), \
146 typeid(GPUMeanImageFilter<InputImageType, OutputImageType>).name(), \
147 "GPU Mean Image Filter Override", \
149 CreateObjectFunction<GPUMeanImageFilter<InputImageType, OutputImageType>>::New()); \
151 ITK_MACROEND_NOOP_STATEMENT
183#ifndef ITK_MANUAL_INSTANTIATION
184# include "itkGPUMeanImageFilter.hxx"
GPUBoxImageFilter()=default
GPUMeanImageFilterFactory()
const char * GetITKSourceVersion() const override
SmartPointer< const Self > ConstPointer
const char * GetDescription() const override
SmartPointer< Self > Pointer
static void RegisterOneFactory()
GPUMeanImageFilterFactory Self
ObjectFactoryBase Superclass
static constexpr unsigned int OutputImageDimension
TInputImage InputImageType
GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > > Superclass
typename InputImageType::Pointer InputImagePointer
itkGetOpenCLSourceFromKernelMacro(GPUMeanImageFilterKernel)
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::ConstPointer InputImageConstPointer
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const override
void GPUGenerateData() override
static constexpr unsigned int InputImageDimension
~GPUMeanImageFilter() override
int m_MeanFilterGPUKernelHandle
typename InputImageType::PixelType InputImagePixelType
SmartPointer< const Self > ConstPointer
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionEnum where=InsertionPositionEnum::INSERT_AT_BACK, vcl_size_t position=0)
Implements transparent reference counting.
#define OverrideMeanFilterTypeMacro(ipt, opt, dm)
#define ITK_SOURCE_VERSION
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
itkGPUKernelClassMacro(GPUImageOpsKernel)