Ignore:
Timestamp:
May 9, 2011, 12:32:20 AM (13 years ago)
Author:
sommeria
Message:

various modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_motion.m

    r231 r248  
    224224                       xround=Field.X(ind_pt);
    225225                       yround=Field.Y(ind_pt);
    226 %                         if isfield(Field,'A')
    227226%                             dx=str2double(par.dx);
    228227%                             dy=str2double(par.dy);
     
    253252                            set(hhhh,'Position',[xround-isx2+shiftx yround-isy2+shifty 2*isx2 2*isy2])
    254253                        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, []);
    256255%                         Asub=Field.A(yround-iby2:yround+iby2,xround-ibx2:xround+ibx2);%first sub-image
    257256%                         Asub=reshape(Asub,[],1);%first sub-image reshaped as matlab vector
Note: See TracChangeset for help on using the changeset viewer.