Perceptual Image Similarity Metrics and Applications.