pyimagej icon indicating copy to clipboard operation
pyimagej copied to clipboard

init using 'gui' not working and interactive window changes between Java and ImageJ

Open leosilvero9 opened this issue 3 years ago • 0 comments

I have started experimenting with the python wrapper for ImageJ and I have come across a couple of issues:

when initialising with the following: ij=imagej.init(mode='gui') ij appears to be an empty item. It works fine if I initialise as 'interactive'.

Another issue I see with the code below: ij=imagej.init(mode='interactive' jimage = ij.io().open("myimage.fits") ij.ui().show(dataset)

is that the window that opens to show my image is most of the times a Java window. However occassionally, an ImageJ window will open that will have my image. The ImageJ window seems to respond better when I try to interact with it (zooming in and out).

Any ideas what's going on here? How can I always have my interactive window set to ImageJ and how can I initialise imageJ with gui?

leosilvero9 avatar Nov 04 '22 14:11 leosilvero9