I have a question regarding the color manager color palette and the possibility of setting a custom palette. In the attached workflow, which was adapted from the “performing a k-Means_Clustering” example I read in a CSV file that has 5 columns, the first three are Red, Green, Blue values and the 4th and 5th are X and Y coordinates. The entire list is 25,000 rows long and represents a 129 x 192 pixel image of a baby deer (fawn). The K- means clustering is set for 10 based on the RGB values and produces the following 10 sets of cluster centers:
I would like to us those center values in the color manager to assign colors to the clusters. I know I can do this manually by selecting “Custom” in the Color Settings of the Color Manager, under palettes, but I want to have the workflow do this automatically since I plan on playing with the number of clusters and each change would produce new clusters and assignments. I’ve tried exporting color models but can’t modify them. I’ve also tried to play with the color appender, but failed. I believe a solution might be possible through flow variables, but this seems to be more complicated then the simple parametrizations shown in the tutorials so I’m stuck. Also, if there is a better way of assigning an “average” color please let me know, I’m open to suggestions. Oh, I should mention that while I am a scientist (medicinal chemist) who uses knime for other things, this is strictly a hobby project that will be used to (hopefully) create paintings and quilts.
Thanks in advance,