Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unrestricted VR example

60 views
Skip to first unread message

Mathieu Malaterre

unread,
Dec 23, 2015, 9:14:50 AM12/23/15
to
As a follow up to my earlier post, here is an example of file with unrestricted Value Representation(s):

http://gdcm.sourceforge.net/thingies/UnrestrictedVRExample.dcm

Since the standard currently does not restrict Value Representation to have any particular `byte` value all parsers should be able to parse this file as if the VRs were UN.

Enjoy.

David Clunie

unread,
Dec 23, 2015, 11:42:22 AM12/23/15
to
As we discussed by email, DICOM does restrict the VR to be bytes from the default character set as you noted:

http://dicom.nema.org/medical/dicom/current/output/chtml/part05/chapter_7.html#para_8c6abdc8-2439-4aae-bdd0-98f7c35fd830

and that is very constrained (to G0 plus a few control characters) as described in Annex E:

http://dicom.nema.org/medical/dicom/current/output/chtml/part05/chapter_E.html

It is unlikely that DICOM will in future define VRs containing control characters :)

David

Mathieu Malaterre

unread,
Dec 28, 2015, 4:47:18 AM12/28/15
to
I've fixed my sample DataSet in-place to only contains character from G0 (no control character to avoid confusion).

Cheers
0 new messages