[ITK] Inserting new DICOM tags in MetaDataDictionary
Dženan Zukić
dzenanz at gmail.com
Mon Mar 6 12:54:48 EST 2017
Hi Markus,
doesn't Set
<https://itk.org/Doxygen/html/classitk_1_1MetaDataDictionary.html#a6c98b23c05798b6b616376ce060774c4>
method do what you want?
Regards,
Dženan
On Mon, Mar 6, 2017 at 11:55 AM, Markus Gramer <markus.gramer at kuleuven.be>
wrote:
> Hi everyone,
>
> I was wondering if there is a way to add non-existing DICOM tags to a
> MetaDataDictionary?
>
> I would like to export an image in Nifti format (pixel data type: float)
> to a DICOM image series. To do so, I read a reference DICOM image series,
> modify several tags in the MetaDataDictionaryArray and assign the Nifti
> image, rescaled to the range of unsigned short, together with the modified
> meta data to an image series writer.
> My idea was to modify the rescale intercept and slope tags (i.e. 0028|1052
> and 0028|1053) accordingly so I could approximate the float values of the
> Nifti input image.
> However, some DICOM images don’t seem to have the rescale intercept and
> slope tags, so I cannot modify them with itk::EncapsulateMetaData().
>
> Thanks in advance for any input,
>
> Markus
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170306/4aaf7867/attachment.html>
More information about the Community
mailing list