function plotDilation(videoArray)
% sc = prctile(videoArray(:),95);
sc = .2;
imagesc(videoArray(:,:,1),[-sc,sc])
colorbar
%gif('dilationgif.gif','DelayTime',0.1,'LoopCount',5,'frame',gcf)
hold on
for f = 1:size(videoArray,3)
    imagesc(videoArray(:,:,f),[-sc,sc])
    %gif
    pause(.1)
end