필터 지우기
필터 지우기

ERROR occurs when I convert dimcomRT to malab

조회 수: 3 (최근 30일)
SUSIE RYU
SUSIE RYU 2021년 2월 4일
댓글: Walter Roberson 2021년 2월 4일
I made RT structure of BODY and Lungs with 3D slicer.
However, when I convert my RT data to matlab, a warning appears and then an error occurs.
The warining and errors are followed:
Warning: File and dictionary VR values do not match for attribute "ContourData" (3006,0050). Expected: DS. Found: UN. Consider setting the 'UseDictionaryVR' parameter to true.
Error using reshape
Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate size for that dimension.
Error in dicomrt2matlab>readRTstructures (line 66)
segments{j} = reshape(rtssheader.ROIContourSequence.(ROIContourSequence{i}).ContourSequence.(ContourSequence{j}).ContourData, ...
Error in dicomrt2matlab (line 25)
contours = readRTstructures(rtssheader, imageheaders,ROIName); %#ok
I attached my code.
Why this warning and error occurs? and how can I solve this?
Best regard, Sue
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 2월 4일
That brings to mind a case in which the scanner saved contours using a custom Transfer Syntax that involved storing the actual data in a private attribute and storing non-compliant information in some of the headers.
At the moment I do not recall which manufacturer it was... part of my memory is saying "GE!" but a different part is saying "No, it was something else".
IIRC, debugging that involved having to load in a private directory that I cobbled together from a couple of sources.
Unfortunately I was not able to figure out how the data was encoded in the private attributes in that case. It looked like I was getting somewhere, but the sizes did not match.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 3-D Volumetric Image Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by