|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkGPUMeanImageFilter_h
19 #define itkGPUMeanImageFilter_h
42 template <
typename TInputImage,
typename TOutputImage>
48 public GPUBoxImageFilter<TInputImage, TOutputImage, MeanImageFilter<TInputImage, TOutputImage>>
76 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
77 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
80 itkGetOpenCLSourceFromKernelMacro(GPUMeanImageFilterKernel);
87 PrintSelf(std::ostream & os,
Indent indent)
const override;
90 GPUGenerateData()
override;
121 return "A Factory for GPUMeanImageFilter";
126 itkFactorylessNewMacro(
Self);
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"
Create instances of classes using an object factory.
#define OverrideMeanFilterTypeMacro(ipt, opt, dm)
const char * GetITKSourceVersion() const override
const char * GetDescription() const override
Object Factory implementation for GPUMeanImageFilter.
Control indentation during Print() invocation.
typename InputImageType::PixelType InputImagePixelType
#define ITK_SOURCE_VERSION
Base class for all process objects that output image data.
Light weight base class for most itk classes.
typename InputImageType::Pointer InputImagePointer
ImageBaseType::RegionType RegionType
GPUMeanImageFilterFactory Self
TInputImage InputImageType
static void RegisterOneFactory()
typename OutputImageType::RegionType OutputImageRegionType
itkGPUKernelClassMacro(GPUImageOpsKernel)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
GPUMeanImageFilterFactory()
typename OutputImageType::PixelType OutputImagePixelType
int m_MeanFilterGPUKernelHandle
GPU-enabled implementation of the MeanImageFilter.
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionEnum where=InsertionPositionEnum::INSERT_AT_BACK, vcl_size_t position=0)
typename InputImageType::RegionType InputImageRegionType
A base class for all the GPU filters working on a box neighborhood.
typename InputImageType::ConstPointer InputImageConstPointer