18#ifndef itkGPUFiniteDifferenceFunction_h
19#define itkGPUFiniteDifferenceFunction_h
46template <
typename TImageType>
87#if !defined(ITK_WRAPPING_PARSER)
91 void * itkNotUsed(globalData),
102 GPUComputeUpdate(
const typename TImageType::Pointer output,
typename TImageType::Pointer update,
void * gd) = 0;
ConstNeighborhoodIterator< TImage, DefaultBoundaryConditionType > NeighborhoodType
ZeroFluxNeumannBoundaryCondition< ImageType > DefaultBoundaryConditionType
Vector< float, Self::ImageDimension > FloatOffsetType
typename ImageType::PixelType PixelType
typename ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
FiniteDifferenceFunction()
ConstNeighborhoodIterator< TImage, DefaultBoundaryConditionType > NeighborhoodType
~GPUFiniteDifferenceFunction() override=default
virtual void GPUAllocateMetricData(unsigned int numPixels)
PixelType ComputeUpdate(const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
int m_ComputeUpdateGPUKernelHandle
GPUFiniteDifferenceFunction Self
Superclass DifferenceFunctionType
virtual void GPUReleaseMetricData()
SmartPointer< Self > Pointer
FiniteDifferenceFunction< TImageType > Superclass
Vector< float, Self::ImageDimension > FloatOffsetType
GPUFiniteDifferenceFunction()
typename ImageType::PixelType PixelType
SmartPointer< const Self > ConstPointer
virtual void GPUComputeUpdate(const typename TImageType::Pointer output, typename TImageType::Pointer update, void *gd)=0
GPUKernelManager::Pointer m_GPUKernelManager
static constexpr unsigned int ImageDimension
SmartPointer< Self > Pointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....