[ITK] ERROR: SCIFIOImageIO

Hans.Koch at ptb.de Hans.Koch at ptb.de
Sun Oct 18 11:06:59 EDT 2015


Hi,
When running some itk programs, which worked a year ago, e.g. the first 
few lines of the itk test:  MeanImageFilter.py:
import itk
dim = 2
IType = itk.Image[itk.F, dim]
imageFileName='BrainProtonDensitySliceBorder20.png'
reader = itk.ImageFileReader[IType].New()
reader.SetFileName(imageFileName)
reader.Update()

I now receive the following output and error message when running it with 
Spyder (Python 2.7) :

Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] 
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 
runfile('C:/Users/koch05/Documents/WS_14_15/Book/py_mybook/codes/ch11/my_Filter.py', 
wdir='C:/Users/koch05/Documents/WS_14_15/Book/py_mybook/codes/ch11')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", 
line 688, in runfile
    execfile(filename, namespace)
  File 
"C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", 
line 72, in execfile
    exec(compile(scripttext, filename, 'exec'), glob, loc)
  File 
"C:/Users/koch05/Documents/WS_14_15/Book/py_mybook/codes/ch11/my_Filter.py", 
line 30, in <module>
    reader.Update()
RuntimeError: 
C:\u\itk-git\_b\Modules\Remote\SCIFIO\src\itkSCIFIOImageIO.cxx:274:
itk::ERROR: SCIFIOImageIO(103ADF70): SCIFIO_PATH is not set. This 
environment variable must point to the directory containing the SCIFIO JAR 
files
>>>

Additional remark: in the Python27 site-package, inside the itk folder are 
the files SCIFIO.py and SCIFIOPython.py and in the Configuration folder: 
SCIFIOConfig.py

How can I fix this problem? Any help is highly appreciated.

Hans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20151018/c6ec27c7/attachment.html>


More information about the Community mailing list