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
| Command | What it does |
|---|---|
show | Display DICOM file contents |
info | Show DICOM file metadata and information |
convert | Convert DICOM files to other formats (JSON, CSV, NIfTI, PNG, JPEG) |
anonymize | De-identify a DICOM file or directory (PS3.15 Annex E) |
share | Render an image as a PNG or JPEG that is safe to hand on |
diff | Compare two DICOM files element by element |
dicomdir | Write the DICOMDIR of a directory, or list one |
sr | Print the content tree of a structured report |
validate | Check a file against what its SOP class requires (PS3.3) |
modify | Set, insert or delete attributes of a DICOM file |
compress | Write a file's pixel data in RLE, JPEG-LS, JPEG 2000, HTJ2K, JPEG or Deflated Image Frame |
decompress | Write a file's pixel data uncompressed |
create | Make a DICOM file from DICOM JSON, a picture or a PDF |
tag-doc | Generate documentation for DICOM tags |
codify | Read a DICOM file and produce Go code to create it |
Network
| Command | What it does |
|---|---|
echoscu | DICOM Echo SCU — verification (ping) |
echoscp | DICOM Echo SCP — verification server |
storescu | DICOM Store SCU — send DICOM files (.dcm, .ima, etc.) |
storescp | DICOM Store SCP — receive and save DICOM files |
findscu | DICOM Find SCU — query for patients/studies/series |
movescu | DICOM Move SCU — retrieve studies to a destination |
getscu | DICOM Get SCU — retrieve on same association |
commitscu | DICOM Storage Commitment SCU — ask a peer to take responsibility |
mppsscu | DICOM MPPS SCU — report a performed procedure step started, completed or discontinued |
upsscu | DICOM UPS SCU — create, query, claim, update and finish unified procedure steps |
qrscp | DICOM Q/R SCP — combined store + query/retrieve server |
wlmscp | DICOM Modality Worklist SCP — serve the worklist files of a directory |