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