项目作者: emmanuel-hartman

项目描述 :
An optimization method for computing the unbalanced Wasserstein-Fisher-Rao optimal transport distance between two measures on S^2. Includes an application to computing the SRNF shape distance and color tranfer.
高级语言: Jupyter Notebook
项目地址: git://github.com/emmanuel-hartman/WassersteinFisherRaoDistance.git
创建时间: 2021-04-14T21:13:20Z
项目社区:https://github.com/emmanuel-hartman/WassersteinFisherRaoDistance

开源协议:GNU General Public License v2.0

下载


WassersteinFisherRaoDistance

An optimization method for computing the unbalanced Wasserstein-Fisher-Rao optimal transport distance between two measures on S^2. Includes an application to computing the SRNF shape distance and color tranfer.

Note a full implementation of the block coordinate method is available on a new repo https://github.com/emmanuel-hartman/BCMOUT-pytorch

References

  1. @article{bauer2022SRNF,
  2. author = {Martin Bauer and Emmanuel Hartman and Eric Klassen},
  3. title = {The Square Root Normal Field Distance and Unbalanced Optimal Transport},
  4. journal = {Applied Mathematics {\&} Optimization},
  5. doi = {10.1007/s00245-022-09867-y},
  6. url = {https://link.springer.com/article/10.1007/s00245-022-09867-y},
  7. year = 2022, month = {may}, publisher = {Springer Science and Business Media {LLC}}, volume = {85}, number = {3}}

Please cite this paper in your work. Available at https://arxiv.org/abs/2105.06510

Requirements

Our code is written in Python and includes the following Python libraries:

  1. -Numpy 1.19.5
  2. -Scipy 1.4.1
  3. -PyTorch 1.4.0
  4. -MatPlotLib 3.2.0

For application to the SRNF shape distance:

  1. -open3d 0.10.0.1
  2. -polyhedrec (Available at https://github.com/gsellaroli/polyhedrec)

For application to Color Transfer:

  1. -scikit-image 0.15.0

Usage

Usage of WFR explained a jupyter notebook called Examples.ipynb.

Usage of WFR for SRNF shape distance explained in jupyter notebook called ShapeExample.ipynb.

Usage of WFR for color transfer explained in jupyter notebook called ColorTransferExample.ipynb.

Main Functions

Discriptions of the main functions can be found by calling help(WFR),help(PLShapes), or help(ColorTransfer).

License

You may redistribute and/or modify this code under the terms of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Contact

elh18e(at)my.fsu.edu

bauer(at)math.fsu.edu