A new distance measure for non-identical data with application to image classification. (March 2017)