I have several sets of multidimensional data each of which could be interpreted as a 2D image with several channels - say red, green, blue and alpha.
I'd like to convert this raw data into image cells so that I can use the image processing tools.
What would be the best approach to tackle this in Knime? Any method that does not involve writing a tiff file and re-reading it back into Knime?
Cheers,
Steve.
Hi SOH979,
if reading in the files with the Image Reader doesn't work, you can use the File Reader / CSV Reader and read in the data into a KNIME table. Then you may want to use the
we can read in data from tables, e.g. if you read them in with the CSV Writer. You can try to use the "Data Row to Image" node. If you need any help using this node, you can upload an example file and I will try to provide you an example workflow.
Greetings,
Christian
The "images" are calculated from other data, there's no image file to work with (unless I write them to a temp file - which I'd really want to avoid).
I'm thinking
[read data / process data] -> R View (Table) -> Image To Table
might be the way to do it - if I can figure out how to generate multi-channel images in R?
Cheers,
Steve.
Hi Steve,
Unfortunately I don't know how to generate multi-channel images in R.
Anyway, you don't need to read the image data in with a File Reader or something, you can use the "Data Row to Image" node anyway and then go on working with the KNIME Image Processing Extension. So if you could extract me one example image, I can provide you an example workflow which shows you how to do this.
Cheers,
Christian