A Problems with dicominfo

조회 수: 2 (최근 30일)
Luis Isaac
Luis Isaac 2022년 2월 22일
답변: Ganapathi Subramanian R 2023년 10월 6일
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
Simon Chan
Simon Chan 2022년 2월 22일
Double check the file exist or not:
if isfile(fileRT)
disp('file exist')
else
disp('File does not exist')
end

댓글을 달려면 로그인하십시오.

답변 (1개)

Ganapathi Subramanian R
Ganapathi Subramanian R 2023년 10월 6일
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.

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by