フィルターのクリア

how to combine two videos in matlab

15 ビュー (過去 30 日間)
Algorithms Analyst
Algorithms Analyst 2013 年 4 月 18 日
コメント済み: mady rio 2022 年 4 月 5 日
clc
close all
clear all
source1='LID1-High Illumination.AVI';
source2='ResultsLID.AVI';
vidobj1=VideoReader(source1);
vidobj2=VideoReader(source2);
frames1=vidobj1.NUmberofframes;
frames2=vidobj2.Numberofframes;
for f1=1:frames1
thisframe1=read(vidobj1,f1);
figure(1);imshow(thisframe1);
end
one video is input and second is output result how can I combine these videos to play in one image
  1 件のコメント
mady rio
mady rio 2022 年 4 月 5 日
HI DUDE

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 4 月 18 日
for f1 = 1 : min(frames1, frames2)
thisframe1 = read(vidobj1, f1);
imshow(thisframe1);
drawnow();
thisframe2 = read(vidobj2, f1);
imshow(thisframe2);
drawnow();
end

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by