[GRASS-SVN] r68984 - sandbox/bo/i.segment.gsoc2016/i.segment
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 15 12:53:26 PDT 2016
Author: hao2309
Date: 2016-07-15 12:53:26 -0700 (Fri, 15 Jul 2016)
New Revision: 68984
Modified:
sandbox/bo/i.segment.gsoc2016/i.segment/mean_shift.c
Log:
refresh the merge_small function
Modified: sandbox/bo/i.segment.gsoc2016/i.segment/mean_shift.c
===================================================================
--- sandbox/bo/i.segment.gsoc2016/i.segment/mean_shift.c 2016-07-15 17:06:47 UTC (rev 68983)
+++ sandbox/bo/i.segment.gsoc2016/i.segment/mean_shift.c 2016-07-15 19:53:26 UTC (rev 68984)
@@ -430,10 +430,11 @@
Rk_rs.sum = G_malloc(globals->datasize);
Rk_bestn_rs.mean = G_malloc(globals->datasize);
Rk_bestn_rs.sum = G_malloc(globals->datasize);
- /* ****************************************************************************************** */
- /* final pass, ignore threshold and force a merge for small segments with their best neighbor */
- /* ****************************************************************************************** */
+
+
+ /* ignore threshold and force a merge for small segments with their best neighbor */
+
if (globals->min_segment_size > 1) {
G_message(_("Merging segments smaller than %d cells..."), globals->min_segment_size);
More information about the grass-commit
mailing list