Skip to content

Instantly share code, notes, and snippets.

@devforfu
Created November 20, 2019 11:26
Show Gist options
  • Save devforfu/54410e7e3e39442aeb6971171e358bbf to your computer and use it in GitHub Desktop.
Save devforfu/54410e7e3e39442aeb6971171e358bbf to your computer and use it in GitHub Desktop.
Example of DICOM file content
(0008, 0018) SOP Instance UID UI: ID_3d2ea4e22
(0008, 0060) Modality CS: 'CT'
(0010, 0020) Patient ID LO: 'ID_e758d530'
(0020, 000d) Study Instance UID UI: ID_ebb91b8154
(0020, 000e) Series Instance UID UI: ID_57e1457f93
(0020, 0010) Study ID SH: ''
(0020, 0032) Image Position (Patient) DS: ['-125', '26', '272.300049']
(0020, 0037) Image Orientation (Patient) DS: ['1', '0', '0', '0', '1', '0']
(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.48828125', '0.48828125']
(0028, 0100) Bits Allocated US: 16
(0028, 0101) Bits Stored US: 12
(0028, 0102) High Bit US: 11
(0028, 0103) Pixel Representation US: 0
(0028, 1050) Window Center DS: ['00036', '00036']
(0028, 1051) Window Width DS: ['00080', '00080']
(0028, 1052) Rescale Intercept DS: "-1024"
(0028, 1053) Rescale Slope DS: "1"
(7fe0, 0010) Pixel Data OW: Array of 524288 elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment