0001 load _frames; 0002 iFiles = dir('MN/*.png'); 0003 0004 for fr = 1: length(frames) 0005 bg = imread(strcat('MN/',iFiles(fr).name)); 0006 f2 = figure(2), imshow(bg); hold on; 0007 for ce =1: frames(fr).nCells 0008 plotCell(frames(fr).Cells(ce),'y'); 0009 end 0010 fillfigure(); 0011 imOut = ['FR\FR-',num2str(fr),'.png']; 0012 exportfigure(imOut,f2,size(bg)); 0013 close(); 0014 end