ai china

Can a stereo camera see through the gap in a chair?

4 sources 3 primary sources December 3, 2026

Loading reads and saves…
Text

Look between the gray slats of the Adirondack chair. Near their rounded tops you can see the pale wall behind them. Run a fingertip across that part of the photograph and the depth under your finger changes twice in a few pixels, from chair to wall and back to chair. The Middlebury College researchers who arranged this room photographed it from two positions. A computer gets both views. How could a reader tell whether it put that strip of wall at the right distance? [1]

Gray slatted Adirondack chair in front of wall maps, with red knitted fabric draped over one arm and books stacked beside the seat.
The left camera’s view of Middlebury’s Adirondack scene. The data collection also preserves the right view and a reference measurement for checking the match. [1]

What moves when the camera moves

Try the experiment with your finger held up against a distant wall. Close one eye, then the other. Your finger appears to jump sideways against the wall. In a pair of aligned camera views, the horizontal shift of a recognizable point is its disparity. With the camera spacing and calibration in hand, that shift can be converted to distance. The hard part comes first. Which gray edge in the second picture corresponds to the gray edge in the first? At a slat’s edge, one camera may even see a patch of wall that the chair hides from the other. Middlebury used projected patterns to establish correspondences for its reference measurements. The ordinary photographs leave the matching algorithm to work with the texture the room supplies. [1][2]

In a 2022 paper, Jiankun Li and colleagues at Megvii, Tencent and the University of Electronic Science and Technology of China described a stereo model called CREStereo. Its design makes room for two photographic annoyances. A narrow gap can disappear when an image is shrunk. And even after software aligns two photographs, the matching detail can sit a little above or below the expected row. CREStereo refines an initial estimate at successively finer scales and lets its search reach nearby rows. The team also built openwork objects into its synthetic training scenes, giving the model practice with a background visible through holes. [3]

Two ways to be wrong by a pixel

Table 2 of the paper asks a particularly clean question. With the input fixed at 1,024 by 1,536 pixels, what happens if a second pass starts with an estimate from a coarser view? On the Middlebury images in that experiment, the share of evaluated pixels whose disparity missed by more than two pixels fell from 6.00% to 5.30%. The mean absolute error also fell, from 1.61 pixels to 0.94. Megvii’s released demonstration makes the sequence easy to follow. It first runs the model on images reduced by half in each dimension, then passes that prediction into the run at the chosen input size. Both passes use the same trained weights. [3][4]

There is a wrinkle one row farther down. At the larger input size of 1,536 by 2,048, adding a third pass to two nudged the mean error down from 0.93 pixels to 0.92. Yet the share beyond the two-pixel threshold rose from 4.53% to 4.58%. These measures ask different questions. Bringing a ten-pixel miss down to three helps the mean substantially while leaving one pixel on the wrong side of the cutoff. Moving a two-pixel miss just beyond the cutoff changes the count immediately. The published figures give the totals. They leave open which surfaces gained or lost. [3]

That last distinction matters back at the chair. A whole slat and the sliver of wall beside it occupy very different amounts of the photograph. To check whether a model preserved the gap, I would mark a short line across both in the left view and compare the estimated disparity with Middlebury’s reference wherever it has a valid measurement. The curve should drop toward the wall and rise again at the next slat. A room-wide average can reward thousands of good matches across the broad seat. That little dip would answer the question you can ask with a fingertip. [1][2]

Sources

  1. Middlebury College, 2014 stereo datasets, including the Adirondack camera pair and disparity files.
  2. Daniel Scharstein and colleagues, High-Resolution Stereo Datasets with Subpixel-Accurate Ground Truth, GCPR 2014.
  3. Jiankun Li and colleagues, Practical Stereo Matching via Cascaded Recurrent Network with Adaptive Correlation, CVPR 2022, especially Table 2.
  4. Megvii Research, CREStereo demonstration code, including the two inference passes.
Previous The crease across the boy’s eyebrow

Recommended In ai china

Matched by subject and format