Changeset 950 for trunk/src/imadoc2struct.m
- Timestamp:
- Jun 11, 2016, 9:32:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/imadoc2struct.m
r924 r950 126 126 end 127 127 end 128 if ~isfield(s.Camera,'FirstFrameIndexI') 129 s.Camera.FirstFrameIndexI=1; %first index qssumed equl to 1 by default 130 end 128 131 s.Time=[zeros(size(s.Time,1),1) s.Time]; %insert a vertical line of zeros (to deal with zero file indices) 129 s.Time=[zeros(1,size(s.Time,2)); s.Time]; %insert a horizontal line of zeros 132 if s.Camera.FirstFrameIndexI~=0 133 s.Time=[zeros(s.Camera.FirstFrameIndexI,size(s.Time,2)); s.Time]; %insert a horizontal line of zeros 134 end 130 135 end 131 136
Note: See TracChangeset
for help on using the changeset viewer.