본문 바로가기
컴퓨터쟁이/Bioinformatics

DICOM metadata 확인

by 빙글빙글이 2022. 2. 14.
728x90
반응형

DICOM 파일은 의료영상 데이터를 저장하는 파일 형식으로, 

 

metadata 정보가 아래와 같은 방식(예시파일)으로 규칙적인 형태로 저장되어 있다.

[Dataset.file_meta -------------------------------
 (0002, 0000) File Meta Information Group Length  UL: 214
 (0002, 0001) File Meta Information Version       OB: b'\x00\x01'
 (0002, 0002) Media Storage SOP Class UID         UI: CT Image Storage
 (0002, 0003) Media Storage SOP Instance UID      UI: 1.2.392.200036.9123.100.200.20090115165425.2009011516542502.45
 (0002, 0010) Transfer Syntax UID                 UI: Explicit VR Little Endian
 (0002, 0012) Implementation Class UID            SH: '1.2.410.200001.99.2.2030.1'
 (0002, 0013) Implementation Version Name         SH: 'GDCM 2.8.8'
 (0002, 0016) Source Application Entity Title     AE: 'gdcmanon'
 -------------------------------------------------
 (0008, 0000) Group Length                        UL: 496
 (0008, 0008) Image Type                          CS: ['ORIGINAL', 'PRIMARY', 'AXIAL']
 (0008, 0016) SOP Class UID                       UI: CT Image Storage
 (0008, 0018) SOP Instance UID                    UI: 1.2.392.200036.9123.100.200.20090115165425.2009011516542502.45
 (0008, 0020) Study Date                          DA: '20090115'
 (0008, 0021) Series Date                         DA: '20090115'
 (0008, 0022) Acquisition Date                    DA: '20090115'
 (0008, 0023) Content Date                        DA: '20090115'
 (0008, 0030) Study Time                          TM: '165425.000000'
 (0008, 0031) Series Time                         TM: '165425.000000'
 (0008, 0032) Acquisition Time                    TM: '165425.000000'
 (0008, 0033) Content Time                        TM: '165425.000000'
 (0008, 0050) Accession Number                    SH: ''
 (0008, 0060) Modality                            CS: 'CT'
 (0008, 0070) Manufacturer                        LO: 'Hitachi Medical Corporation'
 (0008, 0080) Institution Name                    LO: 'Kyung Pook National University HP'
 (0008, 0090) Referring Physician's Name          PN: ''
 (0008, 1010) Station Name                        SH: 'HMTC Dental'
 (0008, 1030) Study Description                   LO: '20090115165425'
 (0008, 103e) Series Description                  LO: 'Series0001'
 (0008, 1040) Institutional Department Name       LO: 'DEPT. NAME'
 (0008, 1070) Operators' Name                     PN: ''
 (0008, 1090) Manufacturer's Model Name           LO: 'CB MercuRay'
 (0010, 0000) Group Length                        UL: 72
 (0010, 0010) Patient's Name                      PN: ''
 (0010, 0020) Patient ID                          LO: ''
 (0010, 0030) Patient's Birth Date                DA: '19851203'
 (0010, 1030) Patient's Weight                    DS: '10.0'
 (0018, 0000) Group Length                        UL: 164
 (0018, 0010) Contrast/Bolus Agent                LO: 'NONE'
 (0018, 0015) Body Part Examined                  CS: 'CTO'
 (0018, 0022) Scan Options                        CS: ''
 (0018, 0050) Slice Thickness                     DS: '0.377'
 (0018, 0060) KVP                                 DS: '120.0'
 (0018, 1000) Device Serial Number                LO: '0'
 (0018, 1100) Reconstruction Diameter             DS: '193.024'
 (0018, 1120) Gantry/Detector Tilt                DS: '0.0'
 (0018, 1130) Table Height                        DS: '0.0'
 (0018, 1150) Exposure Time                       IS: '10000'
 (0018, 1151) X-Ray Tube Current                  IS: '15'
 (0018, 5100) Patient Position                    CS: 'HFS'
 (0018, 5101) View Position                       CS: ''
 (0020, 0000) Group Length                        UL: 368
 (0020, 000d) Study Instance UID                  UI: 1.2.392.200036.9123.100.200.20090115165425
 (0020, 000e) Series Instance UID                 UI: 1.2.392.200036.9123.100.200.20090115165425.2009011516542502
 (0020, 0010) Study ID                            SH: '20090115165425'
 (0020, 0011) Series Number                       IS: '1'
 (0020, 0013) Instance Number                     IS: '45'
 (0020, 0020) Patient Orientation                 CS: ['L', 'P']
 (0020, 0032) Image Position (Patient)            DS: [96.512000, -96.512000, 16.588000]
 (0020, 0037) Image Orientation (Patient)         DS: [1.0000, 0.0000, 0.0000, 0.0000, 1.0000, 0.0000]
 (0020, 0052) Frame of Reference UID              UI: 1.2.392.200036.9123.100.200.20090115165425.1
 (0020, 0060) Laterality                          CS: ''
 (0020, 1000) Series in Study                     IS: '1'
 (0020, 1002) Images in Acquisition               IS: '288'
 (0020, 1040) Position Reference Indicator        LO: ''
 (0020, 1041) Slice Location                      DS: '16.588'
 (0028, 0000) Group Length                        UL: 160
 (0028, 0002) Samples per Pixel                   US: 1
 (0028, 0004) Photometric Interpretation          CS: 'MONOCHROME2'
 (0028, 0010) Rows                                US: 512
 (0028, 0011) Columns                             US: 512
 (0028, 0030) Pixel Spacing                       DS: [0.377000, 0.377000]
 (0028, 0100) Bits Allocated                      US: 16
 (0028, 0101) Bits Stored                         US: 16
 (0028, 0102) High Bit                            US: 15
 (0028, 0103) Pixel Representation                US: 1
 (0028, 1050) Window Center                       DS: '1000.0'
 (0028, 1051) Window Width                        DS: '4000.0'
 (0028, 1052) Rescale Intercept                   DS: '0.0'
 (0028, 1053) Rescale Slope                       DS: '1.0'
 (0032, 0000) Group Length                        UL: 8
 (0032, 4000) Study Comments                      LT: ''
 (7fe0, 0000) Group Length                        UL: 524300
 (7fe0, 0010) Pixel Data                          OW: Array of 524288 elements,

 

여기서 내가 찾고싶은 meta data가 있을 경우에 

 

DICOM standard Brower를 참고하면서 어떤 속성들을 왜 써야하는지를 이해하려고하고 있다. 

 

아래처럼 Detail에 내가 찾고싶은 metadata 속성에 대한 정보를 볼 수 있다.

 

 

"Instance Number Attribute" 정보를 알고 싶어서 찾아보았을 때, 나오는 형태 확인.

 

 

 

https://dicom.innolitics.com/ciods

 

All CIODs – DICOM Standard Browser

Welcome The purpose of this application is to make the DICOM standard easier to navigate for software developers, researchers, and radiologists. The main pane displays Part 3 of the DICOM standard as a tree. The top nodes are CIODs, their children are modu

dicom.innolitics.com

 

728x90
반응형