Jacobs DW, Weinshall D, Gdalyahu Y.  2000.  Classification with nonmetric distances: image retrieval and class representation. Pattern Analysis and Machine Intelligence, IEEE Transactions on. 22(6):583-600.