DICOM to bitmap conversion

Dr Mark Thurston and Dr Matt Adams et al.

DICOM to bitmap conversion describes the process of converting medical images stored within DICOM file format to raw pixel data. Computer vision techniques for processing image data usually work on raw pixel values and therefore this conversion is required before further processing may take place.

DICOM image storage

Image data within DICOM storage standard files may be encoded in several different formats including JPEG, JPEG 2000, lossless JPEG, and run length encoded. However, knowledge of this underlying storage format is not necessary for loading the pixel data into a machine learning application where data will be typically stored as an array of floating point values.


Many libraries are available to perform this task including the open source dcmtk and gdcm. It is therefore not necessary to reinvent the wheel when designing processes involving DICOM to raw pixel data conversion. Library implementations are recommended wherever possible as they will be well documented and tested, and, therefore, far more reliable.

Share article

Article information

rID: 68132
Synonyms or Alternate Spellings:

Support Radiopaedia and see fewer ads

Updating… Please wait.

 Unable to process the form. Check for errors and try again.

 Thank you for updating your details.