From Ohm

DCMTK

The DCMTK tool kit handles a DICOM file via the DcmFileFormat C++ class:

#include <dcmtk/config/osconfig.h>
#include <dcmtk/dcmdata/dctk.h>

DcmFileFormat *fileFormat = new DcmFileFormat();

The DcmFileFormat descriptor offers access to the image data stored in a .dcm or .ima file:

fileFormat->loadFile("filename.dcm");
DcmDataset *image = fileFormat->getDataset();

Retrieved from http://schorsch.efi.fh-nuernberg.de/roettger/index.php/MedicalVisualization/DCMTK

Page last modified on October 25, 2019, at 11:59 AM