Similarity Measure Learning in Closed-Form Solution for Image Classification. (26th June 2014)