Learning pairwise feature dissimilarities for person re-identification