Wasserstein Distance or Earth Mover's Distance explanation and its application.
Wasserstein distance is distance between two distributions. In computer science, it is called the Earth Mover's Distance(EMD). EMD can be found by solving a transportation problem.
...
A more mathematical explanation will be given in the near future.
In this application, the images are clustered according to pixels. In [3], the images are clustered by kd-tree. In my example, I used kmeans. I chose 20 as the number of clusters for image one, 10 as the number of clusters for image two. Each
...
A complete implementation will be given in the near future.
[1] https://en.wikipedia.org/wiki/Wasserstein_metric [2] https://en.wikipedia.org/wiki/Earth_mover%27s_distance [3] http://www.cs.jhu.edu/~misha/Papers/Rubner98.pdf [4] https://www.alexirpan.com/2017/02/22/wasserstein-gan.html