K-Means Hashing: An Affinity-Preserving Quantization Method for Learning Binary Compact Codes | Synapse