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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1132210/image.png)
0 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File 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!