I'm able to display a sequence of independent images in real-time using MatLab, but when attempting the same
operation with in FreeMat, the images seem to block during update. I can perform the required operaton via the
command line, but when I code the operation within a function, as stated before, the images block and I only rendered the final image....I've include the FreeMat code for your review....any help will be appreciated...
function frames = imDispTest()
seqStart = 0;
seqEnd = 10;
fileName = 'seq1\';
for i = seqStart:seqEnd
fName = sprintf('%s%04d.jpg', fileName, i); % build the imput image name
frame = imread(fName); % read the input image
disp(sprintf('Image Name: %s\n', fName));
image( frame ); % display the current image
figure(1);
pause(1.000); % 1 milli-second pause; allow for display update...
end
end
1