Depth Image Based Stereoscopic View Rendering

This program accepts a color and a depth video and converts them to stereoscopic views
3.8K Downloads
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 http://sprljan.com/nikola/matlab/yuv.html. This toolbox enables to do many yuv related functions.

Please contact me if you cant get the yuv toolbox

Cite As

Varuna De Silva (2024). Depth Image Based Stereoscopic View Rendering (https://www.mathworks.com/matlabcentral/fileexchange/27538-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
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

I have made this code faster now, with a look up table to stop calculating shift every time you read a depth pixel value.

Also, in the earlier version the demo did not work due to differences in file names

1.0.0.0