How to read DICOM medical imaging file metadata
Using the dcm-dump
command included in libdicom
dcm-dump <the-dcm-image>
$ File Meta Information===
===(0002,0001) FileMetaInformationVersion | OB | 2 | 1 | 00 01
...
(7fe0,7fe0) PixelData | OW | 524288 [
frame 0 | 524288 | 0000 0000 0000 0000 0000 0000 0000 0000 ...
]