This article will be the first article in the Ruby on Medicine (RoM) series focused on how Ruby can be applied to the medical domain.
In this tutorial, I will show you how to convert a DICOM file to a JPG image, which allows us to perform different operations on that image, which we will see in upcoming articles of this series.
What I find interesting and frustrating about DICOM is many imagers include the HUD in the actual image component of the file. DICOM is full of metadata, and, for example, the Phillips ultrasound units our baby scans have been done with include patient name and data in the image.
Loading these images up in something like OsiriX (a DICOM viewer for mac) then go ahead and superimpose the metadata in the DICOM file over the metadata visually-encoded in the image . Yo dawg, I herd u liek metadata! Sigh.