What problem does it solve?
Working with medical imaging data in MATLAB requires choosing between Image Processing Toolbox and Medical Imaging Toolbox APIs, handling spatial referencing, orientation, and DICOM-specific workflows like RT structures and anonymization. This Skill guides an AI agent to pick the correct functions and avoid common mistakes such as manual slice indexing or missing rescale corrections.
Core Features & Use Cases
- Unified Medical Data Reading: Read DICOM folders, NIfTI, and NRRD files with
medicalVolume and medicalImage, with automatic rescaling to calibrated units like Hounsfield Units.
- Spatial Referencing & Orientation: Extract oriented slices with
extractSlice, change orientation with updateOrientation, and convert between voxel and patient coordinates using medicalref3d.
- DICOM RT & Anonymization Workflows: Read, modify, and write DICOM RT structure sets with
dicomContours, and anonymize DICOM series with shared UIDs using dicomanon and dicomuid.
- Use Case: A researcher needs to load a CT DICOM series, extract a coronal slice, overlay an RT structure contour mask, and write an anonymized copy. The Skill directs the agent to detect available toolboxes, use
medicalVolume for reading, extractSlice for slicing, and dicomanon with shared UIDs for anonymization.
Quick Start
Ask the agent to read a DICOM folder or NIfTI file into MATLAB and extract a transverse slice at a given index using the appropriate medical imaging functions.