Build 3D Plot from video

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

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 6월 4일
편집: Azzi Abdelmalek 2013년 6월 4일

0 개 추천

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))

댓글 수: 1

Davit Hakobyan
Davit Hakobyan 2013년 6월 4일
I want to plot the video I have. Sounds strange but it is like so, some pattern is centered in video and it is rotating as a evolution of time i.e. frame rate. Dark elsewhere. So I want to put this info on single 3D plot

댓글을 달려면 로그인하십시오.

카테고리

질문:

2013년 6월 4일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by