Use this skill to generate a deterministic toy microscopy-like image, segment bright objects with Otsu thresholding, and summarize labeled regions.
Scanned 9/8/2026
Install to Claude Code
npx -y skills add ma-compbio-lab/SkillFoundry --skill skimage-otsu-segmentation-starter --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Skimage Otsu Segmentation Starter?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ma-compbio-lab-skimage-otsu-segmentation-starter)More formats (shields.io, HTML) on the badges page.
# scikit-image Otsu Segmentation Starter
Use this skill to generate a deterministic toy microscopy-like image, segment bright objects with Otsu thresholding, and summarize labeled regions.
## What it does
- Creates a synthetic grayscale image with three bright disk-shaped objects.
- Smooths the image, applies Otsu thresholding, removes tiny objects, and labels connected components.
- Returns compact JSON with threshold, object count, and per-object measurements.
## When to use it
- You need a local imaging starter in an officially documented ecosystem.
- You want a minimal segmentation baseline before moving to heavier microscopy pipelines.
## Example
```bash
slurm/envs/scientific-python/bin/python skills/imaging-and-phenotype-analysis/skimage-otsu-segmentation-starter/scripts/run_skimage_otsu_segmentation.py \
--out scratch/skimage/segmentation_summary.json
```
## Verification
- Skill-local tests: `python3 -m unittest discover -s skills/imaging-and-phenotype-analysis/skimage-otsu-segmentation-starter/tests -p 'test_*.py'`
- Repository smoke: `python3 -m unittest tests.smoke.test_frontier_domain_skills -v`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!