Implement 2D optimal mass transport map based on theory in Gu. Domain can be unit circle or disk. Source measure is continuous, target measure is discrete.
Initial power digram is generated from random points, target area is set to 1/num_of_cells on all cells. left is initial power diagram, right is final power diagram.
See demo*.m for more examples.
- geometry-processing-package (download manually)
- geom2d
- polybool_cliper replace Matlab's builtin functions polybool and polyarea
- export_fig (optional, use to generate fig)