Ignore:
Timestamp:
Oct 19, 2012, 5:26:57 PM (12 years ago)
Author:
sommeria
Message:

functions updated to fit with new conventions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/remove_background.m

    r40 r557  
    1 function DataOut=remove_particles(DataIn,Calib)
     1function DataOut=remove_background(DataIn)
    22%-----------------------------------------------
     3%% set GUI config: no action defined
     4DataOut=[];  %default  output field
     5if strcmp(DataIn,'*')
     6    return
     7end
     8
    39%parameters
    410threshold=200
     
    915
    1016%BACKGROUND LEVEL
    11 Atype=class(DataIn.A)
     17Atype=class(DataIn.A);
    1218A=double(DataIn.A);
    1319Backg=zeros(size(A));
Note: See TracChangeset for help on using the changeset viewer.