AnsweredAssumed Answered

Interpolation of a color sequence? - Kriging of cyclic values

Question asked by n_fullemann on Mar 28, 2013
Latest reply on Dec 7, 2013 by dpibal
Hello everyone,

For a few weeks I stay blocked with the same problem. I am trying to do an interpolation (Krigging) of a cyclic color sequence. In my case, this cyclic color sequence has 16 values. for instance, 1 corresponds to dark blue, 5 to violet, 9 to orange,13 to green and 16 to light blue. All other intermediate values are obtained by shading these colors.

My question is: How is it possible to make an interpolation (Krigging) of such a color sequence taking into account that colors are cyclic? In other words, how is it possible that a pixel located between a point having a dark blue color (value of 1) and another having a light blue color (value of 16) gets also a blue color (value of 1 or 16) and not an orange one (value of 8) ?

An option could maybe be to use the RGB values of the different colors and to do separately the interpolation for the 3 colors (one for the Red, one for the Green and one for the Blue RGB values) and then to combine them again. However, I have no idea if it would work and how to manage at the end to come back to my 16 colors.

Any help or suggestion would be greatly appreciated!

Many thanks in advance,

Nicolas

Outcomes