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