Changeset 1110 for trunk/src/phys_XYZ.m


Ignore:
Timestamp:
Jan 20, 2022, 8:30:32 PM (2 years ago)
Author:
sommeria
Message:

calibration with plane angl corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/phys_XYZ.m

    r1109 r1110  
    7777    R=(Calib.R)';
    7878    c=Z0virt;
     79    cvirt=Z0virt;
    7980    if testangle
    8081        % equation of the illumination plane: z=ax+by+c
     
    9091        cvirt=Z0virt-avirt*Calib.SliceCoord(Zindex,1)-bvirt*Calib.SliceCoord(Zindex,2);% Z0 = (virtual) z coordinate on the rotation axis (assumed horizontal)
    9192                               % c=z coordinate at (x,y)=(0,0)
     93        c=Z0virt-a*Calib.SliceCoord(Zindex,1)-b*Calib.SliceCoord(Zindex,2);
    9294        R(1)=R(1)+avirt*R(3);
    9395        R(2)=R(2)+bvirt*R(3);
Note: See TracChangeset for help on using the changeset viewer.