elastix icon indicating copy to clipboard operation
elastix copied to clipboard

Can you provide a demo of OpenCL GPUBSplineInterpolateImageFunction?

Open softwareCxw opened this issue 2 years ago • 0 comments

Discussed in https://github.com/SuperElastix/elastix/discussions/939

Originally posted by softwareCxw July 21, 2023 Can you provide a demo of OpenCL GPUBSplineInterpolateImageFunction?

  • Target: Implement the GPU version of BSplineInterpolator
  • process: After inheriting BSplineInterpolator, call the GPUBSplineInterpolateImageFunction method
  • question: It is found that the data cannot be passed to GPUBSplineInterpolateImageFunction through the SetInputImage function anyway,
  • Error: When I pass in GPUInputImageType, it always reports m_Pointer->Register(); abnormal memory access at line itkGPUBSplineInterpolateImageFunction.hxx: 51 m_GPUCoefficients->Graft(this->m_Coefficients);

I don't know how to solve the problem of incoming data, I need to pass in ordinary ITK data or GPU data, so I hope to provide a demo, thank you very much

softwareCxw avatar Jul 21 '23 11:07 softwareCxw