Build 3D Plot from video
2 views (last 30 days)
Show older comments
I have a video where some centered pattern is rotating. So I need to illustrate this video on one plot, frame rate as an one direction in plot. As a beginner any bit of information for me is appreciable. Thanks
0 Comments
Answers (1)
Azzi Abdelmalek
on 4 Jun 2013
Edited: Azzi Abdelmalek
on 4 Jun 2013
To read your video
video= VideoReader('yourfilename.mpg')
vidFrames = read(video);
frame1=vidFrames(:,:,:,1)
Can you explain what do you want to plot? I'am not sur, maybe
f=double(frame1);
mesh(f(:,:,1),f(:,:,2),f(:,:,3))
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!