18 #ifndef itkGPUDenseFiniteDifferenceImageFilter_h
19 #define itkGPUDenseFiniteDifferenceImageFilter_h
52 template<
typename TInputImage,
typename TOutputImage,
typename TParentImageFilter =
53 DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > >
76 itkStaticConstMacro(ImageDimension,
unsigned int, GPUSuperclass::ImageDimension);
80 typedef typename GPUSuperclass::PixelType
PixelType;
88 #ifdef ITK_USE_CONCEPT_CHECKING
100 itkGetOpenCLSourceFromKernelMacro(GPUDenseFiniteDifferenceImageFilterKernel);
105 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
109 virtual void ApplyUpdate(
const TimeStepType& dt) ITK_OVERRIDE;
111 virtual void GPUApplyUpdate(
const TimeStepType& dt) ITK_OVERRIDE;
115 virtual TimeStepType GPUCalculateChange() ITK_OVERRIDE;
120 virtual
void CopyInputToOutput() ITK_OVERRIDE;
125 return CPUSuperclass::GetUpdateBuffer();
130 virtual void AllocateUpdateBuffer() ITK_OVERRIDE;
133 int m_ApplyUpdateGPUKernelHandle;
141 #ifndef ITK_MANUAL_INSTANTIATION
142 #include "itkGPUDenseFiniteDifferenceImageFilter.hxx"
SmartPointer< const Self > ConstPointer
~GPUDenseFiniteDifferenceImageFilter() override
GPUSuperclass::InputImageType InputImageType
GPUSuperclass::PixelType PixelType
Base class for GPU Finite Difference Image Filters.
itkGPUKernelClassMacro(GPUImageOpsKernel)
GPUSuperclass::OutputImageType OutputImageType
GPUSuperclass::OutputImageType OutputImageType
GPUFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter > GPUSuperclass
OutputImageType UpdateBufferType
GPUSuperclass::TimeStepType TimeStepType
TDisplacementField InputImageType
GPUDenseFiniteDifferenceImageFilter Self
Control indentation during Print() invocation.
GPUSuperclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
TParentImageFilter CPUSuperclass