[ITK] reading private tags returns weird strings

Dženan Zukić dzenanz at gmail.com
Wed Aug 10 08:34:40 EDT 2016


Hi Francois,

is this base64 encoded? You should perhaps do base64 decode on the return
string to get the binary value.

Regards,
Dženan

On Wed, Aug 10, 2016 at 7:15 AM, <Francois.GIRINON at ensam.eu> wrote:

> Hi,
>
> I'm trying to read private dicom tags using :
>
>     ImageIOType::Pointer dicomIO = ImageIOType::New();
>     ...
>     dicomIO->SetLoadPrivateTags(true);
>     std::string offsetFromBottomStr;
>
>     std::string offsetFromBottom = "0863|1041";
>     dicomIO->GetValueFromTag(offsetFromBottom, offsetFromBottomStr);
>
> The value *offsetFromBottomStr *returned is *AICTQw==*
> How does it come and how can I fix this ?
>
> Thank you,
> François.
>
> _______________________________________________
> 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/20160810/d52ddf14/attachment.html>


More information about the Community mailing list