[Insight-users] Question about itkDICOMImageSeriesTest

jiang jiang at TI . Uni-Trier . DE
Thu, 28 Aug 2003 11:50:18 +0200


Hi,
I use the newest ITK tarball, and I want to try to read a serie of DICOM
file. I compile the \Insight\Testing\Code\IO and run the project. However I
can not run some tests inside it, such as:
To run a test, enter the test number: 5
Usage: ITK test driver caught an unknown exception!!!

I also integrate part code of the itkDICOMImageSeriesTest.cpp to QtITK
example. When I select one directory and read the serie of DICOM file, the
application will have errors and exit.
The message showed in the console screen is:

No DICOM magic number found, but file appears to be DICOM.
Proceeding without caution.
No DICOM magic number found, but file appears to be DICOM.
Proceeding without caution.
No DICOM magic number found, but file appears to be DICOM.
Proceeding without caution.
DICOMSeriesFileNames (035732C0)
  RTTI typeinfo:   class itk::DICOMSeriesFileNames
  Reference Count: 2
  Modified Time: 30
  Debug: Off
  Observers:
    none
  Directory: C:/jcy/Qt/TestApp/QtITK/1/
  File name sorting order: SortByImagePositionPatient
  FileNames[0]:
C:/jcy/Qt/TestApp/QtITK/1//1.3.12.2.1107.5.2.1.5603.200307310938
45884001001
  FileNames[1]:
C:/jcy/Qt/TestApp/QtITK/1//1.3.12.2.1107.5.2.1.5603.200307310938
45884001002
  FileNames[2]:
C:/jcy/Qt/TestApp/QtITK/1//1.3.12.2.1107.5.2.1.5603.200307310938
45884001003

Press any key to continue

I try to debug the code. The program stops at reader->Update(); The error is
Access Violation.
Who can tell me how to solve this problem?

Thanks a lot!



Chunyan