Skip to content
Snippets Groups Projects
Commit 812c8d14 authored by actb's avatar actb
Browse files

numberofFrames

parent f8a3e864
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,7 @@ for t=1:length(flist)
catch
imd1.PixelPhysicalSize=[1,1,1];
end
if contains(infolder,'TRIF')
imd1.Dimensions(3)=imd1.NumberOfFrames;
imd1.NumberOfFrames=length(dir(fullfile(infolder,'*.tif')));
imd1.PixelPhysicalSize(3)=imd1.PixelPhysicalSize(3)*0.5;
end
imd1.DatasetName=expname;
h5file=fullfile(outfolder,[expname '.h5']);
prepareH5(h5file,imd1);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment