Skip to content

Stereo Import menu: hide registration section, align Warp to All, interactive-stereo warp#1787

Open
mattdawkins wants to merge 3 commits into
mainfrom
fix/no-registration-import-stereo
Open

Stereo Import menu: hide registration section, align Warp to All, interactive-stereo warp#1787
mattdawkins wants to merge 3 commits into
mainfrom
fix/no-registration-import-stereo

Conversation

@mattdawkins

@mattdawkins mattdawkins commented Jul 22, 2026

Copy link
Copy Markdown
Member

Two related Import-menu changes for stereo datasets:

1. Hide the Import Registration section on stereo datasets

Per-camera registration transform import is meant for (non-stereo) multicam rigs; stereo rigs use the calibration (camera file) import instead. registrationSupported now also requires the dataset subtype not be stereo.

2. "Warp to All" alignment + interactive-stereo behavior

  • The "Warp to All" checkbox now lines up with the "Overwrite" checkbox instead of sitting partially below it.
  • On stereo datasets the option now operates through the interactive stereo service: when interactive stereo is enabled and a camera calibration is present, checking it warps every imported detection from the active camera to the other camera — head/tail lines transfer as lines (also computing the stereo measurement), polygons as polygons, plain boxes as boxes — skipping any frame the other camera already has, then saving. The per-annotation transfer machinery is reused with the auto-compute preference bypassed (the user asked for the warp explicitly).
  • When interactive stereo is off or no calibration is loaded, the checkbox is greyed out with a hint explaining what's missing.
  • Multi-camera (non-stereo) datasets keep the existing registration-based warp, gated on rig registration as before.

🤖 Generated with Claude Code

mattdawkins and others added 2 commits July 21, 2026 21:24
Per-camera registration import is meant for multicam rigs; stereo
datasets use the calibration (camera file) import instead, so the
Import menu no longer shows the registration buttons when the dataset
subtype is stereo.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Import menu's "Warp to All" checkbox now lines up with the
Overwrite checkbox instead of sitting partially below it.

On stereo datasets the option now works through the interactive stereo
service: when interactive stereo is enabled and a camera calibration is
present, checking it warps every imported detection from the active
camera to the other one (head/tail lines as lines, which also computes
the stereo measurement; polygons as polygons; plain boxes as boxes),
skipping frames the other camera already has. When interactive stereo
is off or no calibration is loaded the option is greyed out, with the
hint explaining what is missing. Multi-camera (non-stereo) datasets
keep the registration-based warp.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mattdawkins mattdawkins changed the title Hide the Import Registration section on stereo datasets Stereo Import menu: hide registration section, align Warp to All, interactive-stereo warp Jul 22, 2026
The persistent hint under the checkbox stretched it and wrapped the row,
leaving Warp to All below Overwrite. The two checkboxes now sit side by
side in a no-wrap row (dense, no reserved detail space) and the
availability hint moved into a hover tooltip.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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