Efficient color histogram indexing for quadratic form distance functions | Synapse