Changeset 28
Legend:
- Unmodified
- Added
- Removed
-
distools/genddat.m
r10 r28 60 60 function [DTR,DTE,Itr,Ite] = genddat(D,m,k); 61 61 62 if nargin < 3, k = []; end 63 64 % If input is a cell array of datasets, apply this procedure 65 % to the individual datasets. 66 if (iscell(D)) 67 A = cell(size(D)); 68 B = cell(size(D)); 69 IA = cell(size(D)); 70 IB = cell(size(D)); 71 seed = randreset; 72 for j=1:length(D(:)) 73 randreset(seed); 74 [DTR{j},DTE{j},Itr{j},Ite{j}] = feval(mfilename,D{j},m,k); 75 end 76 return; 77 end 78 79 80 62 81 [n,nk,c] = getsize(D); 63 82 nlab = getnlab(D); 64 83 discheck(D,[],1); % allow for similarities 65 84 66 if nargin < 3, 67 k = []; 68 else 85 if ~isempty(k) 69 86 if length(k) == 1 70 87 k = k*ones(1,c); -
distools/hausdma.m
r22 r28 14 14 % Computes a Hausdorff distance matrix DH and a modified Hausdorff distance 15 15 % matrix DM between the datafiles of binary images A and B. 16 % DH = MAX_B(MIN_A(D_AB)), DM = MEAN_B(MIN_A(D_AB)) 16 17 % Preferably, NA <= NB (faster computation). 17 18 % Progress is reported in fid (fid = 1: on the sreeen). -
distools/pe_em.m
r20 r28 39 39 % ALF of the total variance is preserved for ALF in (0,1). The resulting X is found 40 40 % by D*W. The signature of the obtained PE space (numbers of positive and negative 41 % directions) can be found by PE_SIG(W). The spectrum of the obtained space42 % can be found by PE_SPEC(W).41 % directions) can be found by GETDATA(W,'sig'). The spectrum of the obtained space 42 % can be found by GETDAT(W,'eval'). 43 43 % 44 44 % SEE ALSO 45 % MAPPINGS, DATASETS, AUGPSEM, PCA, PE_PCA, PE_SPEC,GETSIG, SETSIG45 % MAPPINGS, DATASETS, AUGPSEM, PCA, GETSIG, SETSIG 46 46 % 47 47 % LITERATURE
Note: See TracChangeset
for help on using the changeset viewer.