39 template <
typename TPixel,
unsigned int VImageDimension = 2>
79 virtual void Allocate(
bool initialize=
false) ITK_OVERRIDE;
91 const TPixel & operator[](const
IndexType & index) const;
93 TPixel & operator[](const
IndexType & index);
211 return "A Factory for GPUImage";
216 itkFactorylessNewMacro(
Self);
233 #define OverrideImageTypeMacro(pt,dm) this->RegisterOverride( \
234 typeid(itk::Image<pt,dm>).name(), \
235 typeid(itk::GPUImage<pt,dm>).name(), \
236 "GPU Image Override", \
238 itk::CreateObjectFunction<GPUImage<pt,dm> >::New() )
270 template <
typename T>
277 template <
typename TPixelType,
unsigned int NDimension>
286 #ifndef ITK_MANUAL_INSTANTIATION
287 #include "itkGPUImage.hxx"
AccessorType GetPixelAccessor(void)
void DataHasBeenGenerated() override
void SetPixelContainer(PixelContainer *container)
Superclass::RegionType RegionType
PixelContainer::ConstPointer PixelContainerConstPointer
virtual void Initialize() override
Superclass::OffsetType OffsetType
void FillBuffer(const TPixel &value)
#define ITK_SOURCE_VERSION
void operator=(const Self &)
SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
Superclass::IOPixelType IOPixelType
const char * GetDescription() const override
Create instances of classes using an object factory.
Implements a weak reference to an object.
virtual void Graft(const DataObject *data) override
Superclass::SpacingType SpacingType
GPUDataManager::Pointer GetGPUDataManager() const
DefaultPixelAccessorFunctor< Self > AccessorFunctorType
void SetCurrentCommandQueue(int queueid)
NeighborhoodAccessorFunctor< Self > NeighborhoodAccessorFunctorType
Superclass::InternalPixelType InternalPixelType
Superclass::PixelType PixelType
PixelContainer * GetPixelContainer()
Superclass::DirectionType DirectionType
Templated n-dimensional image class for the GPU.
virtual void DataHasBeenGenerated()
Superclass::AccessorType AccessorType
WeakPointer< const Self > ConstWeakPointer
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neigh...
Superclass::PixelContainer PixelContainer
const PixelContainer * GetPixelContainer() const
Superclass::IndexType IndexType
virtual const char * GetITKSourceVersion() const override
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor() const
Superclass::SizeType SizeType
Image< TPixel, VImageDimension > Superclass
GPUImageDataManager< GPUImage >::Pointer m_DataManager
Superclass::DirectionType DirectionType
Provides a common API for pixel accessors for Image and VectorImage.
ImportImageContainer< SizeValueType, PixelType > PixelContainer
itk::ObjectFactoryBase Superclass
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
Superclass::SpacingType SpacingType
const TPixel & GetPixel(const IndexType &index) const
#define OverrideImageTypeMacro(pt, dm)
SmartPointer< const Self > ConstPointer
Superclass::OffsetType OffsetType
Superclass::ValueType ValueType
void operator=(const Self &)
Superclass::RegionType RegionType
GPUImage< TPixelType, NDimension > Type
AccessorType GetPixelAccessor(void)
int GetCurrentCommandQueueID()
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
DefaultPixelAccessor< PixelType > AccessorType
virtual void Allocate(bool initialize=false) override
itk::SmartPointer< Self > Pointer
PixelContainer * GetPixelContainer()
static void RegisterOneFactory(void)
static const unsigned int ImageDimension
Give access to partial aspects a type.
Superclass::SizeType SizeType
TPixel * GetBufferPointer() override
Superclass::IndexType IndexType
void SetPixel(const IndexType &index, const TPixel &value)
Base class for all data objects in ITK.
Templated n-dimensional image class.
const AccessorType GetPixelAccessor(void) const
Defines an itk::Image front-end to a standard C-array.
PixelContainer::Pointer PixelContainerPointer