[ITK] [ITK-users] DicomTags when reading directory and generating mha or mhd...

Matias matimontg at gmail.com
Mon Mar 13 08:31:23 EDT 2017


Hi,

I'm reading a directory which contains a series of Dicoms and then writting
an .mha or .mhd file.

I noticed the tags are lost (patient name, capture device, dates, series
names, etc).

How can I keep this information? I use a resampler filter and I have tried:
resampler->SetMetaDataDictionary(reader->GetMetaDataDictionary());
writer->SetInput(resampler->GetOutput());
writer->UseInputMetaDataDictionaryOn();

With no luck..

Thank you,

Matias.



--
View this message in context: http://itk-users.7.n7.nabble.com/DicomTags-when-reading-directory-and-generating-mha-or-mhd-tp37989.html
Sent from the ITK - Users mailing list archive at Nabble.com.
_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list