xyzct
0001 function answer = bfimg2tif( imgs, filename ) 0002 0003 %xyzct 0004 temp = zeros([size(imgs,1), size(imgs,2), 1, size(imgs,3), 1]); 0005 for x=1:1:size(imgs,1) 0006 for y=1:1:size(imgs,2) 0007 for c=1:1:size(imgs,3) 0008 temp(x,y,1,c,1) = imgs(x,y,c); 0009 end 0010 end 0011 end