[Insight-users] How to Write Sequence Data into a DICOM file, using ITK?

Subrahmanyam Gorthi subrahmanyam.gorthi at gmail.com
Mon Jul 7 12:53:01 EDT 2008


Hi all,

When the tag value is not a sequence, I was writing that tag into the DICOM
file using:
itk::EncapsulateMetaData<string>(dictWriter, tagID, tagValue);

I want to know how to write the data when it's a sequence?

For instance, how to write the following sequence?

(0x3006,0x0020) Structure Set ROI Sequence *<sequence of elements given
below....>*
  ----:
    > (0x3006,0x0022) ROI Number     *<1> *
    > (0x3006,0x0024) Referenced Frame of Reference UID
*<1.2.840.113619.2.55.3.464283444.427.1208496883.210.11425.1>
*
    > (0x3006,0x0026) ROI Name     *<HT>*
    > (0x3006,0x0036) ROI Generation Algorithm      *<>
*  ----:
    > (0x3006,0x0022) ROI Number     *<2>*
    > (0x3006,0x0024) Referenced Frame of Reference UID      *
<1.2.840.113619.2.55.3.464283444.427.1208496883.210.11425.1>*
    > (0x3006,0x0026) ROI Name    *<TATOU >*
    > (0x3006,0x0036) ROI Generation Algorithm *<> *
  ----:


Thank you very much.

Warm Regards,
Subrahmanyam Gorthi.

EPFL-STI-LTS5
Station 11
CH - 1015 Lausanne
Switzerland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080707/66cabdb2/attachment.htm>


More information about the Insight-users mailing list