Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reads, writes, and anonymizes DICOM medical images with pydicom, exposing pixel data as NumPy arrays and series as 3D volumes.
91% 100%+9 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
3 of 3 safety checks passed
Not used yet
Pydicom is a pure Python library for reading, writing, and modifying DICOM (Digital Imaging and Communications in Medicine) files. It provides access to DICOM metadata tags and pixel data as NumPy arrays, supporting CT, MRI, X-ray, ultrasound, and other medical imaging modalities. The library handles compressed and uncompressed transfer syntaxes with optional codec plugins.
histolab-wsi-processing insteadnibabel insteadpydicom, numpy, pillowpylibjpeg + pylibjpeg-libjpeg (JPEG), pylibjpeg-openjpeg (JPEG 2000), python-gdcm (most formats)pip install pydicom numpy pillow
# Optional: compression codec handlers (install as needed)
pip install pylibjpeg pylibjpeg-libjpeg # JPEG Baseline/Lossless
pip install pylibjpeg-openjpeg # JPEG 2000
pip install python-gdcm # Comprehensive codec support
import pydicom
import numpy as np
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.