scikit-image Regionprops Feature Extraction

SkillMedia

Use this skill to extract deterministic morphology and intensity features from a toy image with scikit-image regionpropstable.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the scikit-image Regionprops Feature Extraction skill

About this capability

A framework for discovering, compiling, and validating reusable skills for scientific agents.

What this skill tells your AI

The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/imaging-and-phenotype-analysis/skimage-regionprops-feature-extraction/SKILL.md and read by ahel’s review.

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-extraction starter 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.

Signals

GitHub stars
39
Forks
5
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
skimage-regionprops-feature-extraction
Source
github.com/ma-compbio-lab/skillfoundry