pydicom
Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, rad
Security Assessment
About pydicom
Pydicom is a specialized Python library designed for seamless interaction with DICOM (Digital Imaging and Communications in Medicine) files, which are the standard format for storing medical imaging data. This skill addresses the challenges faced by developers and researchers when reading, writing, and modifying DICOM files. By providing a comprehensive API for handling pixel data, metadata extraction, and various compression formats, Pydicom simplifies the process of working with medical imaging datasets. It enables users to efficiently manage and manipulate imaging data to support various medical applications.
FAQ
How do I install pydicom?
You can install pydicom using pip with the command: `pip install pydicom`. Additional dependencies may be required for image format conversion and handling compressed files.
Can I use pydicom for non-medical images?
Pydicom is specifically designed for DICOM files and may not be suitable for non-medical images.
What types of DICOM files can pydicom handle?
Pydicom can handle various types of DICOM files including those from CT, MRI, X-ray, and ultrasound imaging.
Are there any specific requirements for using pydicom?
Pydicom requires Python and may need additional packages like numpy and pillow for specific functionalities.
Does pydicom support multi-frame DICOM images?
Yes, pydicom can read and process multi-frame DICOM images, allowing for the handling of videos and series.
Install pydicom
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
davila7/claude-code-templates