%This plays an image array as a movie.
function [] = playSequence(imarray)
    for i=1:size(imarray,3)
        imshow(imarray(:,:,i))        
        pause(0.03)
    end
end
