[Insight-users] More teething troubles with ITK and DICOM.

Simon Harris s.j.harris at imperial.ac.uk
Tue Aug 24 09:53:21 EDT 2004


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.


More information about the Insight-users mailing list