Description Usage Arguments Value References Examples
View source: R/unbalanced_transport.R
This function constructs the corresponding problem and solves it suing the transport-function.
1 |
A |
One of the following: A matrix, representing an image; A file name containing an image; A wpp-object. |
B |
One of the following: A matrix, representing an image; A file name containing an image; A wpp-object. |
p |
A positive real number specifying the order of the Kantorovich-Rubinstein distance. |
C |
A positive real number specifying the cost parameter of the Kantorovich-Rubinstein distance. |
A list containing an entry "distance" (specifying the KR distance between the two measures) and an entry "plan" containing an optimal plan for the unbalanced optimal transport problem.
Kantorovich-Rubinstein distance and barycenter for finitely supported measures: Foundations and Algorithms; Florian Heinemann, Marcel Klatt, Axel Munk; https://arxiv.org/pdf/2112.03581.pdf.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.