Lines Matching full:weights
1249 (it weights distances appropriately for RGB colors). You'll need to modify