Ignore:
Timestamp:
Jun 22, 2016, 8:10:14 PM (5 years ago)
Author:
sommeria
Message:

various

File:
1 edited

Legend:

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

    r924 r956  
    2929%=======================================================================
    3030
    31 function DataOut=ima_filter(DataIn,Param)
     31function DataOut=ima_filter(DataIn)
    3232
    33 %% request input parameters
    34 if isfield(DataIn,'Action') && isfield(DataIn.Action,'RUN') && isequal(DataIn.Action.RUN,0)
    35     prompt = {'npx';'npy'};
    36     dlg_title = 'get the filter size in x and y';
    37     num_lines= 2;
    38     def     = { '20';'20'};
    39     if isfield(Param,'TransformInput')&&isfield(Param.TransformInput,'FilterBoxSize_x')&&...
    40             isfield(Param.TransformInput,'FilterBoxSize_y')
    41         def={num2str(Param.TransformInput.FilterBoxSize_x);num2str(Param.TransformInput.FilterBoxSize_y)};
    42     end
    43     answer = inputdlg(prompt,dlg_title,num_lines,def);
    44     DataOut.TransformInput.FilterBoxSize_x=str2num(answer{1}); %size of the filtering window
    45     DataOut.TransformInput.FilterBoxSize_y=str2num(answer{2}); %size of the filtering window
    46     return
    47 end
    48 
     33Origin_x=469;
    4934DataOut=DataIn; %default
     35DataOut.A=
    5036
    5137%definition of the cos shape matrix filter
Note: See TracChangeset for help on using the changeset viewer.