image thumbnail

Depth Image Based Stereoscopic View Rendering

version (1.35 MB) by Varuna De Silva
This program accepts a color and a depth video and converts them to stereoscopic views


Updated 10 May 2010

View License

Color image and a corresponding per-pixel depth map is one method of 3D video representation. Based on DIBR, this program performs stereoscopic view generation. The depth maps are interpreted according to the MPEG N8038 informative recommendations and views are rendered. The disocclusions are filled according by background pixel extrapolation.

cd2lr.m is the code for DIBR. cd2lrluma.m is the same code, but applied only on luminance components. Users may run demo_cd2lr.m for a start.

Authors would like to thank Microsoft Research for Providing 'Ballet' Sequence for the demo purpose.

yuvimport.m is a function from the yuv toolbox which can be found at This toolbox enables to do many yuv related functions.

Please contact me if you cant get the yuv toolbox

Cite As

Varuna De Silva (2021). Depth Image Based Stereoscopic View Rendering (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!