Masks and arrays

From VectorSpaceLab/AREX-Skill · View interactive version

Masks and arrays is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Mask-safe ground truth augmentation and in-memory grouped array workflows for Augmentor.

How to use this skill

Skill file

Masks and Arrays

Use this sub-skill when the task needs Augmentor to apply identical random transforms to an original image and its mask/ground-truth companions, especially segmentation or multi-mask data.

Route here for

Route elsewhere

Fast workflow

  1. Choose the data path:
  1. Confirm shapes before augmentation. Directory ground-truth images should match original image dimensions; DataPipeline groups may mix channel counts, but each array must be convertible by Pillow.
  2. Add only operations that are valid for every member of each group. Geometric transforms are the usual mask-safe choice; color-only changes may not make sense for label masks.
  3. Inspect a tiny sample before scaling up.

Bundled references and helper

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.