[ITK] [ITK-users] Starting with GPU development

Irina Vidal Migallon irina.vidal-migallon at inria.fr
Thu Jul 31 04:29:54 EDT 2014


Hi Oscar,

> Let's say I want to put the output on a reader into a GPUImage.
>
> I can't just say MyGPUImageType::Pointer image = reader->getOutput() 
> because the output of a reader is NOT a GPU image.


If you've defined your reader as a GPUImage reader, as in:

typedef itk::ImageFileReader< itk::GPUImage<MyType, 2> > GPUReaderType;

you can do just that, as you would with any other type of image.


> Any info (or any pointer to any good info) is REALLY welcome :)
>

I found examples and tests in Modules/Filtering/GPU* and/or 
Modules/Core/GPUCommon rather helpful, they will probably get you started.




I.


_____________________________________
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