Changeset 742 for trunk/src


Ignore:
Timestamp:
Apr 15, 2014, 9:07:44 AM (10 years ago)
Author:
sommeria
Message:

cleaning of phys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/phys.m

    r695 r742  
    275275           end
    276276        end
    277         xima=[0.5:npx-0.5];%image coordiantes of corners
     277        xima=0.5:npx-0.5;%image coordinates of corners
    278278        yima=npy-0.5:-1:0.5;
    279         [XIMA_init,YIMA_init]=meshgrid(xima,yima);%grid of initial image in px coordiantes
     279        [XIMA_init,YIMA_init]=meshgrid(xima,yima);%grid of initial image in px coordinates
    280280        [XIMA,YIMA]=px_XYZ(CalibIn{icell},X,Y,zphys);% image coordinates for each point in the real
    281281        %[XPHYS_init,YPHYS_init]=phys_XYZ(Calib,XIMA_init,YIMA_init,ZIndex);
    282                  testuint8=isa(A{icell},'uint8');
    283          testuint16=isa(A{icell},'uint16');
     282        testuint8=isa(A{icell},'uint8');
     283        testuint16=isa(A{icell},'uint16');
    284284        if ndims(A{icell})==2 %(B/W images)
    285285        A_out{icell}=interp2(XIMA_init,YIMA_init,double(A{icell}),XIMA,YIMA);
Note: See TracChangeset for help on using the changeset viewer.