[vtkusers] vtkDICOMImageReader question
Fred Dech
fdech at uchicago.edu
Fri May 7 10:04:02 EDT 2004
hi.
i recently started working with VTK and have been using the relatively
new DICOM IO / Utilities.
we've used DICOM files for the past few years in some of our non-VTK
research applications.
aside from the mysterious 'Magic Number' most of our existing data has
read in correctly via vtkDICOMImageReader. however, there are some datasets
that consistently generate a zero Z dimension:
DataExtent: (0, 511, 0, 511, 0, 0)
i've examined the vtk source, and have added certain fields to some of the
offending dicom files, but have not yet discovered the cause of this problem.
i noticed that the DICOMOrderingElements class is used in many of the
image sorting templates. but i seem to have those fields covered.
for anyone out there who is intimately familiar with this loader, i'm including
the header info of one file of a series that never returns a non-zero Z
extent. the 'Image Position Patient' and 'Slice Location', etc. progress
in Positive Z throughout this series.
i'm hoping someone may find an obvious required field for the vtk loader
that is missing or anonymized in this header dump.
thanks in advance.
--fred
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DCM Dump Elements
Object type: ELEMENT LIST
Object size: 525458
Group: 0008, Length: 380
0008 0008 22 // ID Image Type//ORIGINAL\PRIMARY\AXIAL
0008 0012 8 // ID Instance Creation Date//20040503
0008 0013 6 // ID Instance Creation Time//132513
0008 0014 8 // ID Instance Creator UID//0.0.0.0
0008 0016 26 // ID SOP Class UID//1.2.840.10008.5.1.4.1.1.7
0008 0018 34 // ID SOP Instance UID//0.0.0.0.1.0.0.0.973732320.76005.0
0008 0020 20 // ID Study Date//CONFIDENTIAL_DELETED
0008 0021 20 // ID Series Date//CONFIDENTIAL_DELETED
0008 0022 20 // ID Acquisition Date//CONFIDENTIAL_DELETED
0008 0030 0 // ID Study Time//
0008 0050 0 // ID Accession Number//
0008 0060 2 // ID Modality//OT
0008 0064 4 // ID Conversion Type//WSD
0008 0070 0 // ID Manufacturer//
0008 0090 20 // ID Referring Physician's Name//CONFIDENTIAL_DELETED
0008 0201 6 // //Unimplemented
0008 1060 20 //ID Name of Physician(s) Reading Study//CONFIDENTIAL_DELETED
0008 1070 20 // ID Operator's Name//CONFIDENTIAL_DELETED
Group: 0010, Length: 280
0010 0010 20 // PAT Patient Name//CONFIDENTIAL_DELETED
0010 0020 20 // PAT Patient ID//CONFIDENTIAL_DELETED
0010 0021 20 // PAT Issuer of Patient ID//CONFIDENTIAL_DELETED
0010 0030 20 // PAT Patient Birthdate//CONFIDENTIAL_DELETED
0010 0040 20 // PAT Patient Sex//CONFIDENTIAL_DELETED
0010 1005 20 // PAT Patient's Birth Name //CONFIDENTIAL_DELETED
0010 1010 20 // PAT Patient Age//CONFIDENTIAL_DELETED
0010 1030 20 // PAT Patient Weight//CONFIDENTIAL_DELETED
0010 1060 20 //PAT Patient's Mother's Birth Name//CONFIDENTIAL_DELETED
0010 21b0 20 // PAT Additional Patient History//CONFIDENTIAL_DELETED
Group: 0018, Length: 12
0018 0050 4 // ACQ Slice Thickness//3.75
Group: 0020, Length: 354
0020 000d 30 // REL Study Instance UID//0.0.0.0.2.0.973732320.76005.0
0020 000e 32 // REL Series Instance UID//0.0.0.0.3.0.0.973732320.76005.0
0020 0010 6 // REL Study ID//66666
0020 0011 2 // REL Series Number//4
0020 0013 2 // REL Image Number//2
0020 0020 0 // REL Patient Orientation//
0020 0032 28 // REL Image Position Patient//-125.000\-125.000\-16.250000
0020 0037 54 //REL Image Orientation (Patient)//1.000000\0.000000\0.000000\0.000000\1.000000\0.000000
0020 1041 10 // REL Slice Location//-16.250000
0020 4000 110 // REL Image Comments//THE OUTPUT OF THIS SOFTWARE IS FOR INVESTIGATIONAL USE ONLY - NOT TESTED OR APPROVED FOR CLINICAL APPLICATION
Group: 0028, Length: 136
0028 0002 2 // IMG Samples Per Pixel// 1 1
0028 0004 12 // IMG Photometric Interpretation//MONOCHROME2
0028 0006 2 // IMG Planar Configuration// 0 0
0028 0008 2 // IMG Number of Frames//1
0028 0010 2 // IMG Rows// 200 512
0028 0011 2 // IMG Columns// 200 512
0028 0030 18 // IMG Pixel Spacing//0.601562\0.601562
0028 0100 2 // IMG Bits Allocated// 10 16
0028 0101 2 // IMG Bits Stored// 10 16
0028 0102 2 // IMG High Bit// f 15
0028 0103 2 // IMG Pixel Representation// 0 0
Group: 7fe0, Length: 524296
7fe0 0010 524288 // PXL Pixel Data//Data on disk
DCM Dump Elements Complete
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the vtkusers
mailing list