how can I write the video from montage player in my disk

조회 수: 1 (최근 30일)
praveen rai
praveen rai 2020년 10월 15일
편집: praveen rai 2020년 10월 16일
I am using Montage MATLAB command for displaying the input adjacent to output
i wan to write that video in my disk
I am unable to do it I tried different command but it's giving error
I am attaching my code
function run1_AlgoD(stDehaze)
checkPointInArgs(stDehaze);
reSz = stDehaze.reSz;
isReSz = stDehaze.isReSz;
vidObj = stDehaze.vidObj;
readIm = stDehaze.readIm;
onlineMode = stDehaze.onlineMode;
if onlineMode
triggerconfig(vidObj, 'manual');
start(vidObj);
end
while(1)
t1 = tic;
tmp = readIm(vidObj);
if isReSz
tmp = imresize(tmp, reSz);
end
tmp = im2double(tmp);
tmp1 = real_timeSerial_dehazing(tmp);
t1 = 1/toc(t1);
fprintf('frm/sec@Org=%0.5f \n',t1);
montage({tmp,tmp1});
end
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Timing and presenting 2D and 3D stimuli에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by