[ITK] [ITK-users] Reading private tags

Jothybasu Selvaraj jothybasu at gmail.com
Mon Nov 28 02:44:59 EST 2016


Thanks to all you guys. It works by turning on

gdcmIO->SetLoadPrivateTags(true);

gdcmIO->SetLoadSequences(true);



Cheers


Jothy



On Sat, Nov 26, 2016 at 2:06 AM, Dženan Zukić <dzenanz at gmail.com> wrote:

> Hi Jothy,
>
> you should call SetLoadPrivateTags
> <https://itk.org/Doxygen/html/classitk_1_1GDCMImageIO.html#a26ea3d5e85c0e6a7a614cbfbc05c4478> method
> on GDCMImageIO. See also read tags example
> <https://itk.org/Doxygen/html/Examples_2IO_2DicomImageReadPrintTags_8cxx-example.html>
> .
>
> Regards,
> Dženan
>
>
> On Fri, Nov 25, 2016 at 4:54 AM, Jothybasu Selvaraj <jothybasu at gmail.com>
> wrote:
>
>> Hi Guys
>>
>> How do I read a private tag using gdcm?
>>
>> I tried both ITK::GDCMIO and also gdcm seperately. GDCM docs say we need
>> to to enable ReadSelectedPrivateTags()
>>
>> Is there any example?
>>
>> Thanks
>>
>> Jothy
>>
>>
>> _____________________________________
>> 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/community/attachments/20161128/81386876/attachment.html>
-------------- next part --------------
_____________________________________
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