sustaining_gazes/matlab_version/face_validation/DeepLearnToolbox/util/flicker.m
2016-04-28 15:40:36 -04:00

11 lines
No EOL
208 B
Matlab

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