[Insight-users] python(x,y) and ITK issue

mayank chawla mayankchawla1 at gmail.com
Sat Sep 24 04:29:25 EDT 2011


Hi ,

   i installed python(x,y) 32 bit version 2.6 with ITK plugin in
windows XP 64 Bit O.S. I try to run the example code as

import itk
image_type = itk.Image[itk.UC, 3]
file_name = 'image path'
reader = itk.ImageFileReader[image_type].New()
reader.SetFileName( file_name )
reader.Update()

and i got the following error

  def Update(*args): return
_itkImageFileReader.itkImageFileReaderIUC3_Pointer_Update(*args)
RuntimeError: d:\tests\itk316\insighttoolkit-3.16.0\code\io\itkImageFileReader.txx:146:
 Could not create IO object for file
D:\UsersÂ017565\Data\StrokeE0\Study-D0_RawE0-D0-dwi.nrrd
The file doesn't exist.
Filename = D:\UsersÂ017565\Data\StrokeE0\Study-D0_RawE0-D0-dwi.nrrd


Please help me out this issue
Thanks
mayank


More information about the Insight-users mailing list