フィルターのクリア

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 Center および File Exchange3-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