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