wenmin-wu/ds-skills/tumor-volume-ratio-features
Claude Code and agent skill by wenmin-wu/ds-skills
- community
Checking that the SKILL.md file is still in the repository.
Extract volumetric features from 3D segmentation masks including scan/tumor pixel ratios, tumor percentage, and tumor centroid coordinates
Install
npx vskill@latest install wenmin-wu/ds-skills/tumor-volume-ratio-featuresSKILL.md
The same SKILL.md was published earlier as wenmin-wu/ds-skills/tumor-volume-ratio-features.
Tumor Volume Ratio Features
Overview
3D segmentation masks contain rich structural information beyond the mask itself. Extracting volumetric features — total scan pixels, tumor pixels, tumor-to-scan ratio, and tumor centroid coordinates — creates tabular features that complement image-based models. These features capture tumor size, location, and relative volume that CNNs may struggle to learn directly.
Quick Start
Workflow
- Binarize the scan with morphological closing to fill holes
- Count total scan pixels and tumor pixels from the segmentation mask
- Compute ratios: tumor/total, tumor/scan, scan/total
- Find tumor centroid via median of nonzero coordinates (normalized to [0,1])
- Use as tabular features alongside CNN predictions
Key Decisions
- binary_closing: fills small holes in the brain mask for accurate volume estimation
- Median centroid: more robust to outlier voxels than mean
- Normalization: divide coordinates by volume dimensions for scale invariance
- Multiple tumor classes: combine relevant segmentation labels (e.g., necrotic + enhancing)
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cv/tumor-volume-ratio-features/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wenmin-wu/ds-skills/tumor-volume-ratio-features)