[Insight-users] casting from void* to itk::Image

David Doria daviddoria at gmail.com
Fri Jan 7 10:20:59 EST 2011


On Fri, Jan 7, 2011 at 10:11 AM, Navneeth Subramanian
<navneeth.s at gmail.com> wrote:
> Hi,
>
> I am trying to cast some user data (void*) into an itk image as in the code
> below:

I think you need to use the ImportImageFilter:
http://www.itk.org/Wiki/ITK/Examples/IO/ImportImageFilter

David


More information about the Insight-users mailing list