A linear approximate algorithm for Eerth mover's distance with thresholded ground distance
Summary: 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\log N))\). 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, \(\mathrm{EMD}^+\), which applies a threshold to the ground distance. To compute \(\mathrm{EMD}^+\), the FastEMD approach can be employed. We also propose a novel linear approximation algorithm. Our algorithm achieves \(O \left(N\right)\) 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.
scientific article; zbMATH DE number 7016362