GithubHelp home page GithubHelp logo

aringh / generalized-sinkhorn-and-tomography Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 4.0 13 KB

Code for the article "Generalized Sinkhorn iterations for regularizing inverse problems using optimal mass transport" by J. Karlsson and A. Ringh

Python 100.00%

generalized-sinkhorn-and-tomography's Introduction

Entropy-regularized optimal transport

This repository contains the code for the article "Generalized Sinkhorn iterations for regularizing inverse problems using optimal mass transport" by J. Karlsson and A. Ringh. To appear in SIAM Journal on Imaging Sciences. arXiv:1612.02273.

Contents

The code contains the following

  • Files containing the implementation of the entropy-regularized optimal transport and its proximal operator, based on generalized Sinkhorn iterations, and other utilities.
  • Two scripts containing the two examples, and one script for post-processing some of the images for the hand-example.

Note that the two hand images used in the article do not belong to the authors and are therefore not included.

Installing and running the code

Clone the repository and install ODL (version 0.6.0) and ASTRA (version 1.8). This can be done, e.g., by using miniconda run the following commands to set up a new environment (essentially follow the odl installation instructions)

  • $ conda create -c odlgroup -n my_env python=3.6 odl=0.6.0 matplotlib pytest scikit-image spyder
  • $ source activate my_env
  • $ conda install -c astra-toolbox astra-toolbox=1.8

After this, the scripts can be run using, e.g., spyder.

Contact

Axel Ringh, PhD student
Department of Mathematics, KTH Royal Institute of Technology, Stockholm, Sweden
[email protected]

Johan Karlsson, Associate Professor
Department of Mathematics, KTH Royal Institute of Technology, Stockholm, Sweden
[email protected]

generalized-sinkhorn-and-tomography's People

Contributors

adler-j avatar aringh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.