question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Check out pyimagej 0.4.0

See original GitHub issue

With the 0.4.0 release of the ImageJ Python module—renamed from imagej to pyimagej now—it is feasible to start up an ImageJ without needing a local copy of Fiji:

import imagej
ij = imagej.init()

By default, it grabs the latest release of the net.imagej:imagej artifact from the maven.imagej.net.

You can also spin up a different version explicitly for reproducibility, or spin up an ImageJ1-enabled ImageJ, or a full Fiji installation. See the README for details.

One of these capabilities may help streamline relevant ImageJ usage in example notebooks here.

I did some testing but there are surely still some rough edges. If you get a chance to play with it and find any issues, please do not hesitate to let me know.

The release is available now on PyPI, and should be on conda-forge as well shortly.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ctruedencommented, Jan 7, 2019

Closing this issue here in favor of imagej/pyimagej#21 and scijava/scyjava#5. Once those are resolved, and I’m confident pyimagej is usable in a dynamic notebook context via ! syntax, we can try again to update the notebooks here.

1reaction
thewtexcommented, Dec 7, 2018

I agree that would be a nice improvement. Could you open an issue on the pyimagej repo?

Yes! Added with a minimal example here: https://github.com/imagej/pyimagej/issues/21

Read more comments on GitHub >

github_iconTop Results From Across the Web

Check out pyimagej 0.4.0 · Issue #116 - GitHub
With the 0.4.0 release of the ImageJ Python module—renamed from imagej to pyimagej now—it is feasible to start up an ImageJ without needing ......
Read more >
pyimagej - PyPI
Python wrapper for ImageJ. pyimagej provides a set of wrapper functions for integration between ImageJ and Python.
Read more >
pyimageJ image.init troubles - Development - Image.sc Forum
Hi, I have been trying to setup pyimageJ using anaconda version: 4.7.12 but I have been struggling to get it working. I have...
Read more >
imagej/pyimagej - Gitter
Hi everyone, I'm having issues with a local and server installation of pyimage, I'm using pyimage==0.4.0 and scyjava==1.5.1, but I keep getting the...
Read more >
How to initialize PyImageJ
The PyImageJ plugin works by setting up a gateway interface into ImageJ2. ... The ImageJ2 gateway is initialized through a Java Virtual Machine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found