File Exchange

image thumbnail

How to make a 3D video in MATLAB

version 1.1.0.0 (1.92 KB) by Arindam Bose
This program describes how to make a 3D video in MATLAB by using two shifted videos.

1 Download

Updated 30 Jun 2016

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 : http://arindambose.com/?p=577
Video tutorials can be found in :
http://www.youtube.com/watch?v=UojSEpGINo0


http://www.youtube.com/watch?v=Jh9Iuw4XBgk

Cite As

Arindam Bose (2020). 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 .

Comments and Ratings (3)

Ben

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

Fiem

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.

Updates

1.1.0.0

Description changed

1.1.0.0

Description Changed

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux