Numpyarray数据存储在.pkl格式文件中.如何获得图像从这个Numpyarray存储在.pkl格式?



我以.pkl文件格式将数据存储在NumPy数组中。我我只知道数据是由低剂量CT DICOM图像组成的。但是作为数组格式的数据我不知道原来的图片看看喜欢的。我被困在这一点上,可能我的问题也是无效的但是,有人知道吗?我不知道我的问题是否有效,但是我我在这里很困惑,我想从中获取图像

这是。pkl格式文件lowDose_CT。当我读取这个文件时我得到以下输出

输出[[array([[]] -1000, -1000, -1000,…][-1000, -1000, -1000],[-1000, -1000, -1000,…][-1000, -1000, -1000],[-1000, -1000, -1000,…][-1000, -1000, -1000],…,[-1000, -1000, -1000,…][-1000, -1000, -1000],[-1000, -1000, -1000,…][-1000, -1000, -1000],[-1000, -1000, -1000,…], -1000, -1000, -1000]],

[[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
...,
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000]],
[[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
...,
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000]],
...,
[[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
...,
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000]],
[[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
...,
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000]],
[[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
...,
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000]]], dtype=int16), array([[[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
[-1000, -1000, -1000, ..., -1000, -1000, -1000],
...,........

您也许应该考虑使用可以显示这种格式的程序。据我所知,在某些地方得到-1000 HU是正常的,因为这代表了空气的辐射密度。

相关内容

  • 没有找到相关文章