4 ms·
Yes, I try to do it as cheaply as possible. abs(r1-r2) + abs(g1-g2) + abs(b1-b2)
by bd 18y ago
Yes, I try to do it as cheaply as possible.
abs(r1-r2) + abs(g1-g2) + abs(b1-b2)
- wlievens 18y agoTypically, distance between multiple samples of stuff uses the minimize-the-sum-of-squares technique, maybe it applies here too?