File Exchange

image thumbnail

How to make a 3D video in MATLAB

version 1.1 (1.92 KB) by

This program describes how to make a 3D video in MATLAB by using two shifted videos.



View License

How to make a 3D video in MATLAB by using two shifted videos recorded in two different cameras and which can be seen through red-cyan 3D glass.
Detail documentation can be found in :
Video tutorials can be found in :

Comments and Ratings (3)


Ben (view profile)

Thanks for sharing. What if I want a red-cyan instead of cyan-magenta?


Fiem (view profile)

Arindam Bose

Arindam Bose (view profile)

Now there is a small correction I must point out. Look at your 3D glass what you have. IF the left glass is Cyan and right glass is Magenta, then you have to make no change in this code. But if your glass is just opposite i.e. Left glass is Magenta and Right glass is Cyan, you have to make a small change. Replace the line with the following line.

movie3d(k).cdata = cat(3,leftI,rightI,rightI);

And you are done, now you have Magenta-Cyan 3D video.



Description changed


Description Changed

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today