Hello,
I’ve been trying out KNIME for about a week in the context of ImageJ1 und ImageJ2 plug-in development. Unfortunately, I haven’t found a solution for the following problem so far:
My ImageJ2 plug-in receives an image from which some areas (of differing sizes) are to be cropped. The resulting images are saved in an array. What should the return value look like for KNIME to display the whole array (as a table of images, similar to the result of the ImageReader node).
Attempts for the ImageJ2 plug-in:
@Parameter(type = ItemIO.OUTPUT) private ImgPlus[] output;
or
@Parameter(type = ItemIO.OUTPUT) private List<ImgPlus> output;
Those don’t work. When used as ImageJ2 plug-in, an error message is displayed for this ItemIO.OUTPUT Configuration. Instead of saving the images one by one in a folder, what should the proper workflow (and return value) be like? And how about ImageJ1 macros?
Best regards,
Dietrich Krugle