35#ifndef itkGPUImageToImageFilter_h
36#define itkGPUImageToImageFilter_h
38#include "itkImageToImageFilter.h"
62template <
typename TInputImage,
63 typename TOutputImage,
64 typename TParentImageFilter = ImageToImageFilter<TInputImage, TOutputImage>>
83 using typename Superclass::DataObjectIdentifierType;
84 using typename Superclass::OutputImageRegionType;
85 using typename Superclass::OutputImagePixelType;
100 itkSetMacro(GPUEnabled,
bool);
101 itkGetConstMacro(GPUEnabled,
bool);
102 itkBooleanMacro(GPUEnabled);
108 GraftOutput(
const DataObjectIdentifierType & key, DataObject * graft)
override;
118 PrintSelf(std::ostream & os, Indent indent)
const override;
136#ifndef ITK_MANUAL_INSTANTIATION
137# include "itkGPUImageToImageFilter.hxx"
class to abstract the behaviour of the GPU filters.
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
void GenerateData() override
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
typename InputImageType::RegionType InputImageRegionType
~GPUImageToImageFilter() override=default
TOutputImage OutputImageType
void GraftOutput(DataObject *graft) override
typename InputImageType::ConstPointer InputImageConstPointer
SmartPointer< const Self > ConstPointer
void SetNumberOfWorkUnits(ThreadIdType _arg) override
TInputImage InputImageType
void GraftOutput(const DataObjectIdentifierType &key, DataObject *graft) override
typename InputImageType::PixelType InputImagePixelType
TParentImageFilter Superclass
typename InputImageType::Pointer InputImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void GPUGenerateData()
ITK_DISALLOW_COPY_AND_MOVE(GPUImageToImageFilter)