David de Angelo
Mon, 16 Feb 2009 08:01:04 -0800
Hi folks, I tried to run the osgvolume example with the OSIRIX data set, which can be found here: http://pubimage.hcuge.ch:8080/DATA/OSIRIX.zip Unfortunately I run into a problem with this data. When I execute the following command: osgvolume --images IM-0001-0185.dcm
the program crashes with the following output:
Max texture size=512
Reading DICOM file IM-0001-0185.dcm using DCMTK
sliceThickness = 2
tagExistsWithValue(DCM_NumberOfFrames)=0
tagExistsWithValue(DCM_NumberOfSlices)=0
Read DCM_ImagePositionPatient[0], -166.163
Read DCM_ImagePositionPatient[1], -334.163
Read DCM_ImagePositionPatient[2], 351.5
Read imageOrientationPatient[0], 1
Read imageOrientationPatient[1], 0
Read imageOrientationPatient[2], 0
Read imageOrientationPatient[3], 0
Read imageOrientationPatient[4], 1
Read imageOrientationPatient[5], 0
dirX = 0.673828 0 0
dirY = 0 0.673828 0
dirZ = 0 0 1
matrix = {
0.673828 0 0 0
0 0.673828 0 0
0 0 1 0
-166.163 -334.163 351.5 1
}
pos = -166.163 -334.163 351.5
dist = 351.5
Orientation = 0 0 1
d = 351.5 IM-0001-0185.dcm
Total Distance including ends 2
Average thickness 1
Error in reading dicom file IM-0001-0185.dcm, error = No data dictionary
Segmentation fault
I am using ubuntu, osg2.8 and libdcmtk 3.5.4-3 for building the dcmtk plugin.
Have you experienced similar behavior, or am I using the osgvolume example
incorrectly?
Cheers and thanks for your help,
David
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org