stereo-dataset's picture
Select distinct performance moments for the Unreal figure strip
687ad90 verified
|
Raw History Blame Contribute Delete
5.21 kB

Real-video evaluation protocol

The companion synthetic evaluation documents the StereoGenBench trajectories, long Unreal takes, camera geometry and held-out results.

Sampling and edits

The 40 pairs use 80 distinct source recordings. Each member contributes 120 consecutive samples on a 4 Hz grid. Each edit spans 60 seconds at 256 pixels wide. The crop is shared by both eyes and by all three edits of a pair. Across 120 edits there are 9,600 distinct stereo moments.

Layout Shots per edit Frame counts
Sparse 2 120 from A, then 120 from B
Uniform dense 12 Alternate A and B every 20 frames
Variable dense 12 Alternate A and B. Each source supplies shots of 5, 6, 7, 9, 24 and 69 frames in a pair-specific order.

The sparse and uniform edits form the 80-clip primary comparison. The 40 variable edits provide a matched-cut-count comparison against the uniform edits. Shot length, cut placement and preceding context vary together. With a 23-frame window and a three-frame overlap, resetting at all true cuts yields ten within-shot continuations in each sparse edit, zero in each uniform edit and eight in each variable edit.

Model input and scores

Generate from the left stream and keep the output at the input frame rate and resolution. A prediction is a NumPy uint8 array in RGB order with axes [240, height, 256, 3]. The registered right stream supplies the target. Run python benchmark.py export pair01_dense target.npy --eye right and score that array for a zero-error decoder check.

The scorer reports mean absolute RGB error on the 0–255 scale, averaged over pixels and channels and then over the selected frames. Lower values indicate closer reconstruction.

Output field Frames scored
whole_mae All 240 frames
postcut4_mae The first four frames starting at each annotated cut
common_boundary4_mae A frozen mask shared by methods for an edit. For the primary comparison it is the union of the first four emitted frames at each noninitial window start in the two fixed-overlap reference runs (carry history and detected-cut reset).

For the primary score, average the sparse and uniform scores within each pair, then give each of the 40 pairs equal weight. For the shot-length comparison, compute variable minus uniform within each pair. Resample source pairs for uncertainty intervals. A registered 33-pair sensitivity subset excludes recordings used in an earlier nine-recording study. Its flag is prior_study_disjoint in the edit registry. Different recordings may share a location or camera.

Files

  • Edit index lists the 120 edits, their source recordings and scene categories. Edit registry gives ordered shots, zero-based cut indices, fixed evaluation masks and decoded RGB checksums. Each shot's start indexes the source's 120-frame sample.
  • Recording registry maps each sample to the original video frame index and timestamp, crop, credit, terms and decoded RGB checksums. One compressed NumPy file per recording contains both eyes. Reordering its samples reproduces all three layouts.
  • For Freiburg, python prepare_freiburg.py --pair 2 requests only the original recordings for pair 2. To use existing publisher ZIPs, run python prepare_freiburg.py --archives /path/to/archives. The full preparation command without a pair builds all 23 recordings. It validates original-file and decoded-RGB digests and stores the arrays in local/freiburg/. FFmpeg with libx264 and Python with NumPy and OpenCV are required.
  • The Freiburg reference decoder uses FFmpeg 8.1 with libx264 and OpenCV 4.13.0.92. The preparation script applies the recorded sparse RGB rounding adjustments for recognized decodes and checks every final RGB digest against the evaluation archive.
  • Rebuild the overview with python figures/draw.py. The Unreal strip shows selected moments from the six released left-eye videos. From left to right, these are Historic Saloon (cut take, frame 52 and continuous take, frame 401), DeepWater Station (continuous 4 and cut 179), and STF foliage (continuous 99 and cut 437). The second frame of each map is a detail crop. The three maps share the same two performers and choreography.
  • The first chart counts source sequences. The next two count cuts and within-shot continuations per real edit, with true-cut resets, a 23-frame window and three frames of overlap.

Reference results

The copy-left baseline scores the supplied left view directly against the recorded right view for every edit. Across the 40 primary pairs its whole-clip MAE is 21.2571, its post-cut MAE is 21.6562 and its common-boundary MAE is 22.5812. Each per-edit value can be reproduced with the export and score commands on the dataset card.

In the frozen M2SVid experiment, resetting history at detected cuts reduced common-boundary MAE by 0.1247 RGB levels compared with carrying history across cuts (fixed three-frame overlap, 95% source-pair bootstrap interval 0.0579–0.1948). This comparison averages the sparse and uniform layouts across 40 source pairs.