<span style="font-family: verdana,sans-serif;">Hi all,</span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">This is regarding my previous query on writing sequence data into a DICOM file:</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">For writing the DICOM sequence data using ITK, I was looking into the ITK code of: </span><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">itkGDCMImageIO.* & itkImageIO.* for finding out any related methods.</span><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">but unable to figure out anything.</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">At the gdcm-library level, (in ITK\Utilities\gdcm\src) I saw DICOM sequence data related classes</span><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">but not yet clear to me on how to use them at IMageIO level.</span><br style="font-family: verdana,sans-serif;"><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">I would like to know:</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="color: rgb(255, 0, 0); font-family: verdana,sans-serif;">1. In the current ITK, is it possible to write sequence data into a DICOM file?<br><br>2. If it is possible to write sequence data, are there any examples in ITK that deal with <br>
sequence DICOM data?</span><br style="color: rgb(255, 0, 0); font-family: verdana,sans-serif;"><span style="color: rgb(255, 0, 0); font-family: verdana,sans-serif;"> If you can point out those examples, it will be very helpful to me.<br>
<br>3. In case if it's not possible currently to write the sequence data, can you please advise me on<br> how to implement this?<br></span><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">I am currently trying to implement "itkRTSTRUCTIO" class (which is very similar to <br>
"itkGDCMImageIO" calss) for reading and writing RTSTRUCT data; for that, I need<br>to process this sequence data.<br><br><br>Thank you very much for your help.</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Warm Regards,</span><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Subrahmanyam Gorthi.</span><br style="font-family: verdana,sans-serif;">
<br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">EPFL-STI-LTS5</span><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Station 11</span><br style="font-family: verdana,sans-serif;">
<span style="font-family: verdana,sans-serif;">CH - 1015 Lausanne</span><br style="font-family: verdana,sans-serif;"><span style="font-family: verdana,sans-serif;">Switzerland</span><br><br><br><br><div class="gmail_quote">
On Mon, Jul 7, 2008 at 6:53 PM, Subrahmanyam Gorthi <<a href="mailto:subrahmanyam.gorthi@gmail.com">subrahmanyam.gorthi@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>When the tag value is not a sequence, I was writing that tag into the DICOM file using:<br>itk::EncapsulateMetaData<string>(dictWriter, tagID, tagValue);<br><br>I want to know how to write the data when it's a sequence?<br>
<br>For instance, how to write the following sequence?<br><br>(0x3006,0x0020) Structure Set ROI Sequence <b><sequence of elements given below....></b><br> ----:<br> > (0x3006,0x0022) ROI Number <b><1> </b><br>
> (0x3006,0x0024) Referenced Frame of Reference UID <b><1.2.840.113619.2.55.3.464283444.427.1208496883.210.11425.1> </b><br> > (0x3006,0x0026) ROI Name <b><HT></b> <br> > (0x3006,0x0036) ROI Generation Algorithm <b><> <br>
</b> ----:<br> > (0x3006,0x0022) ROI Number <b><2></b> <br> > (0x3006,0x0024) Referenced Frame of Reference UID <b><1.2.840.113619.2.55.3.464283444.427.1208496883.210.11425.1></b> <br> > (0x3006,0x0026) ROI Name <b><TATOU ></b> <br>
> (0x3006,0x0036) ROI Generation Algorithm <b><> </b><br> ----:<br><br><br>Thank you very much.<br><br>Warm Regards,<br>Subrahmanyam Gorthi.<br><br>EPFL-STI-LTS5<br>Station 11<br>CH - 1015 Lausanne<br>Switzerland<br>
<br>
</blockquote></div><br>