How to read DICOM RT Structure?

49 visualizaciones (últimos 30 días)
Yun Inn
Yun Inn el 4 de Mzo. de 2014
Respondida: SimonD el 22 de Sept. de 2020
I have a DICOM RT STRUCTURE file (attached) with 1 structure set. I tried dicomread(filename) but it returned an empty array. Are there any scripts to read DICOM RT STRUCTURE file with Matlab?

Respuesta aceptada

Thomas
Thomas el 4 de Mzo. de 2014
Editada: Thomas el 4 de Mzo. de 2014
or try
RSInfo=dicominfo('RS.ZZ_YUNINN_.dcm');
dicomwrite(1, 'RSDicomOut.dcm', RSInfo, 'CreateMode', 'Copy');
Then read
X=dicomread('RSDicomOut.dcm');
  13 comentarios
manuela
manuela el 3 de Sept. de 2014
Hello Zahra, I have the same problem as Thomas, Please let me know how you solved the problem files_out = {} Thank you very much, Manuela
zahra
zahra el 3 de Sept. de 2014
Hi Thomas, Excuse me I see your question now. I just did what Yun said put all of my CTs and structures to a single folder and run the code as : % Specify the path of the folder
directory='/Users/xxxx/Desktop/FolderA;
% Output into the same folder
files_out = scanDir(directory); Bests.

Iniciar sesión para comentar.

Más respuestas (2)

SimonD
SimonD el 22 de Sept. de 2020
This is now solved with a new MATLAB function:

MARIA LIZONDO
MARIA LIZONDO el 22 de Dic. de 2016
Hi all,
I have tried to use this code but I have problems to view the structure...
imshow(Str1)
Error using images.internal.imageDisplayValidateParams>validateCData (line 115)
Multi-plane image inputs must be RGB images of size MxNx3.
Error in images.internal.imageDisplayValidateParams (line 27)
common_args.CData = validateCData(common_args.CData,image_type);
Error in images.internal.imageDisplayParseInputs (line 78)
common_args = images.internal.imageDisplayValidateParams(common_args);
Error in imshow (line 222)
images.internal.imageDisplayParseInputs({'Parent','Border','Reduce'},preparsed_varargin{:});
Thanks in advance!
Maria
  2 comentarios
Mengxiao Wang
Mengxiao Wang el 25 de Mayo de 2018
Hi Maria, Can you solve the problem to view the structure? Thank you very much. Megan
Walter Roberson
Walter Roberson el 25 de Mayo de 2018
Editada: Walter Roberson el 25 de Mayo de 2018
What shows up for size(Str1) and class(Str1) ?

Iniciar sesión para comentar.

Categorías

Más información sobre DICOM Format 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