Skip to content

Explain what's being done in fix_ij_options() #46

@ehrenfeu

Description

@ehrenfeu

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")

Metadata

Metadata

Labels

documentationMissing documentation, docstring conventions, ...questionFurther information is requested

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions