I have some small problem. I have an RGB image. I did a channel split, saved channel2 as seperate tif file and loaded it as input image in ilastik for training to get a pixel classification project file that I wanted to use in KNIME ilastik headless node to process the image.
Now I first tried to load the original RGB image in KNIME, do a channel split there as well, use a column filter to select only channel 2 and feed this image into the ilastik headless node where I selected the respective ilp file. The execution of that node always gives an error:
2017-03-27 15:42:52,388 : DEBUG : KNIME-Worker-407 : Ilastik Headless (Pixel classification) : Ilastik Headless (Pixel classification) : 0:115 : Execute failed: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
However if I load the same file that I used to train the classifier (only channel 2 saved as single tif image) into Knime the ilastik headless node is executed correctly.
Now I'm a bit puzzled because in principle both ways should work, right?