|
|
|
|
|
by yummyfajitas
5399 days ago
|
|
Mongodb spatial indexing is 2d ([x,y]), as far as I know, so that would only work if we didn't have any items with a blue channel (rgb(x,y,0)). Regardless, that's all Euclidean. Human perception of color follows the CieLAB non-metric. (It's basically just a function of two variables, since it satisfies neither the triangle inequality nor symmetry.) |
|