Changeset 1166 for trunk


Ignore:
Timestamp:
Oct 10, 2024, 7:43:16 PM (2 months ago)
Author:
sommeria
Message:

LIF_proj ajoute

Location:
trunk/src
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/phys_ima.m

    r1129 r1166  
    33%------------------------------------------------------------------------
    44% OUTPUT:
    5 % A_out: cell array of oitput images corresponding to the transform of the input images
     5% A_out: cell array of intput images corresponding to the transform of the input images
    66% Rangx, Rangy; vectors with two elements defining the phys positions of first and last pixels in each direction
    77%  (the same for all the ouput images)
     
    1717npx=[];
    1818npy=[];
    19 dx=ones(1,numel(A));
    20 dy=ones(1,numel(A));
     19
    2120if isstruct(XmlData)
    2221    XmlData={XmlData};
     
    2524resolution_factor=1;
    2625end
    27 
     26checknumeric=0;
     27if isnumeric(A)
     28    A={A};
     29    checknumeric=1;
     30end
     31dx=ones(1,numel(A));
     32dy=ones(1,numel(A));
    2833for icell=1:numel(A)
    2934    siz=size(A{icell});
     
    102107    end
    103108end
     109if checknumeric
     110    A_out=A_out{1};
     111end
Note: See TracChangeset for help on using the changeset viewer.