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

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!