Repository navigation
ShapesOut: outlines as an overlay and ROI Manager entries - #19
Merged
Merged
Conversation
…, 50 000 limit) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Host side of
ShapesOut(Tools PR CellMigrationLab/LabConstrictor-Tools#31, merged). GeoJSON outlines are drawn as an overlay on the image named byapply_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 anOutlinestool; new fixtureblobs.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