biolab-unige / nifti2dicom

Convert 3D NIfTI images (and other formats supported by ITK) to DICOM 2D series
http://www.bio.dist.unige.it/
GNU General Public License v3.0
87 stars 23 forks source link

[integration wishlist] handle DcmMeta from dcmstack #31

Open yarikoptic opened 10 years ago

yarikoptic commented 10 years ago

There is a dcmstack project (https://github.com/moloney/dcmstack) by https://github.com/moloney which "allows series of DICOM images to be stacked into multi-dimensional arrays. These arrays can be written out as Nifti files with an optional header extension (the DcmMeta extension) containing a summary of all the meta data from the source DICOM files." more info: https://dcmstack.readthedocs.org/en/v0.6.1/Introduction.html It would be nice if nifti2dicom could use DcmMeta preserved by the dcmstack

drdanz commented 10 years ago

It would be a very useful feature, but unfortunately it is not supported by ITK, and I could not find a C++ implementation. Maybe it could be implemented in the ITK nifti file reader...