how are dicom images stored?
A DICOM file consists of a header and image data sets, all packed into a single file [Figure 2]. ... [5] These data are stored as a long series of 0s and 1s, which can be reconstructed as the image by using the information from the header.