[Insight-users] Splitting a 4D MR dataset into 3D datasets according to timepoint; 3.20 and 4.0 differences

Mike Chinander chinander at gmail.com
Fri Jan 27 10:57:28 EST 2012


I have an MR dataset with six timepoints that I would like to split into
six 3D series. I use the code in DicomSeriesReadImageWrite2.cxx and change
the parameter for  AddSeriesRestriction to be "0020|0100" (temporal
position ID). SetUseSeriesDetails is set to 'true'. This works fine with
ITK-3.20 but with ITK-4.0 it leaves them in a single series. Here's what I
get with 3.20 (what I expect and want):

The directory:

/home/chinander/DicomTest/MR/

Contains the following DICOM Series:

1.3.46.670589.998.4456.1305829979500.50486011.600000023841857047041
1.3.46.670589.998.4456.1305829979500.50486011.600000023841857047042
1.3.46.670589.998.4456.1305829979500.50486011.600000023841857047043
1.3.46.670589.998.4456.1305829979500.50486011.600000023841857047044
1.3.46.670589.998.4456.1305829979500.50486011.600000023841857047045
1.3.46.670589.998.4456.1305829979500.50486011.600000023841857047046
===========================================================

and with ITK-4.0:

The directory:

/home/chinander/DicomTest/MR/

Contains the following DICOM Series:

1.3.46.670589.998.4456.1305829979500.5048

I originally ran this on Windows 7 with VS 2010 but have also just tried it
on Linux with gcc 4.43 and get the same behavior (I had ITK-3.16 on Linux
instead of ITK-3.20). I didn't see any changes to the GDCMSeriesFileNames
documentation between versions that would cause this. Has anyone else
encountered similar behavior or know what I'm doing wrong?

Thanks,

--Mike Chinander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120127/83530d23/attachment.htm>


More information about the Insight-users mailing list