A Problems with dicominfo

2 visualizaciones (últimos 30 días)
Luis Isaac
Luis Isaac el 22 de Feb. de 2022
Respondida: Ganapathi Subramanian R el 6 de Oct. de 2023
Dear
I would like to read the meta data of a dicom dose matrix using:
fileRT="Z:\RD1.2.752.243.1.1.20220217094526656.2400.88768.dcm"
RSInfoRT=dicominfo(fileRT);
but the subprogram gives me an error:
Error using dicom_getFileDetails (line 14)
Unable to load file "Z:\RD1.2.752.243.1.1.20220217094526656.2400.88768.dcm".
Error in dicominfo (line 55)
fileDetails = dicom_getFileDetails(filename);
Is this a known issue with this program
Thanks in advance;
  1 comentario
Simon Chan
Simon Chan el 22 de Feb. de 2022
Double check the file exist or not:
if isfile(fileRT)
disp('file exist')
else
disp('File does not exist')
end

Iniciar sesión para comentar.

Respuestas (1)

Ganapathi Subramanian R
Ganapathi Subramanian R el 6 de Oct. de 2023
Hi Luis,
I understand that you are working with DICOM file and would like to know how to read meta data from the DICOM file. Please verify the existence of file in the path specified under the variable ‘fileRT’.
Kindly refer the below documentation for further information regarding how to read metadata from DICOM files.

Categorías

Más información sobre DICOM Format en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by