how can I write the video from montage player in my disk
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!