[Rtk-users] cast itk:::Image to itk::CudaImage

tao sun colddiesun at gmail.com
Wed Jan 16 16:59:40 EST 2019


Hi,

I have read in some image using  itk::ImportImageFilter.
 ImportFilterType::Pointer projectionReader = ImportFilterType::New();
...
 projectionReader->Update();

The type of the image is itk:::Image<float,3>. I wonder if there is any way
I can cast it to itk::CudaImage<float,3>?
In rtkforwardprojections.cxx the imageReaderType is defined as
CudaImageType so there is no such problem.

Thanks,
Tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20190116/d6c64f32/attachment.html>


More information about the Rtk-users mailing list