[ITK] [ITK-users] Problems Using GPU Filters
Matt McCormick
matt.mccormick at kitware.com
Tue Aug 1 17:13:40 EDT 2017
Hi Andaharoo,
As a rule of thumb, use itk::GPUImage with itk::GPU*ImageFilter. This
ensures that the input image can be pass from CPU to GPU memory and
the output image can be passed from GPU to CPU memory if required.
Hope this helps,
Matt
On Tue, Aug 1, 2017 at 2:15 PM, Andaharoo <andx_roo at live.com> wrote:
> Yeah I figured this out and it allowed me to use
> GPUGradientAnisotropicImageFilter.
> I was using GPUGradientAnisotropicImageFilter<itkImage, itkImage> and using
> GPUGradientAnisotropicImageFilter<itkImage, itkGPUImage> fixed it.
>
> But I can't seem to use any other GPU filters unless I apply them after the
> gradient anisotropic? It's not converting and I'm unable to setup my readers
> to use itkGPUImage so I can't do
> GPUGradientAnisotropicImageFilter<itkGPUImage, itkGPUImage>
>
> Pipeline:
> vtkImage -> vtktoitk filter -> gpu filter -> itktovtkfilter ->
>
> Also does
> GPUGradientAnisotropicImageFilter<itkGPUImage, itkImage> differ from
> GPUGradientAnisotropicImageFilter<itkImage, itkGPUImage> because the output
> of a gpu filter can go back to a cpu filter? This is what made me initially
> think I would use GPUGradientAnisotropicImageFilter<itkImage, itkImage>
>
> Thanks
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Problems-Using-GPU-Filters-tp7590036p7590114.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list