/import_dicom_cpp

Open DICOMs in C++ apps via pybind11

Primary LanguageC++

import_dicom_cpp

This is just a light pybind11 wrapper around pydicom (https://pydicom.github.io/) launching a Python interpreter to use the capabilities of pydicom to open DICOMs in C++ applications.

It needs to be built with a Python interpreter with pydicom installed.

Usage

This is a header-only library. See test for a usage example. If you only use ImageToNumpy.hpp no external dependencies apart from a Python interpreter are needed. NumpyToOpenVdb.hpp requires OpenVDB (libopenvdb-dev on Ubuntu).