Ignore:
Timestamp:
Jun 3, 2014, 8:10:03 PM (10 years ago)
Author:
sommeria
Message:

AX and AY changed to Coord_x and Coord_y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/geometry_calib.m

    r773 r782  
    916916path_UVMAT=fileparts(path_uvmat); %path to UVMAT
    917917addpath(fullfile(path_UVMAT,'transform_field'))
    918 Data.ListVarName={'AY','AX','A'};
    919 Data.VarDimName={'AY','AX',{'AY','AX'}};
     918Data.ListVarName={'Coord_y','Coord_x','A'};
     919Data.VarDimName={'Coord_y','Coord_x',{'Coord_y','Coord_x'}};
    920920if ndims(A)==3
    921921    A=mean(A,3);
    922922end
    923923Data.A=A-min(min(A));
    924 Data.AY=[npxy(1)-0.5 0.5];
    925 Data.AX=[0.5 npxy(2)];
     924Data.Coord_y=[npxy(1)-0.5 0.5];
     925Data.Coord_x=[0.5 npxy(2)];
    926926Data.CoordUnit='pixel';
    927927Calib.GeometryCalib=GeometryCalib;
     
    929929rmpath(fullfile(path_UVMAT,'transform_field'))
    930930Amod=DataOut.A;% current image expressed in 'phys' coord
    931 Rangx=DataOut.AX;% x coordinates of first and last pixel centres in phys
    932 Rangy=DataOut.AY;% y coordinates of first and last pixel centres in phys
     931Rangx=DataOut.Coord_x;% x coordinates of first and last pixel centres in phys
     932Rangy=DataOut.Coord_y;% y coordinates of first and last pixel centres in phys
    933933if CalibData.grid.CheckWhite
    934934    Amod=double(Amod);%case of white grid markers: will look for image maxima
Note: See TracChangeset for help on using the changeset viewer.