How to rename ROI Name of the rtstructure file of the DICOM?

3 次查看(过去 30 天)
I have the list of the ROI number, ROI name, contour data, geometry type of the strucutre file (rs.dcm) in the DICOM format. I want to rename the ROI name. How can i do that? I wnat to rename 'Bowel' as 'Sigmoid'.
Thank you

回答(1 个)

Moksh
Moksh 2023-9-15
Hi Suman,
I understand that you have DICOM geometry data that includes information about different regions of interest (ROIs). You would like to modify the name of the second ROI from "Bowel" to "Sigmoid".
I am assuming that you have the data available in a table structure in the MATLAB workspace. Therefore, you can use the appropriate index values to modify the content of the specific cell to the desired value.
Here is an example code:
% Index of the cell you want to edit (Assuming an index here)
rowIndex = 2;
columnIndex = 2;
% Assigning a new cell to this index (Assuming the variable name for table is "data")
val = {"Sigmoid"};
data{rowIndex, columnIndex} = val;
Please refer to the below documentation for more information about manipulating table data in MATLAB:
Hope this information is helpful!
Best Regards,
Moksh Aggarwal

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by