From OpInfo API, the requirement for input image is RandomAccessibleInterval
which is a normal image type in IJ2
we pass process_image with type RandomAccessibleInteral
-and try to run this plugin : result_image= ij.op().run(morphology.fillHoles", ij.py.jargs(None,process_image,None))
then we get error message as:
Indicating we need binary image as this plugin's Op, not regular RandomAccessibleInteral
How can I know if a op plugin has special type requirement not based on what its Info API said during batch node generation?
When we get plugin Information from ImageJ API :
For example,
morphology.fillHoles
:From OpInfo API, the requirement for input image is
RandomAccessibleInterval
which is a normal image type in IJ2
we pass
process_image
with typeRandomAccessibleInteral
-and try to run this plugin :result_image= ij.op().run(morphology.fillHoles", ij.py.jargs(None,process_image,None))
then we get error message as:![image](https://github.com/Max-ChenFei/VPE_IP/assets/8528052/69a4f6a6-5f69-42fc-93fc-8039e4bbbced)
Indicating we need binary image as this plugin's Op, not regular
RandomAccessibleInteral
How can I know if a op plugin has special type requirement not based on what its Info API said during batch node generation?