Hi,
I am regularly using python nodes to process images within knime.
I found out that if I use the segment cropper node to crop a ROI of a larger image, then I cannot load this cropped image in the python node ! It throws :
“Could not serialize image. Possible reasons: Unsupported image type, dimensionality of the image,…”
I tried converting the image with the image converter and different configuration for the background parameter of the cropper but it does not solve the problem.
I also tried different images and format and I have the same issue, while if I skip the cropper node the python node manages to load the input data.
Here is the workflow, the top python node should be able to load the input table, while the bottom one fails. Bug_CropperPython.knwf (16.4 KB)
Thanks for the answer, definitly helps.
As a side note from your workflow, I just understood that providing an offset value to the set metadata actually adds the provided value to the existing offset and do not replace it as one could expect, right ?