[Insight-users] How to Write Sequence Data into a DICOM file, using ITK?
Subrahmanyam Gorthi
subrahmanyam.gorthi at gmail.com
Wed Jul 9 11:28:34 EDT 2008
Hi all,
This is regarding my previous query on writing sequence data into a DICOM
file:
For writing the DICOM sequence data using ITK, I was looking into the ITK
code of:
itkGDCMImageIO.* & itkImageIO.* for finding out any related methods.
but unable to figure out anything.
At the gdcm-library level, (in ITK\Utilities\gdcm\src) I saw DICOM sequence
data related classes
but not yet clear to me on how to use them at IMageIO level.
I would like to know:
1. In the current ITK, is it possible to write sequence data into a DICOM
file?
2. If it is possible to write sequence data, are there any examples in ITK
that deal with
sequence DICOM data?
If you can point out those examples, it will be very helpful to me.
3. In case if it's not possible currently to write the sequence data, can
you please advise me on
how to implement this?
I am currently trying to implement "itkRTSTRUCTIO" class (which is very
similar to
"itkGDCMImageIO" calss) for reading and writing RTSTRUCT data; for that, I
need
to process this sequence data.
Thank you very much for your help.
Warm Regards,
Subrahmanyam Gorthi.
EPFL-STI-LTS5
Station 11
CH - 1015 Lausanne
Switzerland
On Mon, Jul 7, 2008 at 6:53 PM, Subrahmanyam Gorthi <
subrahmanyam.gorthi at gmail.com> wrote:
> 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/20080709/bbb1e1b7/attachment-0001.htm>
More information about the Insight-users
mailing list