Skip to content

Commit

Permalink
adjusted default values
Browse files Browse the repository at this point in the history
  • Loading branch information
r00tat committed Dec 24, 2014
1 parent 78d5f2d commit 4853480
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public class ImageAnalyzer {


// Algorithm params
// default for border = 40
public static final int DEFAULT_COLORTHRESHOLD= 17;
// default for border = 17
public static final int DEFAULT_COLORTHRESHOLD= 14;
protected int colorThreshold = DEFAULT_COLORTHRESHOLD;


Expand All @@ -95,11 +95,11 @@ public class ImageAnalyzer {
public static final double DEFAULT_TOLERANCEDIST=4;
double toleranceDist = DEFAULT_TOLERANCEDIST; // original: 2

// default for border = 0.25
// default for border = Math.PI / 8
public static final double DEFAULT_TOLERANCEANGLE = Math.PI / 8;
double toleranceAngle= DEFAULT_TOLERANCEANGLE; // original Math.PI/10

// gaussian blur radius
// gaussian blur radius = 10
public static final int DEFAULT_BLURRADIUS = 10;
protected int blurRadius = DEFAULT_BLURRADIUS;

Expand Down

0 comments on commit 4853480

Please sign in to comment.