[Insight-users] z-axis ImagePositionPatient information lost on DICOM series write

John Drescher drescherjm at gmail.com
Thu Jun 20 10:33:16 EDT 2013


It looks like the fix is in itk-4.3.0 but not in itk-4.2.1

https://github.com/Kitware/ITK/commit/160f17975134109b323e6e26e483aa196d96e315

John

On Wed, Jun 19, 2013 at 6:36 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I thought we had fixed this for itk v4... I'll have to dig deeper.
>
>
> On Wed, Jun 19, 2013 at 4:57 PM, John Drescher <drescherjm at gmail.com> wrote:
>>
>> > 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
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com



-- 
John M. Drescher


More information about the Insight-users mailing list