duck-dicom

DICOM extension for DuckDB

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

NOTE: This extension is not supported in WebAssembly.

Features

For more information and examples, see the API reference.

Quick start

INSTALL dicom FROM community;
LOAD dicom;

-- read one file
FROM read_dicom('path/to/dicom_file.dcm');

Get in touch

Feel free to share feedback, issues and feature requests in GitHub.