Misbehaviour of Image Reader (Table) Node

Hi there,

I encountered some strange behaviour of the Image Reader nodes: the Image Reader (Table) node is for some reason unable to load images from an URL (“encountered errors during execution” - btw. usually the error messages are more helpful :wink: ) whereas if I pass the same url as a variable to the Image Reader node, this one is able to retrieve the image… As I’d prefer not working with variables and workarounds if there is a proper node for my task, can someone suggest how I can get the “Table” node to work?

Here is the excerpt of the KNIME Log:
2021-06-18 10:48:06,830 : WARN : main : : Node : Image Reader (Table) : 3:276 : Auto-configure Image Column: column1
2021-06-18 10:48:09,778 : WARN : KNIME-Worker-42-Image Reader (Table) 3:276 : : ImgReaderTableNodeModel : Image Reader (Table) : 3:276 : Encountered exception while reading image: Row0! view log for more info.
2021-06-18 10:48:09,780 : WARN : KNIME-Worker-42-Image Reader (Table) 3:276 : : Node : Image Reader (Table) : 3:276 : Encountered errors during execution!
2021-06-18 10:48:50,111 : WARN : KNIME-Worker-43-Image Reader (Table) 3:276 : : ImgReaderTableNodeModel : Image Reader (Table) : 3:276 : Encountered exception while reading image: Row0! view log for more info.
2021-06-18 10:48:50,114 : WARN : KNIME-Worker-43-Image Reader (Table) 3:276 : : Node : Image Reader (Table) : 3:276 : Encountered errors during execution!
2021-06-18 10:50:16,673 : WARN : main : : Node : Image Reader (Table) : 5:276 : Auto-configure Image Column: column1
2021-06-18 10:50:38,344 : WARN : KNIME-Worker-45-Image Reader (Table) 5:276 : : ImgReaderTableNodeModel : Image Reader (Table) : 5:276 : Encountered exception while reading image: Row0! view log for more info.
2021-06-18 10:50:38,349 : WARN : KNIME-Worker-45-Image Reader (Table) 5:276 : : Node : Image Reader (Table) : 5:276 : Encountered errors during execution!

And here is the proof that I am doing something utterly wrong:
Image_Fail.knwf (160.3 KB)

Thanks a lot!
Alec

2 Likes

Hi @Alec,

Interesting idea to pass the URL to the Image Reader via a flow variable: I had never tried that. And it confuses me even more that this actually works. It’s a known issue that reading from URLs doesn’t work with the current implementation of the Image Reader (Table) node and thought it was due to the underlying library that we are using.

@gab1one Do you have an idea what’s going on here and why the Image Reader node can read from a URL when passed via the file_list flow variable?!

Best,
Stefan

1 Like

To my knowledge, it is possible to read URLs with the Image Reader (Table) node (e.g. https://imagej.net/images/cat.jpg works well), but it might depend on the file format.

Thanks for pointing that out, @imagejan. I have tried to do exactly that some weeks ago and wasn’t successful. But you are right that I was trying to read multi-dimensional images from TIFFs…

2 Likes

Related:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.