Large-scale high dimensional distance metric learning and its application to computer vision