Mercurial > hg > segmentation
diff utils/SegUtil.py @ 16:8b814fe5781d
added segmentation method applying nmf to ssm
author | mitian |
---|---|
date | Wed, 17 Jun 2015 18:02:33 +0100 |
parents | 6dae41887406 |
children | c01fcb752221 |
line wrap: on
line diff
--- a/utils/SegUtil.py Fri Jun 12 17:45:11 2015 +0100 +++ b/utils/SegUtil.py Wed Jun 17 18:02:33 2015 +0100 @@ -363,7 +363,7 @@ Use this when homogeneity in the SSM is expressed by SMALL value. (eg. When cosine metric and exp normalization and used for distance computation.)''' - ssm_lp = lp(enhanced_ssm, fc=fc) + ssm_lp = lp(ssm, fc=fc) # Use scipy.ndimage.filters.median_filter instead ssm_med = med_filter(ssm_lp, size=med_size)