Changeset 248 for trunk/src/mouse_motion.m
- Timestamp:
- May 9, 2011, 12:32:20 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_motion.m
r231 r248 224 224 xround=Field.X(ind_pt); 225 225 yround=Field.Y(ind_pt); 226 % if isfield(Field,'A')227 226 % dx=str2double(par.dx); 228 227 % dy=str2double(par.dy); … … 253 252 set(hhhh,'Position',[xround-isx2+shiftx yround-isy2+shifty 2*isx2 2*isy2]) 254 253 end 255 [xtable ytable utable vtable ctable typevector result_conv] = pivlab (Field.A,Field.B,ibx2,iby2,isx2,isy2,shiftx,shifty,[xround yround], 1, []);254 [xtable ytable utable vtable ctable typevector result_conv] = pivlab (Field.A,Field.B,ibx2,iby2,isx2,isy2,shiftx,shifty,[xround size(Field.A,1)-yround+1], 1, []); 256 255 % Asub=Field.A(yround-iby2:yround+iby2,xround-ibx2:xround+ibx2);%first sub-image 257 256 % Asub=reshape(Asub,[],1);%first sub-image reshaped as matlab vector
Note: See TracChangeset
for help on using the changeset viewer.