Euclidean Distance in N dimensions and Naive Image Quantization