Changeset 772 for trunk/src/filter_tps.m


Ignore:
Timestamp:
May 9, 2014, 8:33:53 PM (10 years ago)
Author:
sommeria
Message:

manip corrections and cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/filter_tps.m

    r651 r772  
    8282            NormDiff=UDiff.*UDiff+VDiff.*VDiff;
    8383            ind_ind_sel=1:numel(ind_sel);%default
    84             if exist('Threshold','var')
     84            if exist('Threshold','var')&&~isempty(Threshold)
    8585                FF(ind_sel)=20*(NormDiff>Threshold);%put FF value to 20 to identify the criterium of elimmination
    8686                ind_ind_sel=find(FF(ind_sel)==0); % select the indices of ind_sel corresponding to the remaining vectors
Note: See TracChangeset for help on using the changeset viewer.