Friday, February 10, 2012
Google Custom Search

ClearCanvas Highlights

Download our Open Source software
Watch some Videos
Get the Source
Check out our Licensing
Join our  Forums
Some Research: OICR IPP-Trials

Our Community

Membership Membership:
Latest New User Latest: 孙磊
New Today New Today: 1
New Yesterday New Yesterday: 27
User Count Overall: 20591

People Online People Online:
Visitors Visitors: 10
Members Members: 0
Total Total: 10

Online Now Online Now:

ClearCanvas Community Forums

Querying DICOM attributes
Last Post 2011-08-16 12:50 AM by Sunil. 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
xargon
Advanced Member
Advanced Member
Posts:38

--
2010-07-04 05:43 AM  

Hello,

I have an array of DICOM group and element identifiers that is the path to the attribute I am interested in. So all except the last attribute have a value representation of "sequence".

First question is if I have two integers (specifying the group and element), how do I create a DICOM tag out of it?

Second, is there already a built in facility in CC to do this sort of traversal. So if I have a list of tag identifiers that describe this multilevel nesting, can I traverse to the leaf node using the DICOM machinery in CC?

Many thanks,

xarg

stewart
Senior Member
Senior Member
Posts:2033

--
2010-07-12 04:18 PM  
DicomTag.GetTagValue(int group, int element) will give you the combined value that you can then use to look up the tag in the DicomTagDictionary.

As for accessing tags by path, that functionality doesn't exist, but it's a simple routine to write - probably only a few lines.

Best regards,
Stewart
Real-time support available to Clinical Edition and Team Edition customers
xargon
Advanced Member
Advanced Member
Posts:38

--
2010-07-23 09:36 PM  
Got it. Thanks for the reply.
Sunil
New Member
New Member
Posts:3

--
2011-08-16 12:50 AM  
Hi xargon,

i am also facing the same problem, am new to CC, can you please post the part of the code to read and display the tag value in the console which you got solved.
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2011 ClearCanvas Inc.