Changeset 1166
 Timestamp:
 Oct 10, 2024, 7:43:16 PM (4 weeks ago)
 Location:
 trunk/src
 Files:

 1 added
 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/phys_ima.m
r1129 r1166 3 3 % 4 4 % OUTPUT: 5 % A_out: cell array of oitput images corresponding to the transform of the input images5 % A_out: cell array of intput images corresponding to the transform of the input images 6 6 % Rangx, Rangy; vectors with two elements defining the phys positions of first and last pixels in each direction 7 7 % (the same for all the ouput images) … … 17 17 npx=[]; 18 18 npy=[]; 19 dx=ones(1,numel(A)); 20 dy=ones(1,numel(A)); 19 21 20 if isstruct(XmlData) 22 21 XmlData={XmlData}; … … 25 24 resolution_factor=1; 26 25 end 27 26 checknumeric=0; 27 if isnumeric(A) 28 A={A}; 29 checknumeric=1; 30 end 31 dx=ones(1,numel(A)); 32 dy=ones(1,numel(A)); 28 33 for icell=1:numel(A) 29 34 siz=size(A{icell}); … … 102 107 end 103 108 end 109 if checknumeric 110 A_out=A_out{1}; 111 end
Note: See TracChangeset
for help on using the changeset viewer.