Packages
Packages
The library's public packages. Each links its overview here and its full API on pkg.go.dev.
| Package | What it is for | API |
|---|---|---|
anonymize | Removes protected health information from DICOM data sets, implementing the de-identification profiles defined in DICOM PS3.15 Annex E. | pkg.go.dev |
charset | Provides DICOM character set encoding and decoding support. | pkg.go.dev |
compress | Provides comprehensive compression and encapsulation handling for DICOM pixel data. | pkg.go.dev |
compress/jpeg2000 | Decodes JPEG 2000 Part 1 codestreams in pure Go, and encodes them: losslessly with Encode, and lossy with EncodeLossy. | pkg.go.dev |
compress/jpegxl | A pure Go JPEG XL decoder, and lossless encoder (ISO/IEC 18181-1 codestream, ISO/IEC 18181-2 container), written for DICOM's JPEG XL transfer syntaxes (PS3.5 §8.2.15 and §A.4.12): 1.2.840.10008.1.2.4.110 (JPEG XL Lossless), .111 (JPEG XL JPEG Recompression) and .112 (JPEG XL). | pkg.go.dev |
config | Provides centralized, thread-safe global configuration management for DICOM operations. | pkg.go.dev |
dataelem | Provides core DICOM data element structures and operations. | pkg.go.dev |
dataset | Provides high-level data structure and operations for in-memory DICOM datasets. | pkg.go.dev |
dcmstore | An on-disk store of DICOM instances with an index that answers the hierarchical queries a C-FIND asks. | pkg.go.dev |
dicomweb | Is DICOMweb, the HTTP services of DICOM PS3.18: searching a service for studies, series and instances (QIDO-RS), retrieving them (WADO-RS) and storing them (STOW-RS). | pkg.go.dev |
encaps | Provides DICOM encapsulation parsing and frame extraction. | pkg.go.dev |
errors | Provides comprehensive error handling for DICOM operations. | pkg.go.dev |
filebase | Provides low-level file I/O abstractions for DICOM file operations. | pkg.go.dev |
filereader | Provides comprehensive DICOM file reading support. | pkg.go.dev |
filereader/attributes | Reads the attributes of a DICOM file, the File Meta group and the whole data set as the file holds them, without linking what builds a data set or decodes pixels. | pkg.go.dev |
fileset | Provides comprehensive management of DICOM file collections organized in directory structures. | pkg.go.dev |
fileutil | Provides comprehensive file and data utilities for DICOM processing. | pkg.go.dev |
filewriter | Provides comprehensive DICOM file writing support. | pkg.go.dev |
hooks | Provides DICOM parsing and processing hook support. | pkg.go.dev |
jsonrep | Provides DICOM JSON Model representation support. | pkg.go.dev |
matching | Decides whether a C-FIND query identifier matches a data set, and builds the answer a match is sent as, by the rules of PS3.4 C.2.2.2. | pkg.go.dev |
multival | Provides type-safe multi-value lists with constructor-based type enforcement. | pkg.go.dev |
network | Implements DICOM networking: the Upper Layer Protocol from PS3.8, the DIMSE message exchange from PS3.7, and the service classes that run over them. | pkg.go.dev |
overlays | Provides comprehensive support for DICOM overlay management. | pkg.go.dev |
pixels | Provides comprehensive access to and manipulation of DICOM pixel data. | pkg.go.dev |
sequence | Provides a thread-safe ordered sequence container for DICOM datasets. | pkg.go.dev |
sr | Provides comprehensive support for DICOM Structured Reports. | pkg.go.dev |
tag | Provides DICOM tag handling and dictionary lookup functionality. | pkg.go.dev |
uid | Provides utilities for DICOM Unique Identifier (UID) management. | pkg.go.dev |
util | Provides utility functions for DICOM data manipulation and analysis. | pkg.go.dev |
validate | Checks a data set against what its SOP class requires. | pkg.go.dev |
valuerep | Provides utilities for DICOM Value Representation (VR) handling and validation. | pkg.go.dev |
values | Provides utilities for DICOM value conversion and handling. | pkg.go.dev |
volume | Assembles the data sets of a series into a stack with its geometry: which slice is next to which, how far apart they are, and where each lies in the patient. | pkg.go.dev |
waveforms | Provides support for managing and analyzing DICOM waveform data. | pkg.go.dev |
stow
Uploads DICOM files to a DICOMweb service (STOW-RS, PS3.18 10.5), as they are, in batches, and reports any instance the server refuses.
anonymize
Removes identifying information from data sets by the Basic Application Level Confidentiality Profile of PS3.15 Annex E and its options, remaps UIDs consistently, and finds and fills text burned into the pixels.