[Dcmlib] question about Spacing tags

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Sep 15 19:06:39 CEST 2011


Hi Sergio,

  If you want to read all the nasty details of pixel spacing in DICOM,
please read:

http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Imager_Pixel_Spacing

  Otherwise simply use GDCM 2.x it will work out of the box for CT
Image Storage.

HTH

On Thu, Sep 15, 2011 at 8:53 AM, Jean-Pierre Roux
<jpr at creatis.insa-lyon.fr> wrote:
> Hi, Sergio
>
> I think you were reading the documentation of 'gdcm1', an old and obsolet
> version of gdcm.
> (GDCM_NAME_SPACE doesn't exist any longer in gdcm2)
>
> I forward your message to gdcm2 developpers.
>
> Jean-Pierre
>
>
>
>
> On 09/15/2011 04:09 AM, Sergio Aguirre wrote:
>
> 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
>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
> --
> Jean-Pierre Roux
> CNRS UMR 5220, INSERM U 1044
>
> Laboratoire en lutte!
> http://www.creatis.univ-lyon1.fr
> http://www.sauvonslarecherche.fr/
>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>



-- 
Mathieu


More information about the Dcmlib mailing list