pydicom
Installation
SKILL.md
Pydicom - Medical Imaging Standards
DICOM is more than an image; it's a rich data structure containing patient info, spatial orientation, and pixel data. Pydicom provides access to all these tags.
When to Use
- Processing medical imaging data (CT, MRI, X-ray, ultrasound).
- Extracting patient metadata and clinical information from DICOM files.
- Building AI models for radiology that require both image and metadata.
- Converting DICOM to other formats for analysis.
- Quality assurance and compliance checking in medical imaging workflows.
Core Principles
Datasets as Dicts
Access tags by name (e.g., ds.PatientName) or ID (ds[0x0010, 0x0010]).