test with counting euclidean distance between two whole vector of pixels