Skip to content

Commit

Permalink
update doc and default parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dlegland committed May 26, 2017
1 parent 34154d1 commit 435e6e2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public class Fasga2SegmentStemPlugin implements ExtendedPlugInFilter, DialogList
private ImageProcessor result;

// parameters of the plugin
double highThresholdHoles = .99;
double lowThresholdHoles = .97;
int bubblesDiameterPx = 10;
double highThresholdHoles = .999;
double lowThresholdHoles = .99;
int bubblesDiameterPx = 20;


// A list of preview images, stored in plugin to avoid creating many many images...
Expand Down Expand Up @@ -107,7 +107,7 @@ public int showDialog(ImagePlus imp, String cmd, PlugInFilterRunner pfr)
GenericDialog gd = new GenericDialog("Fasga Segment Stem");
gd.addNumericField("High threshold for holes (0->1)", highThresholdHoles, 4);
gd.addNumericField("Low threshold for holes (0->1)", lowThresholdHoles, 4);
gd.addNumericField("Bubbles Diameter (pixels)", 10, 0);
gd.addNumericField("Bubbles Thickness (pixels)", bubblesDiameterPx, 0);

gd.addPreviewCheckbox(pfr);
gd.addDialogListener(this);
Expand Down

0 comments on commit 435e6e2

Please sign in to comment.