[Dcmlib] question about Spacing tags

Sergio Aguirre sergio.aguirre at gmail.com
Thu Sep 15 04:09:05 CEST 2011


Hi everyone

I am a bit confused regarding the way X Y and Z spacing is determined from
the DICOM tags of CT DICOM Images.

>From the GDCM_NAME_SPACE::File Class Reference I see that both X and Y
spacing are determined by GetXSpacing() / GetYSpacing

For both X and Y it states that it "gets the info from 0018|1164 :
ImagerPixelSpacing" THEN "0028|0030: Pixel Spacing ELSE 1.0"

Does this mean that IF a valid value is present in 0018|1164 and a second
valid value in 0028|0030 it will use the value stored in 0028|0030????

For Z Spacing again it states that it "gets the info from 0018|0088: Space
between slices" else "from 0018|0050 Slice Thickness" else 1.0

Does this mean that if there is a valid value in 0018|0088 and a second
valid value in 0018|0050 it will use the one stored in 0018|0050???

Thank you, hope you can help

Sergio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20110914/df8462fd/attachment.html>


More information about the Dcmlib mailing list