Skip to content

ShapesOut: outlines as an overlay and ROI Manager entries - #19

Merged
guijacquemet merged 1 commit into
mainfrom
claude/shapes-out
Oct 7, 2026
Merged

guijacquemet merged 1 commit into
mainfrom
claude/shapes-out

Conversation

@guijacquemet

Copy link
Copy Markdown
Contributor

Host side of ShapesOut (Tools PR CellMigrationLab/LabConstrictor-Tools#31, merged). GeoJSON outlines are drawn as an overlay on the image named by apply_to (else the first image of the run, else the current one), with holes kept (composite ROIs) and every part of a MultiPolygon drawn; the first 1000 are also listed in the ROI Manager (it becomes very slow with more); up to 50 000 are shown and the Log says how many were left out. Pixel centres are respected (+0.5). Without an image open the Log explains and nothing is drawn.

New cases: shapes_become_overlay_and_roi_manager_entries (4 outlines, 1 hole), and adversarial: 50 100 outlines capped at 50 000 (under a second in the worker), zero outlines, holes plus multi-part shapes. The adversarial test app gains an Outlines tool; new fixture blobs.tif. Full suite: 58/58 pass.

Not covered by a test: Replace() swapping the previous outlines (the harness makes one tool call per case); the code mirrors the points implementation.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN


Generated by Claude Code

…, 50 000 limit)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN
@guijacquemet
guijacquemet merged commit bfafcb5 into main Oct 7, 2026
2 checks passed
@guijacquemet
guijacquemet deleted the claude/shapes-out branch October 7, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants