Sign in
RadiAnt DICOM Viewer - Discussion Forum
overlay.xml syntax is hard

Jan 5, 2017 02:39 PM
by Tommy
just think about making the .xml file easier to edit....

an example of easy to understand and edit scheme comes from iQ-VIEW.
check this one which is about MR images.

BEGIN

SOPClassUID=1.2.840.10008.5.1.4.1.1.4; //MR Image Storage

LeftTopLabel1= [0010,0010]; // Patient Name
LeftTopLabel2= [0010,0030]; // Date Of Birth
LeftTopLabel3= [0010,0040] [0010,1010]; // Patient Sex // Patient Age
LeftTopLabel4= [];

RightTopLabel1= [0008,0060] - [0018,0087] T; // Modality // Magnetic Field Strenght
RightTopLabel2= [0008,0020]; // Study Date
RightTopLabel3= [0008,0031]; // Series Time
RightTopLabel4= [];

MiddleTopLabel= [];

LeftBottomLabel1= ST: [0018,0050]mm POS: [0020,1041]mm; // Slice Thickness // Slice Location
LeftBottomLabel2= TR: [0018,0080] TE: [0018,0081]; // TR // TE
LeftBottomLabel3= [0008,103E]; // Series Description
LeftBottomLabel4=[];

RightBottomLabel1= SE: [0020,0011] IMA: [0020,0013]; // Series Number and Image Number
RightBottomLabel2= [0018,0015]; //BodyPartExhamined
RightBottomLabel3= [];
RightBottomLabel4= [];

MiddleBottomLabel1=[0020,4000]; // Image Comments es. DS
MiddleBottomLabel2=[];

END


you just have to add the DICOM tag code (i.e. [0018,0015] ) and plain custom text if desired...

in my example, to obtain "ST: 5mm" in the first left bottom label of iQ-VIEW, you just have to type:

LeftBottomLabel1= ST: [0018,0050]mm


to obtain the same thing in RadiAnt you have to type:

<bl>
<i r="0"><e k="2" t="ST: "/><e k="1" i="00180050"/><e k="2" t="mm"/></i>


as you may see the syntax is more complicate and cumbersome.
any chance this can be made simpler?



Jan 8, 2017 12:59 PM
by RadiAnt
The ultimate goal is to implement some kind of a visual editor to make it really easy to edit the annotation templates.
Post reply
Author (first name or pseudonym):

Message:

Captcha image


Visitors can post messages on the forum without having to register. Please input your first name or pseudonym in the "Author" field. Do not publish any personally identifiable information (PII).

Please ensure you write your posts in English so that our international audience can understand and reply to your message.

The Administrator reserves the right to remove any messages that violate our forum rules; for example, those that are not related to the RadiAnt DICOM Viewer software, published in a language other than English, contravene regulations, etc.