- Timestamp:
- Nov 9, 2016, 7:47:13 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/proj_field.m
r967 r971 19 19 % .Type : type of projection object 20 20 % .ProjMode=mode of projection ; 21 % .CoordUnit: 'px', 'cm' units for the coordinates defining the object 21 % .CoordUnit: 'px', 'cm' units for the coordinates defining the 22 % objectuvmat 23 22 24 % .Angle ( angles of rotation (=[0 0 0] by default) 23 25 % .ProjAngle=angle of projection; … … 1574 1576 ProjData.(AXName)=[coord_x_proj(1) coord_x_proj(end)]; %record the new (projected ) x coordinates 1575 1577 [X,YI]=meshgrid(coord_x_proj,coord_y_proj);%grid in the new coordinates 1576 XI=ObjectData.Coord(1,1)+(X)*cos(PlaneAngle( 3))-YI*sin(PlaneAngle(3));%corresponding coordinates in the original system1577 YI=ObjectData.Coord(1,2)+(X)*sin(PlaneAngle( 3))+YI*cos(PlaneAngle(3));1578 XI=ObjectData.Coord(1,1)+(X)*cos(PlaneAngle(2))-YI*sin(PlaneAngle(1));%corresponding coordinates in the original system 1579 YI=ObjectData.Coord(1,2)+(X)*sin(PlaneAngle(2))+YI*cos(PlaneAngle(1)); 1578 1580 if numel(Coord{1})==2% x coordiante defiend by its bounds, get the whole set 1579 1581 Coord{1}=linspace(Coord{1}(1),Coord{1}(2),CellInfo{icell}.CoordSize(1)); -
trunk/src/script_readlvm.m
r959 r971 1 1 %% get the input file 2 project='/fsnet/project/coriolis/201 5/15MINI_MEDDY/PROBES';3 if ~exist(project,'dir')4 project='U:\project\coriolis\2015\15MINI_MEDDY\PROBES';%windows5 end2 project='/fsnet/project/coriolis/2016/16CREST'; 3 % if ~exist(project,'dir') 4 % project='U:\project\coriolis\2015\15MINI_MEDDY\PROBES';%windows 5 % end 6 6 fileinput=uigetfile_uvmat('pick an input file',project); 7 7 [Path,Name,Ext]=fileparts(fileinput); -
trunk/src/series/extract_multitif.m
r939 r971 130 130 rank=regexprep(rank,['^' RootName '@'],''); 131 131 if ~isequal(str2num(rank),ilist-1) 132 disp( 'error in the list of input files')132 disp(['error in the list of input file # ' num2str(ilist-1)]) 133 133 return 134 134 end … … 178 178 t=struct2xml(XmlInput.Camera); 179 179 t=set(t,1,'name','ImaDoc'); 180 save( fullfile(Param.InputTable{1,1},'PCO.xml'),t)180 save(t,fullfile(Param.InputTable{1,1},'PCO.xml')) 181 181 182 182 %% remove initial files if transfer OK
Note: See TracChangeset
for help on using the changeset viewer.