Open xp1632 opened 7 months ago
[x] We first check the PyImageJ documentation: https://py.imagej.net/en/latest/api.html in https://github.com/Max-ChenFei/VPE_IP/issues/61
[x] We then install PyImageJ in our env via Mamba
in https://github.com/Max-ChenFei/VPE_IP/issues/62#issuecomment-1904525684
[x] We go through the jupyter notebook of PyImageJ https://github.com/imagej/pyimagej/blob/main/doc/01-Starting-PyImageJ.ipynb
[x] Then test the providing PyImageJ Usecase: https://py.imagej.net/en/latest/segmentation-use-cases.html
[x] We check how to add customized Plugins in PyImageJ
python<->java
data type converter as shown in the imageWe can import the package for Python in our ExternalImports
And the import for Java will be inside the code, which is calling jimport method
Also, the ops
method is exactly the same whether we call it in ori ImageJ or PyImageJ
numpy,ndarry -> java
convertFor list
, as in the screenshot below,
However, in the current version of ImageJ, when we have a ndarray
or xarray
in Python.
But it will not happen in another direction, when we java-->python, it's a copy, not linked
PyImageJ offers headless
mode and interactive
mode,
ROIManger
input
output
locate, in VP or ImageJ UIheadless
modeThere are different categories of PyImageJ, I'll divide them into sub-issues
Our long-term goal: