Kiyokawa / pydicom

Automatically exported from code.google.com/p/pydicom
0 stars 0 forks source link

problem with UN VR type #159

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, 
Im a new user of python and I need to read the information of the dicom tags. I 
was using pydicom but I have a problem. If the tag is 'UN' unknown, pydicom it 
is no capable to read it. I'm a usually Matlab user and, "dicominfo" is capable 
o do it, like you can see in his code : 

"case 'UN'

    % It's possible that the attribute contains a private sequence
    % with implicit VR; in which case the Data field contains the
    % parsed sequence.
    if (isstruct(rawAttr.Data))
        processedAttr = parseSequence(rawAttr.Data);
    else
        processedAttr = rawAttr.Data';
    end"
My question is if you have any idea about I can read this 'UN' tag with pydicom.

Thanks,
Manuela 
manuelinya@gmail.com

Original issue reported on code.google.com by manueli...@gmail.com on 12 Jun 2015 at 3:47

GoogleCodeExporter commented 8 years ago
Hi, we are over on github now.  Please create an issue over there 
(https://github.com/darcymason/pydicom/issues/new) and we can discuss further.

But quick first answer ... pydicom should handle UN, just returning it as 
bytes.  Can you provide more detail on the error message you are getting?

Original comment by darcymason@gmail.com on 12 Jun 2015 at 5:15