How Panorama & Stitch Studio Works
Two neural ONNX Runtime Web workers extract rotation-robust ALIKED keypoints, match correspondences with
LightGlue attention, optionally recover dark frames with IAT, and feed an exact 8-DOF Hartley-normalized
DLT + RANSAC homography warper entirely inside your browser tab.
1. ALIKED + LightGlue Matching
bukuroo/ALIKED-LightGlue-ONNX (51 MB fp32,
onnxruntime-web 1.21.0, ALIKED BSD-3-Clause / LightGlue Apache-2.0) extracts up to 1,000 keypoints and
128-d descriptors per shot, then predicts attention-filtered correspondences and confidence scores.
2. 8-DOF Projective RANSAC
Deterministic RANSAC fits Hartley-normalized 3×3 projective homographies on every adjacent pair, rejects
parallax outliers, chains left and right frames onto the center reference shot, and guards against
projective horizon blow-up.
3. Stage 2 IAT Exposure Recovery
Pezhgorski/IAT-ONNX (0.42 MB fp32,
iat_lol_v1, Apache-2.0) predicts per-pixel illumination gain and offset to lift underexposed
shots before matching, paired with overlap RGB gain compensation for invisible seams.
4. Chunked Warper & Exports
Inverse bilinear warping yields every 48 rows via scheduler.yield() to keep INP responsive,
rendering Feather Blend, interactive Hard Cut Wipe, Difference Heatmap, and Overlay Mesh views plus
full-resolution .png/.webp and 3×3 Homography .json exports.