[ITK] reading private tags returns weird strings

Francois.GIRINON at ensam.eu Francois.GIRINON at ensam.eu
Wed Aug 10 07:15:24 EDT 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160810/2af29d2c/attachment.html>


More information about the Community mailing list