Message: Segmentation Fault when reading some dicom files Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Segmentation Fault when reading some dicom files 

Forum: Medical Applications
Date: 17 Aug, 2015
From: Maduka M Kaluarachchi <Maduka M Kaluarachchi>

I'm using dicom example to read dicom files. It works fine with the given 3 dicom files in the example (1.dcm, 2.dcm and 3.dcm)

But, when I try to use some other dicom files, program crashes giving a segmentation fault.

Here's the output when I try to run.

All the necessary images were not found in processed form, starting with .dcm images
 fNFiles 149
check 1: IMRT_QA_PHANTOM/CT5486.1.dcm
### Opening IMRT_QA_PHANTOM/CT5486.1.dcm and reading :
 ReadFile IMRT_QA_PHANTOM/CT5486.1
[0x00020010] Endian -> 1.2.840.10008.1.2
[0x00080008] Image Types -> ORIGINAL\PRIMARY\AXIAL\HELIX
[0x00080070] Manufacturer -> Philips 
[0x00080080] Institution Name -> UVa Medical Center
[0x00080081] Institution Address -> West Complex
[0x00081040] Institution Department Name -> Radiation Oncology
[0x00081090] Manufacturer's Model Name -> Brilliance Big Bore 
[0x00180050] Slice Thickness (mm) -> 3.000000
[0x00200032] Image Position (Phantom,mm) -> -300\-124\-1017 
[0x00200037] Image Orientation (Phantom) -> 1\0\0\0\1\0 
[0x00201041] Slice Location -> -1017.000000
[0x00280004] Photometric Interpretation -> MONOCHROME2 
[0x00280010] Rows -> 512
[0x00280011] Columns -> 512
[0x00280100] Bits allocated -> 16
[0x00280101] Bits stored -> 12
[0x00280102] High bits -> 11
[0x00280103] Pixel Representation -> 0
[0x00281052] Rescale Intercept -> -1024
[0x00281053] Rescale Slope -> 1
Segmentation fault
[mk@localhost DICOM-build]

Thank you in advance for the help.

 Add Message Add Message
to: "Segmentation Fault when reading some dicom files"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]