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 :
Arindam Bose (2021). How to make a 3D video in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/40068-how-to-make-a-3d-video-in-matlab), MATLAB Central File Exchange. Retrieved .
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.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!