Ignore:
Timestamp:
Jul 26, 2010, 11:20:39 PM (14 years ago)
Author:
sommeria
Message:

aver_stat and time_series: bug repairs for reading images, for time series, the projection of images on a line now works
get_field: various bug repairs, export field on work space activated
struct2nc and struct2nc_toolbox.m: small bug repaired
nomtype2pair: test on string input introduced to avoid error
cell2tab: test on multiline input introduced
civ: pb about cell repair (bug with recent versions of matlab)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/aver_stat.m

    r80 r107  
    323323                            A=imread(filename);
    324324                    end
    325                     Data{iview}.ListVarName={'coord_y','coord_x','A'}; %
     325                    Data{iview}.ListVarName={'AY','AX','A'}; %
    326326                    Atype{iview}=class(A);
    327327                    npy=size(A,1);
     
    329329                    nbcolor=size(A,3);
    330330                    if nbcolor==3
    331                          Data{iview}.VarDimName={'coord_y','coord_x',{'coord_y','coord_x','rgb'}};
     331                         Data{iview}.VarDimName={'AY','AX',{'AY','AX','rgb'}};
    332332                    else
    333                          Data{iview}.VarDimName={'coord_y','coord_x',{'coord_y','coord_x'}};
     333                         Data{iview}.VarDimName={'AY','AX',{'AY','AX'}};
    334334                    end 
    335                     Data{iview}.coord_y=[npy-0.5 0.5];
    336                     Data{iview}.coord_x=[0.5 npx-0.5];
     335                    Data{iview}.AY=[npy-0.5 0.5];
     336                    Data{iview}.AX=[0.5 npx-0.5];
    337337                    Data{iview}.A=double(A);
    338338                    Data{iview}.CoordType='px';
Note: See TracChangeset for help on using the changeset viewer.