Hi David,
Do you have your data dictionary set?
http://www.mevis-research.de/~meyer/dcmtk/docs_352/dcmdata/datadict.txt

Something like this (depending on where DCMTK is installed on your system):
export DCMDICTPATH=/opt/local/lib/dicom.dic


Gerrick


On 2/16/09 9:59 AM, "David de Angelo" <[email protected]>
wrote:

> 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_NumberOfSlic
> es)=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
[email protected]
http://lists.openscenegraph.org/listin
> fo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to