Toolverse
All skills

pydicom

by davila7

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,

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
davila7
Category
Data Science
Views
42

About this skill

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, radiology workflows, and healthcare imaging applications.

How to use

  1. Zainstaluj pydicom wraz z zależnościami: uruchom uv pip install pydicom, a następnie uv pip install pillow numpy matplotlib do konwersji formatów i manipulacji danymi pikseli. 2. Jeśli pracujesz z plikami DICOM o skompresowanych danych, doinstaluj obsługę kodowania: uv pip install pylibjpeg pylibjpeg-libjpeg pylibjpeg-openjpeg dla kompresji JPEG lub uv pip install python-gdcm jako alternatywę. 3. Wczytaj plik DICOM za pomocą funkcji pydicom.dcmread(), podając ścieżkę do pliku – zwraca obiekt zawierający wszystkie metadane i dane pikseli. 4. Dostęp do metadanych i tagów DICOM poprzez atrybuty obiektu, np. dataset.PatientName, dataset.PatientID czy dataset.pixel_array dla danych obrazu. 5. Wykonaj operacje takie jak anonimizacja (usunięcie danych pacjenta), ekstrakcja pikseli do przetwarzania, konwersja do formatów PNG/JPG za pomocą Pillow, lub rekonstrukcja wielowarstwowych tomów z sekwencji DICOM. 6. Zapisz zmodyfikowany plik DICOM funkcją dataset.save_as() lub wyeksportuj dane do innego formatu w zależności od potrzeb przepływu pracy w systemie PACS lub badań medycznych.

Related skills

skill-creator

by anthropics

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

Data Science
59147

pdf-processing

by Ming-Kai-LC

Comprehensive PDF processing techniques for handling large files that exceed Claude Code's reading limits, including chunking strategies, text/table extraction, and OCR for scanned documents. Use when working with PDFs larger than 10-15MB or more than 30-50 pages.

Data Science
23134

prompt-optimizer

by solatis

Optimize system prompts for Claude Code agents using proven prompt engineering patterns. Use when users request prompt improvement, optimization, or refinement for agent workflows, tool instructions, or system behaviors.

Data Science
15109

web-artifacts-builder

by anthropics

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX

Data Science
37124

deep-research

by davidorex

Multi-agent parallel investigation for complex VCV Rack problems

Data Science
16151

nano-banana-pro

by garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., \

Data Science
535772