2
在仔细阅读了几个关于相同类型问题的线程之后,我仍然不知道我的dicom加载问题发生了什么。XTK加载dicom文件时出错
这里是一件事:我有一个dicom数据集由193个.dcm文件组成,这些文件在我的服务器上列出的文本文件中。 .dcm文件位于同一台服务器上。
这里是我用得到的位置为每个.DCM文件并将它们加载到一个容积代码:
$.ajax({
url:'files/T1.txt',
success: function (data) {
var tmpdata=data.toString();
var filenames=tmpdata.split('\n');
T1slice = new X.renderer2D();
T1slice.container = 'T12D';
T1slice.orientation = 'Z';
T1slice.init()
T1volume= new X.volume();
T1volume.file = filenames.sort().map(function(v) {return v;});
T1slice.add(T1volume);
T1slice.render();
}
});//end of ajax query
我得到的控制台消息告诉我,每.DCM文件打开就好了(或至少我认为这是它说)
GET http://localhost/titan2.0/files/VG/t1_axial_stea...echo1/t1_axial_stealth-post-12_echo1_I000192.dcm 200 OK 1.67s loader.js (line 241)
然后我收到以下错误信息:
Unknown number of bits allocated - using default: 32 bits parserDCM.js (line 316)
TypeError: first_image_data is null
this._slices = object._children[this._orientationIndex]._children;
renderer2D.js (line 657)
TypeError: object._children[this._orientationIndex] is undefined
this._slices = object._children[this._orientationIndex]._children;
renderer2D.js (line 657)
任何帮助将不胜感激。
良好的渔获物。它不会在切片加载。所以它可能是损坏的dcm文件或错误的格式或不是...任何想法如何进一步调查? – JLecoeur
当然是XTK中的一个bug,那么有没有什么办法可以共享数据集,或者至少有一次切片? 要调试它,你可以使用'未编译'版本的XTK。 IO/parserDCM.js中的一定是错误的 – Nicolas
这是一个指向包含匿名化dicom的压缩存档的链接:http://tinyurl.com/llvtgu8 – JLecoeur