Non-blocking streaming DICOM data element decoder for OCaml (unreleased)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Dicomm — Non-blocking streaming DICOM data element decoder for OCaml

Release %%VERSION%%

Dicomm is a non-blocking streaming decoder for DICOM data elements.

Dicomm depends on bigarrays and is distributed under the ISC license.

Home page:
Contact: Daniel Bünzli <daniel.buenzl>


Dicomm can be installed with opam:

opam install dicomm

If you don't use opam consult the opam file for build instructions and a complete specification of the dependencies.


The documentation and API reference is automatically generated by ocamldoc from dicomm.mli. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

Sample programs are located in the test directory of the distribution. They can be built with:

ocamlbuild tests.otarget 

The resulting binaries are in _build/test:

  • test.byte tests the library, nothing should fail.
  • dicomtrip.native, among other things, reads a DICOM file and prints a human readable representation on stdout. Invoke with -help for more information.