A Linear Approximate Algorithm for Earth Mover's Distance with Thresholded Ground Distance

作者:Li, Longjie; Ma, Min; Lei, Peng; Wang, Xiaoping; Chen, Xiaoyun*
来源:Mathematical Problems in Engineering, 2014, 2014: 406358.
DOI:10.1155/2014/406358

摘要

Effective and efficient image comparison plays a vital role in content-based image retrieval (CBIR). The earth mover's distance (EMD) is an enticing measure for image comparison, offering intuitive geometric interpretation and modelling the human perceptions of similarity. Unfortunately, computing EMD, using the simplex method, has cubic complexity. FastEMD, based on min-cost flow, reduces the complexity to (O(N-2 logN)). Although both methods can obtain the optimal result, the high complexity prevents the application of EMD on large-scale image datasets. Thresholding the ground distance can make EMD faster and more robust, since it can decrease the impact of noise and reduce the range of transportation. In this paper, we present a new image distance metric, EMD+, which applies a threshold to the ground distance. To compute EMD+, the FastEMD approach can be employed. We also propose a novel linear approximation algorithm. Our algorithm achieves O(N) complexity with the benefit of qualified bins. Experimental results show that (1) our method is 2 to 3 orders of magnitude faster than EMD (computed by FastEMD) and 2 orders of magnitude faster than FastEMD and (2) the precision of our approximation algorithm is no less than the precision of FastEMD.