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 : http://arindambose.com/?p=577
Video tutorials can be found in :
Thanks for sharing. What if I want a red-cyan instead of cyan-magenta?
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.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.