pydicom

Read, modify, and extract metadata and pixel data from DICOM files.

Updated May 10, 2026
One-click install
npx skills add https://github.com/Imad-Oute/ResearchForge --skill pydicom-imad-oute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pydicom
Source: https://github.com/Imad-Oute/ResearchForge/tree/main/OpenSource-Projects/claude-scientific-skills/scientific-skills/pydicom
Command: npx skills add https://github.com/Imad-Oute/ResearchForge --skill pydicom-imad-oute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Medical professionals and researchers need to read, modify, and analyze complex DICOM medical imaging data efficiently and accurately.

Core Features & Use Cases

  • Medical Image Handling: Read, manipulate, and write DICOM files for diagnostics and research.
  • Metadata Extraction: Retrieve detailed patient, study, and image information from imaging datasets.
  • Image Processing: Extract pixel data for visualization and further analysis, including anonymization and format conversion.
  • Use Case: Radiologists can anonymize patient data, convert images to PNG for quick review, and update metadata for cataloging.

Quick Start

Use the pydicom skill to load a DICOM file and extract its metadata.

Frequently Asked Questions about pydicom

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and extract metadata from a DICOM file?

To read and extract metadata from a DICOM file, you can load the dataset and access its data elements. This allows you to retrieve detailed patient, study, and image information for diagnostics and research.

How do I anonymize patient data in medical imaging datasets?

You can anonymize patient data in medical imaging datasets by modifying the DICOM file elements. This updates the metadata to remove identifying information while preserving the image structure for secure cataloging.

Can I convert DICOM images to PNG for quick review?

Yes, you can convert DICOM images to PNG for quick review by extracting the pixel data. This process transforms the medical imaging format into a standard image file for visualization and further analysis.

What is the best way to extract pixel data for image processing from DICOM files?

The best way to extract pixel data for image processing is by reading the DICOM dataset and accessing its pixel array. This provides the raw image information needed for visualization and analysis.

Does this approach work for managing medical imaging data in research environments?

Yes, this approach works for managing medical imaging data in research environments. It provides tools to efficiently read, modify, and write DICOM files for diagnostics and research purposes.

Related Skills