Closed chandrasekarnarayana closed 1 year ago
@chandrasekarnarayana Try importing the ZProjector
class first:
import scyjava
ZProjector = scyjava.jimport("ij.plugin.ZProjector")
zproj_imp = ZProjector.run(imp, "avg")
The following worked out. Thanks @ctrueden
import imagej
import scyjava
plugins_dir = '/home/cs/Downloads/fiji-linux64/Fiji.app/plugins'
scyjava.config.add_option(f'-Dplugins.dir={plugins_dir}')
ZProjector = scyjava.jimport("ij.plugin.ZProjector")
ij = imagej.init('/home/cs/Downloads/fiji-linux64/Fiji.app')
I am trying to ZProject an stack in average mode for all the frame. I used the Fiji Macro to record and identify the command But the command is not found or accessable from Pyimagej