Skip to content
Back to skills

Enhancement

ASecurity

"Adjust color, exposure, filters, and restoration workflows in

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill enhancement --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Enhancement?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Enhancement
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-enhancement/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-enhancement)

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
---
name: enhancement
description: "Adjust color, exposure, filters, and restoration workflows in
  scikit-image, with explicit channel-axis and preserve-range handling."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Enhancement

Use this sub-skill when the task changes pixel appearance or intensity statistics rather than geometry or object bookkeeping.

## Route here

- Convert between color spaces, remove alpha, or overlay existing labels with `skimage.color`.
- Adjust contrast, histogram shape, and intensity ranges with `skimage.exposure`.
- Smooth, sharpen, detect edges, or choose a cutoff with `skimage.filters`.
- Denoise, inpaint, deblur, subtract background, unwrap phase, or stabilize denoising with `skimage.restoration`.

## Fast start

1. Inspect `shape`, `dtype`, `min`, `max`, and whether the array has a channel dimension.
2. Set `channel_axis` explicitly for every multichannel image; use `None` for scalar or grayscale images.
3. Use `preserve_range=True` whenever a function offers it and the numeric values should stay in their native units.
4. Convert to float or back to storage dtype only when that is the intended next step.
5. Verify the result on a small sample before chaining multiple enhancement steps.

## Working rules

- `channel_axis` is about layout, not color meaning. Do not rely on defaults for color images.
- `preserve_range` is about value semantics, not dtype. Keep it on when the values already mean something physically or when later steps must not renormalize to `[0, 1]`.
- Many enhancement functions return float arrays; convert the result afterward with `img_as_*` only when storage or downstream APIs need it.
- Thresholding belongs here only as preprocessing. If the task needs connected components, region labeling, or object statistics, route elsewhere.
- `label2rgb` is a display helper for existing labels, not a segmentation step.

## Boundaries

- Do not cover segmentation, morphology cleanup, connected components, or label creation.
- Do not cover region properties, object statistics, or image-quality metrics.
- Do not cover geometric transforms, warps, alignment, or registration.
- If a function does not expose `channel_axis`, either convert to a scalar image first or handle channels explicitly one at a time.

## References

- `references/workflows.md`
- `references/troubleshooting.md`

Files in this skill

  • SKILL.md2.3 KB
  • references/troubleshooting.md3.9 KB
  • references/workflows.md5.4 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.