Build 3D Plot from video
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Azzi Abdelmalek
2013년 6월 4일
편집: Azzi Abdelmalek
2013년 6월 4일
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))
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!