As in: why do we think this is reasonable / necessary?
|
def fix_ij_options(): |
|
"""Set up ImageJ default options. |
|
|
|
FIXME: Explain the rationale / idea! |
|
""" |
|
|
|
# disable inverting LUT |
|
IJ.run("Appearance...", " menu=0 16-bit=Automatic") |
|
# set foreground color to be white, background black |
|
IJ.run("Colors...", "foreground=white background=black selection=red") |
|
# black BG for binary images and pad edges when eroding |
|
IJ.run("Options...", "black pad") |
|
# set saving format to .txt files |
|
IJ.run("Input/Output...", "file=.txt save_column save_row") |
|
# ============= DON'T MOVE UPWARDS ============= |
|
# set "Black Background" in "Binary Options" |
|
IJ.run("Options...", "black") |
|
# scale when converting = checked |
|
IJ.run("Conversions...", "scale") |
As in: why do we think this is reasonable / necessary?
python-imcflibs/src/imcflibs/imagej/prefs.py
Lines 23 to 41 in f704769