Hi I ran into problem on color matching 2 color palettes, every color matched except that one on row 3 column 2, it always turn to pink on the result.
This is a discrete color matching problem. The color matching algorithm assumes images with a continuous color distributions with smooth color gradients, so it’s not perfectly suited for this sort of problem.
However, the explanation is in row 5 column 1, which in the source image has almost the same color as row 3 column 2. That color has to become a bright pink, and so row 3 column 2 also becomes pink.
So does that mean the problem can be resolved if I can sort the order of the color in the source image into one long smooth gradient before passing to the program?
It might be…
I isolated that two color and do the testing on the order, but the program didn’t run.
The algo matches color distributions. With two colors there is not much of a distribution, so I don’t think that will work.
Perhaps this explains why the program wouldn’t run for me when I tried to match the end credits of Star Wars.