You can use ImageJ from Python:
- If you want to write ImageJ scripts in the Python language, which run from inside ImageJ similar to other scripts, check out the Jython Scripting page.
- If you want to embed an ImageJ inside of your Python code, such as within a Jupyter notebook using the Python kernel, check out the pyimagej Python package. It allows you to create an ImageJ with full access to its API from Python. See the ImageJ tutorial notebooks for an introduction.
- Advantage: It is possible to combine ImageJ with other image analysis libraries like scikit-image, ITK, OpenCV and more in a single Python program.
- Disadvantage: Wrapping ImageJ in Python has some limitations and bugs, particularly surrounding use of ImageJ1 features, compared to using ImageJ from Java-based kernels such as BeakerX.