Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Suman Gautam
Suman Gautam el 21 de Sept. de 2022
Respondida: Moksh el 15 de Sept. de 2023
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

Respuestas (1)

Moksh
Moksh el 15 de Sept. de 2023
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

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by