Introduction
A DICOM library and command line in Go: reading and writing files, pixel data in every transfer syntax it lists, the network services, a DICOMweb client and server, de-identification, and validation.
These pages are the guides. The reference for every package is on pkg.go.dev, and what the library does and does not do, service by service and syntax by syntax, is in the conformance statement.
Start here
- Examples: the common jobs: each job as a command line and as Go, every sample run by the tests.
- Coming from pydicom: the calls you know and their equivalents here.
- Coming from dcmtk: the commands you know and their equivalents here.
Output other programs read
Two formats are written down, each with a JSON Schema, and the tests hold the output to them:
show --json: every element of a file with its byte offsets (schema).- The
-eventslog: every PDU, presentation context and DIMSE message of an association, one JSON object a line (schema).
Install
go install github.com/amrshadid/go-dicom@latestor take a binary from the releases. The README has the rest.