A high-performance Go library and CLI tool for parsing, writing, and working with DICOM medical image files.
dicom is a high-performance Go library and command-line tool for parsing, writing, and working with DICOM medical image files. It solves the need for a native, efficient, and full-featured DICOM parser in the Go programming language, enabling developers to handle medical imaging data without relying on external or legacy tools.
Go developers building applications in healthcare, medical imaging, telemedicine, or research that require processing DICOM files. It's also suitable for creating tools for radiologists, medical researchers, or health tech startups.
Developers choose dicom for its high performance, modern Go design, and comprehensive feature set—including multi-frame parsing, streaming capabilities, and read/write support—all within a single, well-maintained library tailored for the Go ecosystem.
⚡High Performance DICOM Medical Image Parser in Go.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports both encapsulated and native pixel data, enabling high-performance handling of complex DICOM imagery as highlighted in the features list.
Uses Go channels to stream frames during parsing, allowing real-time processing without waiting for the entire file to load, as mentioned in the notable features.
Built with canonical Go practices, supports modules, and is JSON serializable out of the box, making it easy to integrate into modern Go projects.
Can encode and write Datasets back to DICOM files, providing full round-trip support for medical imaging data.
The CLI tool does not apply automatic intensity scaling for native pixel data, requiring manual adjustment in image viewers, as noted in the usage instructions.
v1.0 is a complete rewrite with different architecture and APIs, which can cause migration issues for users of the previous v0 version.
Lacks built-in support for DICOM networking protocols or advanced image processing, focusing primarily on parsing and basic manipulation.