File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/org/openstreetmap/josm/plugins/areaselector Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ public class ImageAnalyzer {
8585
8686
8787 // Algorithm params
88- // default for border = 40
89- public static final int DEFAULT_COLORTHRESHOLD = 17 ;
88+ // default for border = 17
89+ public static final int DEFAULT_COLORTHRESHOLD = 14 ;
9090 protected int colorThreshold = DEFAULT_COLORTHRESHOLD ;
9191
9292
@@ -95,11 +95,11 @@ public class ImageAnalyzer {
9595 public static final double DEFAULT_TOLERANCEDIST =4 ;
9696 double toleranceDist = DEFAULT_TOLERANCEDIST ; // original: 2
9797
98- // default for border = 0.25
98+ // default for border = Math.PI / 8
9999 public static final double DEFAULT_TOLERANCEANGLE = Math .PI / 8 ;
100100 double toleranceAngle = DEFAULT_TOLERANCEANGLE ; // original Math.PI/10
101101
102- // gaussian blur radius
102+ // gaussian blur radius = 10
103103 public static final int DEFAULT_BLURRADIUS = 10 ;
104104 protected int blurRadius = DEFAULT_BLURRADIUS ;
105105
You can’t perform that action at this time.
0 commit comments