3 ms·
I think going for anything BUT rgb based on a digital rgb source image is beyond the scope of this experiment. You are not dealing with a real image, don't both
by rf15 9y ago
I think going for anything BUT rgb based on a digital rgb source image is beyond the scope of this experiment. You are not dealing with a real image, don't bother with real color space, ESPECIALLY if you filter it all down to a palette that is even more limited.
EDIT: after looking into this: CieLAB is still beyond scope, but a good solution for nearest color when you want to be accurate to that degree.
- JustFinishedBSG 9y agoBut distances don't mean anything in the RGB space, so NN is meaningless
- dagw 9y agoWhile you are of course correct, it would be interesting to see how much the choice of color space actually matters in this particular case.
- deleted 9y ago[deleted]
- dagw 9y agoJust did a quick test with both HSV and LAB and honestly RGB seems to give the best results at least to my eye. This seems to be to be one of those cases where the simple and obvious approach appears to give a better result than the 'correct' approach
- boomlinde 9y agoDistances in RGB space certainly mean something in the sense that you get a rough approximation that gets more convincing the more colors you quantize to. Decent for some purposes, while for others you need a space that more closely maps to human perception.
- ska 9y agoThey aren't meaningless, they just aren't perceptually linear.