Changeset 700
- Timestamp:
- Dec 12, 2013, 4:01:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/sub_background.m
r676 r700 218 218 try 219 219 Afirst=read_image(filecell{1,1},FileType{1},MovieObject{1},frame_index{1}(1)); 220 [npy,npx ]=size(Afirst);220 [npy,npx,nbcolor]=size(Afirst);% the argument nbcolor is important to get npx right for color images 221 221 if strcmp(class(Afirst),'uint8') % case of 8bit images 222 222 Ak=zeros(npy,npx,nbaver_ima,'uint8'); %prealocate memory
Note: See TracChangeset
for help on using the changeset viewer.