dicomr: Read, Write and Decode DICOM Medical Image Files
A native reader and writer for DICOM (Digital Imaging and
Communications in Medicine) files, the standard format for medical
images, published by the National Electrical Manufacturers Association
<https://www.dicomstandard.org/current>. Modeled on the 'Python'
package 'pydicom' and checked against it. Parses the file format in
C++ (implicit and explicit value representations, both byte
orders, deflated data sets, nested sequences and encapsulated pixel
data), gives keyword and tag based access to data elements, writes
data sets back to disk, and decodes pixel data into R arrays:
uncompressed, RLE Lossless and JPEG Baseline (through 'libjpeg'), with
YBR to RGB color conversion. Includes helpers for cardiac and other
ultrasound, such as calibration from the Sequence of Ultrasound
Regions and frame timing for cine loops.
| Version: |
0.1.0 |
| Imports: |
graphics, grDevices, Rcpp (≥ 1.0.0), tools |
| LinkingTo: |
Rcpp |
| Suggests: |
jsonlite, testthat (≥ 3.0.0) |
| Published: |
2026-11-26 |
| DOI: |
10.32614/CRAN.package.dicomr (may not be active yet) |
| Author: |
Matt Segar [aut, cre, cph],
Darcy Mason [ctb, cph] (author of 'pydicom', from which the DICOM data
dictionary is derived),
pydicom contributors [ctb, cph] (DICOM data dictionary derived from
'pydicom') |
| Maintainer: |
Matt Segar <cscswimmer227 at gmail.com> |
| License: |
MIT + file LICENSE |
| NeedsCompilation: |
yes |
| SystemRequirements: |
libjpeg (deb: libjpeg-dev, rpm:
libjpeg-turbo-devel, brew: jpeg-turbo), zlib (deb: zlib1g-dev,
rpm: zlib-devel) |
| Materials: |
README, NEWS |
| CRAN checks: |
dicomr results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=dicomr
to link to this page.