Skip to content
DuckDB community extension

dicom

DuckDB integration with medical imaging data (DICOM - Digital Imaging and Communication in Medicine).

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL dicom FROM community;
LOAD dicom FROM community;

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

SQL
FROM read_dicom('path/to/dicom_file.dcm');

Provided by nmontesg. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

The dicom extension for DuckDB provides functionality to import medical imaging data (DICOM, Digital Imaging and Communication in Medicine) directly into DuckDB. It uses the powerful DCMTK C++ library to read DICOM files and convert them into JSON format.

For full documentation and examples, see the project documentation.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
nmontesg/duck-dicom
License
MIT
Maintainers
nmontesg
Written in
C++
Build source
84d789a585bf
Build definition
Community descriptor