Skip to content
Back to skills

Skimage Otsu Segmentation Starter

ASecurity

Use this skill to generate a deterministic toy microscopy-like image, segment bright objects with Otsu thresholding, and summarize labeled regions.

  • 38 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill skimage-otsu-segmentation-starter --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Skimage Otsu Segmentation Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-skimage-otsu-segmentation-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-skimage-otsu-segmentation-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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`

Files in this skill

  • SKILL.md1.1 KB
  • assets/README.md113 B
  • assets/toy_segmentation_summary.json514 B
  • examples/README.md229 B
  • metadata.yaml1.1 KB
  • refs.md75 B
  • scripts/run_skimage_otsu_segmentation.py3.6 KB
  • tests/README.md132 B
  • tests/test_run_skimage_otsu_segmentation.py1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…