[Insight-users] Dicom and Image Spacing

Alexander Schmidt-Richberg schmidt-richberg at imi.uni-luebeck.de
Thu Dec 6 04:16:55 EST 2012


Hi,

sorry if this has been discussed before. I'm sure I'm not the first to
realize, but I couldn't find anything in the mailing lists.

I have a problem with reading/writing volume images as Dicom files with
ITKv4, presumably due to the change from GDCM 1.x to 2.x.

In ITK 3, the image spacing was stored in the tags
"SpacingBetweenSlices" and "ImagerPixelSpacing". In v4,
"NominalScannedPixelSpacing" is used for the in-plane spacing, however,
the z-spacing is not stored at all (if I'm right). That means, all of
the "old" images I'm reading with ITK4 have a uniform spacing of 1,
since the old tags are not interpreted. Moreover, programs like MeVisLab
ignore the new tag.

Has this behavior been discussed? Is it working as intended and is there
any workaround?

Best regards Alex

-- 
Dipl. Medieninf. Alexander Schmidt-Richberg
    Wissenschaftlicher Mitarbeiter


UNIVERSITÄT ZU LÜBECK
    INSTITUT FÜR MEDIZINISCHE INFORMATIK

    Ratzeburger Allee 160
    23538 Lübeck

    Tel +49 451 500 5645
    Fax +49 451 500 5610
    schmidt-richberg at imi.uni-luebeck.de

    www.imi.uni-luebeck.de



More information about the Insight-users mailing list