Mercurial > hg > sfx-subgrouping
comparison phase2/treeLinkFeatures.m @ 31:55813e99c6cf
fixing bug to allow for depth range to be input to treeLink
author | DaveM |
---|---|
date | Wed, 15 Mar 2017 11:26:24 +0000 |
parents | b3396ee02c42 |
children |
comparison
equal
deleted
inserted
replaced
30:b3396ee02c42 | 31:55813e99c6cf |
---|---|
24 end | 24 end |
25 if(nargin < 2) | 25 if(nargin < 2) |
26 depthThresh = 999; | 26 depthThresh = 999; |
27 end | 27 end |
28 | 28 |
29 if (len(depthThresh) == 1) | 29 if (length(depthThresh) == 1) |
30 depthThresh = 1:depthThresh; | 30 depthThresh = 1:depthThresh; |
31 end | 31 end |
32 | 32 |
33 linkList = aglomCluster(data); | 33 linkList = aglomCluster(data); |
34 linkList = depthCheck(linkList); | 34 linkList = depthCheck(linkList); |