Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
Converting 2-D Video to 3-D

We offer MATLAB code to take a normal, 2-D video and automatically compute depth at every frame. We also offer a database to help users learn the association of 2-D to depth.


Date Published26 July 2012
Download Size17.76 MB

Note By installing, copying, or otherwise using this software, you agree to be bound by the terms of its license. Read the license.

Installation Instructions for MSR-V3D database

Download the Matlab code by clicking the download button above.

The following are the training database files. These are large files. You can download them by clicking the links below.

HTTP Download:

FTP Download:

  • Indoor 1:
  • Indoor 2:
  • Indoor 3:
  • Indoor 4:
  • Indoor 5:
  • Outdoor:

 If you use our database for your research work, please cite our paper:
K. Karsch, C. Liu, and S.B. Kang, "Depth extraction from video using non-parametric sampling," European Conference on Computer Vision, Oct. 2012.


Information on MSR-V3D database

The Microsoft Research Stereo Video + Depth (MSR-V3D) database contains stereo video clips for a variety of scenes and viewpoints (116 indoor, 61 outdoor). The dataset primarily contains videos recorded from a static viewpoint with moving objects in the scene (people, cars, etc.). There are also 100 indoor frames in addition to the 116 indoor clips within the database (stereo RGB, depth for the left frame).

We captured the MSR-V3D dataset with two side-by-side Microsoft Kinects. For each indoor clip, the left stereo view also contains view-aligned depth from the Kinect. Due to IR interference, depth for the right view was not captured indoors, and depth was totally disregarded outdoors due to limitations of the Kinect.

One use of this dataset is for training and evaluating our Depth Transfer algorithm (code above), but we hope that it may be useful in other scenarios as well. For additional details concerning the dataset (including MATLAB code for reading/viewing the data), please see the README file within the zip files.