This repository contains generated protocol buffer representations of every DICOM attribute and module. These protocol buffers were generated using the software included in this repository and the innolitics JSON dump of the entire DICOM standard.
Check out our Golang DICOM parser repo as well, if you're interested in medical imaging.
Assuming you have golang and make installed:
git clone --recursive into your $GOPATH or go get github.com/gradienthealth/dicom-protosmake run and the protos will be deposited in the protos directory.If you use docker you can simply do the following to regenerate the protocol buffers:
git clone --recursivedicom-standard submodule if there are new JSON definitions to pulldocker build . -t gradienthealth/dicom-protosdocker run -v $PWD/OUTPUT_PROTOS:/go/src/github.com/gradienthealth/dicom-protos/protos -it gradienthealth/dicom-protos make run
You can generate native representations of these DICOM protocol buffers in the language of your choice.
For example to generate golang representations of these data structures, you can simply run:
protoc --proto_path=. --go_out=:$GOPATH/src *.proto