We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82df887 commit f9b6e99Copy full SHA for f9b6e99
1 file changed
src/imcflibs/imagej/prefs.py
@@ -37,6 +37,11 @@ def set_default_ij_options():
37
# Set foreground color to be white and background black
38
IJ.run("Colors...", "foreground=white background=black selection=red")
39
40
+ # Set iterations and count to 1
41
+ # - Iterations: number of times erosion (dilation, opening, closing) is performed
42
+ # - Count: number of adjacent background pixels necessary before a pixel is removed
43
+ # from the edge of an object during erosion and the number of adjacent foreground
44
+ # pixels necessary before a pixel is added to the edge of an object during dilation.
45
# Set black background for binary images and set pad edges to true to prevent eroding from image edge
46
IJ.run("Options...", "iterations=1 count=1 black pad")
47
0 commit comments