-
DICOM
文件可以大致分为两部分:
一部分:与图像相关的元信息,包括患者信息,检查信息,序列信息,图像信息等等。
另一部分:图像的像素数据。
在解析
DICOM
文件中的像素数据的时候,我们先
需要读取以下图像相关信息:
以下是某个
CT
影像中的图像信息示例:
(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.488281250.48828125
(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:
(0028,1051)
Window Width
VR: DS
Length:
12
Value:
(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: 6.228918
1.(0028,0002)
Samples per Pixel
每一个像素的取样数,
一般来说,
CT
,
MR
,
DR
等灰度图像都是
1
,
< br>而彩超等彩
**
图像都是
3
p>
,分别表示
R, G,
B
三个颜色通道。
2.(0028,0004)
Photometric Interpretation
我们经常碰到的
Photometric
Interpretation
有以下几种类型:
Monochrome2
一般的灰度图像都采用这种,
p>
Pixel
值越大,图像就越白。
-
-
-
-
-
-
-
-
-
上一篇:DICOM的常用Tag分类和说明
下一篇:象人读后感英文