Skip to content

feat: align SAMVG mask generation and tracing - #143

Merged
rasros merged 58 commits into
mainfrom
samvg-mask-optimization
Aug 26, 2026
Merged

feat: align SAMVG mask generation and tracing#143
rasros merged 58 commits into
mainfrom
samvg-mask-optimization

Conversation

@rasros

@rasros rasros commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • align SAM automatic-mask generation with the canonical crop and NMS schedule
  • preserve full-resolution filtering, Cairo MSE acceptance, residual recovery instrumentation, and profiling
  • support variable contour tracing and long contours in the native path fitter

Validation

  • uv run ruff check src/vectrify/refine/samvg.py tests/refine/test_samvg.py
  • uv run pyrefly check src/vectrify/refine/samvg.py tests/refine/test_samvg.py
  • PYTHONPATH=src .venv/bin/python -m pytest tests/refine/test_filled_paths.py tests/refine/test_samvg.py -q

Notes

Cat parity with the thesis SVG is not claimed here; this change set establishes the faithful mask-generation and tracing path needed for the remaining measurement work.

@rasros
rasros merged commit 2bcf2cb into main Aug 26, 2026
1 check passed
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.

1 participant