Skip to Content
go-dicom(3)
Command line

Command line

go-dicom is one static binary. Every command, with what it is for and every option it takes.

Run go-dicom <command> -h for the same options in a terminal. The Examples page shows the common jobs from start to end.

Files

CommandWhat it does
showDisplay DICOM file contents
infoShow DICOM file metadata and information
convertConvert DICOM files to other formats (JSON, CSV, NIfTI, PNG, JPEG)
anonymizeDe-identify a DICOM file or directory (PS3.15 Annex E)
shareRender an image as a PNG or JPEG that is safe to hand on
diffCompare two DICOM files element by element
dicomdirWrite the DICOMDIR of a directory, or list one
srPrint the content tree of a structured report
validateCheck a file against what its SOP class requires (PS3.3)
modifySet, insert or delete attributes of a DICOM file
compressWrite a file's pixel data in RLE, JPEG-LS, JPEG 2000, HTJ2K, JPEG or Deflated Image Frame
decompressWrite a file's pixel data uncompressed
createMake a DICOM file from DICOM JSON, a picture or a PDF
tag-docGenerate documentation for DICOM tags
codifyRead a DICOM file and produce Go code to create it

Network

CommandWhat it does
echoscuDICOM Echo SCU — verification (ping)
echoscpDICOM Echo SCP — verification server
storescuDICOM Store SCU — send DICOM files (.dcm, .ima, etc.)
storescpDICOM Store SCP — receive and save DICOM files
findscuDICOM Find SCU — query for patients/studies/series
movescuDICOM Move SCU — retrieve studies to a destination
getscuDICOM Get SCU — retrieve on same association
commitscuDICOM Storage Commitment SCU — ask a peer to take responsibility
mppsscuDICOM MPPS SCU — report a performed procedure step started, completed or discontinued
upsscuDICOM UPS SCU — create, query, claim, update and finish unified procedure steps
qrscpDICOM Q/R SCP — combined store + query/retrieve server
wlmscpDICOM Modality Worklist SCP — serve the worklist files of a directory

DICOMweb

CommandWhat it does
qidoDICOMweb search — find studies, series or instances (QIDO-RS)
wadoDICOMweb retrieve — download a study, series or instance (WADO-RS)
stowDICOMweb store — upload DICOM files (STOW-RS)

On this page