[Insight-users] z-axis ImagePositionPatient information lost on DICOM series write
John Drescher
drescherjm at gmail.com
Wed Jun 19 16:57:11 EDT 2013
> I'm trying to write a DICOM series using ImageSeriesWriter. My code is based
> upon the resampleDICOM example but I have a problem with the
> ImagePositionPatient field. The contents of each slice's metaDataDictionary
> are correct when printed to the screen but when I save and retrieve the data
> the z-axis value is zero for all slices. Other values, such as slice
> location are stored correctly.
>
> I hare ITK-3.20.0, GDCM-2.0.14, I build within the Qt development
> environment with min-gw on 64-bit Ubuntu.
>
Hmm, quite some time has passed and I seem to have hit this bug with
itk-4.2.1. I am going to have to dig into why the gdcm2 writer is
zeroing this out..
John
More information about the Insight-users
mailing list