[ITK-users] Private Tags with itk 4.7 and gdcm

Dženan Zukić dzenanz at gmail.com
Fri Apr 7 21:43:09 EDT 2017


Hi Syed,

I think that you need to do base64-decoding. E.g. MlwtNVwyNSA= yields
2\-5\25

Regards,
Dženan

On Fri, Apr 7, 2017 at 5:29 PM, Nauman, Syed (GE Healthcare, consultant) <
syed.nauman at ge.com> wrote:

> Hello,
>
> I read some posts about private tags not working properly but couldn’t
> find a way to load private tags.
>
>
>
> I’m using DicomSeriesReadPrintTags_8cxx
>
>
>
> And I used
>
> dicomIO->LoadPrivateTagsOn()
>
>
>
> and
>
> nameGenerator->SetLoadPrivateTags ( true );
>
>
>
> But I get values for all private tags as
>
>
>
> (0043|10a8)  = MlwtNVwyNSA=
>
>
>
> I can view using any tool to see  the value as
>
> (0043|10b2) Private tag data                   LO: ['9548', '162.6',
> '338.391', '-2.870712']
>
>
>
> I wonder shall I need to add this tag in dictionary as well?
>
> I tried playing around with the gdcm dictionary like;
>
> const gdcm::Global &g = gdcm::Global::GetInstance();
>
> const gdcm::Dicts &dicts = g.GetDicts();
>
> const gdcm::Dict & pubdict=dicts.GetPublicDict();
>
>
>
> but it doesn’t provide any example or any source about how to use private
> dictionaries or add any tag values in that?
>
> Can some one please help here with some source code about how to resolve
> this issue with itk 4.7 and gdcm 2.2
>
>
>
> Thanks,
>
>
>
>
>
>
>
>
>
>
>
>
>
> _____________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170407/0f1d172a/attachment.html>


More information about the Insight-users mailing list