Skimage regionprops feature extraction
A framework for discovering, compiling, and validating reusable skills for scientific agents.From the repository description
npx -y skills add ma-compbio-lab/SkillFoundry --skill skimage-regionprops-feature-extractionAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.6 KB, 342 tokens by cl100k_base, as published. Nobody here has run it
scikit-image Regionprops Feature Extraction
Use this skill to extract deterministic morphology and intensity features from a toy image with scikit-image regionprops_table.
What it does
- creates a reproducible grayscale toy image with three bright ellipse-like objects
- thresholds and labels connected components locally
- summarizes per-object morphology and intensity features into compact JSON
- keeps the output stable enough for smoke tests and starter workflows
When to use it
- You need a local
feature-extractionstarter in the scikit-image ecosystem. - You want a minimal handoff point before building larger imaging or phenotype-analysis pipelines.
Example
./slurm/envs/scientific-python/bin/python \
skills/imaging-and-phenotype-analysis/skimage-regionprops-feature-extraction/scripts/run_skimage_regionprops_features.py \
--threshold 0.35 \
--out scratch/skimage-regionprops/summary.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/imaging-and-phenotype-analysis/skimage-regionprops-feature-extraction/tests -p 'test_*.py' - Asset regeneration:
./slurm/envs/scientific-python/bin/python skills/imaging-and-phenotype-analysis/skimage-regionprops-feature-extraction/scripts/run_skimage_regionprops_features.py --out skills/imaging-and-phenotype-analysis/skimage-regionprops-feature-extraction/assets/toy_regionprops_summary.json
Notes
- This is a starter for the taxonomy leaf
feature-extraction. - The image is synthetic and deterministic; it is intended for scaffolding and verification rather than biological interpretation.
What ships with it: 8 files
9.9 KB alongside SKILL.md, 2 of them executable
assets/
- README.md140 B
- toy_regionprops_summary.json1.1 KB
examples/
- README.md395 B
scripts/
- run_skimage_regionprops_features.pyruns4.4 KB
tests/
- README.md159 B
- test_run_skimage_regionprops_features.pyruns2.2 KB
- metadata.yaml1.2 KB
- refs.md370 B