
c3d
Video128 ops410.3K params
Stereo depth network that pools image context into a 4D cost volume and smooths it with a basic 3D CNN.
Depth estimation · 128 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.psmnet_stereo:build_psmnet_basic: build({}) PSMNet, the Pyramid Stereo Matching Network, takes a rectified pair of left and right images and predicts a disparity map, the horizontal shift of each pixel between the two views that gives you depth. It was built to fix a specific weakness of the patch-matching networks that came before it: they had no way to use context when a region is ambiguous. Those hard regions are the familiar ones, occlusions, repeated patterns, textureless surfaces and reflections.
The network has two main modules, spatial pyramid pooling and a 3D CNN. Each image goes through a weight-sharing CNN and a pyramid pooling module, and the left and right features are then stacked across every disparity level into a four-dimensional cost volume. The pooling module uses four fixed average-pooling sizes, 64, 32, 16 and 8, so features carry context at several scales. The feature extractor also swaps the usual large first filter for three cascaded 3 by 3 convolutions and applies dilated convolution in its later residual stages to widen the receptive field.
The graph here is the paper's basic 3D CNN, not the stacked hourglass: a cost-volume regularizer built simply from residual blocks with twelve 3 by 3 by 3 convolutional layers. The cost volume is then upsampled back to full size and a soft disparity regression, a probability-weighted sum over disparity values, produces the continuous map. The authors used this basic variant in their ablations precisely because it adds no extra context through encoding and decoding, and they report the stacked hourglass version beat it by a clear margin. The full PSMNet ranked first on the KITTI 2012 and 2015 leaderboards before March 18, 2018.
Key idea. End-to-end stereo matching that folds whole-image context into the cost volume through spatial pyramid pooling and then regularizes that volume with a 3D CNN, with no post-processing.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{chang2018pyramidstereomatchingnetwork,
title={Pyramid Stereo Matching Network},
author={Jia-Ren Chang and Yong-Sheng Chen},
year={2018},
eprint={1803.08669},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1803.08669},
}