Reading Dicom files in Dlang

rnd r_narang at yahoo.com
Fri May 31 11:17:01 UTC 2019


Is it possible to read Dicom (https://en.wikipedia.org/wiki/DICOM 
) images (which are widely used in medical field) using D 
language?

Dicom specifications are given here: 
https://www.dicomstandard.org/current/

There is some discussion on this topic on this page but no 
details on this forum: 
https://forum.dlang.org/post/fsjefp$10sp$1@digitalmars.com

I do not think there are any specific d library for this purpose 
but there are many C libraries available, e.g. :

https://dicom.offis.de/dcmtk.php.en

and

https://github.com/dgobbi/vtk-dicom

There is some discussion here on using C for reading Dicom files 
on [this forum][3].

Can one of these libraries be used to read Dicom images in D 
language?

PS: Sample Dicom images are available here: 
https://www.dicomlibrary.com/

Wrapper for Imebra has been suggested here 
(https://stackoverflow.com/questions/56278268/reading-dicom-files-in-dlang ) but it is not working.


More information about the Digitalmars-d-learn mailing list