[Insight-users] More teething troubles with ITK and DICOM.
Miller, James V (Research)
millerjv at crd.ge.com
Tue Aug 24 09:57:35 EDT 2004
Simon,
The output filename needs to have an extension supplied for the output
format.
The ImageFileWriter cannot deduce a format for a file named "test".
Try running your program as
dicomseriesimagereadwrite \testdcm\testdcm test.mhd
or as
dicomseriesimagereadwrite \testdcm\testdcm test.mhd
1.3.12.2.1107.5.1.4.28068.4.0.11030424211133114
Jim
-----Original Message-----
From: Simon Harris [mailto:s.j.harris at imperial.ac.uk]
Sent: Tuesday, August 24, 2004 9:53 AM
To: Insight-users at itk.org
Subject: [Insight-users] More teething troubles with ITK and DICOM.
I've been trying to run the demonstration program...
DicomSeriesReadImageWrite
It compiles ok, but when i run it with a test data set
the output i get is ...
The directory:
\testdcm\testdcm <--- My test data
directory
Contains the following DICOM Series:
1.3.12.2.1107.5.1.4.28068.4.0.11005657410102628
1.3.12.2.1107.5.1.4.28068.4.0.11025990425384724 <--- Series in that
directory
1.3.12.2.1107.5.1.4.28068.4.0.11026017530669554
1.3.12.2.1107.5.1.4.28068.4.0.11028764814731292
1.3.12.2.1107.5.1.4.28068.4.0.11030424211133114
Now reading series:
1.3.12.2.1107.5.1.4.28068.4.0.11005657410102628
Writing the image as
test
itk::ExceptionObject (00EEFDF8)
Location: "Unknown"
File: c:\itk\insighttoolkit-1.8.0\code\io\itkImageFileWriter.txx
Line: 144
Description: itk::ERROR: ImageFileWriter(01250728): No ImageIO set, or
none could be created.
I tried invoking the program with:
dicomseriesimagereadwrite \testdcm\testdcm test
and by specifying an individual series....
dicomseriesimagereadwrite \testdcm\testdcm test
1.3.12.2.1107.5.1.4.28068.4.0.11030424211133114
but in both instances, the program gives the exception error.
Can someone please point to what i'm doing wrong. I'm really not getting
very far with ITK
and am beginning to think I must be extremely dense or something :(
Simon.
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list