From: Joy on
Hi All,

By using dicominfo command, RT structures can be successfully
extracted from its dicom file. Then my question is: After I edit RT
structures, how can I use dicomwrite command to write modified
content back to its corresponding dicom RT structure file? I faid in
the following scheme in MatlabR14SP2.

RSInfo=dicominfo('RSDicom.dcm');
X=dicomread(RSInfo);
dicomwrite(X, 'CreateMode', 'Copy', 'Info', RSInfo);

Is there workaround to this problem?

Thanks!

Joy
From: Joy on
Hi All,

I got the solution for writing RT Structure file. I have to say that
Matlab is really powerful and helpful programming language.

Solution:
RSInfo=dicominfo('RSDicomIn.dcm');
dicomwrite(1, 'RSDiconOut.dcm', RSInfo, 'CreateMode', 'Copy');

Thanks!

Joy

Joy wrote:
>
>
> Hi All,
>
> By using dicominfo command, RT structures can be successfully
> extracted from its dicom file. Then my question is: After I edit RT
>
> structures, how can I use dicomwrite command to write modified
> content back to its corresponding dicom RT structure file? I faid
> in
> the following scheme in MatlabR14SP2.
>
> RSInfo=dicominfo('RSDicom.dcm');
> X=dicomread(RSInfo);
> dicomwrite(X, 'CreateMode', 'Copy', 'Info', RSInfo);
>
> Is there workaround to this problem?
>
> Thanks!
>
> Joy