In the Fiji script editor, the simple script:
import imagej
ij = imagej.init()
print(ij.getVersion())
produces output: 2.16.0/Inactive
I'm not sure if I should be initializing differently. Presumably I don't need to point to my local install? But I'm not sure how to get the legacy service active.
Also, isn't it problematic to be running imagej.init
repeatedly? My intuition is that we want to initialize pyimagej once when launching in python mode, ensure it is done properly, make ij
available for all, and kill other attempts to call init in the script editor..