-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When you define:
@Parameter (type = ItemIO.OUTPUT)
private ImagePlus imp;
in an ImageJ2 command, the output Img
in KNIME should get its name
attribute populated from imp.getTitle()
. Currently, it is always null
which can lead to unexpected errors downstream of nodes with this output.
I assume this change would need to go somewhere into these lines:
Lines 113 to 118 in 63858c2
ImgPlusCell output = null; | |
try { | |
output = factory.createCell(new ImgPlus(image)); | |
} catch (final IOException e) { | |
e.printStackTrace(); | |
} |
EDIT: the output image also contains additional dimensions of length 1 and labelled Unknown
. It would be nice to keep the dimensions from the ImagePlus
, or at least clean the dimensions of length 1.
Metadata
Metadata
Assignees
Labels
No labels