- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
DICOM 文件可以大致分为两部分:
一部分:与图像相关的元信息,包括患者信息,检查信息,序列信息,图像信息等等。
另一部分:图像的像素数据。
在解析DICOM 文件中的像素数据的时候,我们先需要读取以下图像相关信息:
以下是某个C 影像中的图像信息示例:
(0028,0002) Samples per Pixel VR: US Length: 2 Value: 1
(0028,0004) Photometric Interpretation VR: CS Length: 12 Value:
MONOCHROME2
(0028,0010) Rows VR: US Length: 2 Value: 512
(0028,0011) Columns VR: US Length: 2 Value: 512
(0028,0030) Pixel Spacing VR: DS Length: 22 Value: 0.\0.
(0028,0100) Bits Allocated VR: US Length: 2 Value: 16
(0028,0101) Bits Stored VR: US Length: 2 Value: 12
(0028,0102) High Bit VR: US Length: 2 Value: 11
(0028,0103) Pixel Representation VR: US Length: 2 Value: 0
(0028,1050) Window Center VR: DS Length: 12 Value:
00100\00100
(0028,1051) Window Width VR: DS Length: 12 Value:
00500\00500
(0028,1052) Rescale Intercept VR: DS Length: 6 Value: -1000
(0028,1053) Rescale Slope VR: DS Length: 2 Value: 1
(0028,2110) Lossy Image Compression VR: CS Length: 2 Value: 01
(0028,2112) Lossy Image Compression Ratio VR: DS Length: 8 Value:
1.(0028,0002) Samples per Pixel
每一个像素的取样数,一般来说,CT,MR,DR 等灰度图像都是1,而彩超等彩**图
像都是3,分别表示R, G, B 三个颜色通道。
2.(0028,0004) Photometric Interpretation
我们经常碰到的Photometric Interpretation 有以下几种类型:
Monochrome2 一般的灰度图像都采用这种,Pixel 值越大,图像就越白。
Monochrome1 只有部分CR, DR 图像使用,Pixel 值越大,图像就越黑。
Palette Colour 一般用于彩超图像,每个像素占用8 位或者16 位,调色板保存在
[0028,1201]RedPaletteColorLookupTableData, [0028,1202]GreenPaletteColorLookupTableData,
[0028,1203]BluePaletteColorLookupTableData 的属
文档评论(0)