sustaining_gazes/matlab_version/face_validation/DeepLearnToolbox/util/flicker.m

11 lines
208 B
Mathematica
Raw Normal View History

2016-04-28 19:40:36 +00:00
function flicker(X,fps)
figure;
colormap gray;
axis image;
while 1
for i=1:size(X,1);
imagesc(squeeze(X(i,:,:))); drawnow;
pause(1/fps);
end
end
end