Giter Club home page Giter Club logo

proximage's Introduction

ProxImage

Proximal algorithms for image analysis

Authors

Nelly Pustelnik, [email protected]

Audrey Repetti, [email protected]

Summary

Image processing aims to extract or interpret the information contained in the observed data linked to one (or more) image(s). Most of the analysis tools are based on the formulation of an objective function and the development of suitable optimization methods. This class of approaches, qualified as variational, has become the state-of-the-art for many image processing modalities, thanks to their ability to deal with large-scale problems, their versatility allowing them to be adapted to different contexts, as well as the associated theoretical results ensuring convergence towards a solution of the finite objective function.

Slides of the course

1- Inverse problems and variational approaches - pdf

2- Variational approaches: From inverse problems to segmentation - pdf

3- Variational approaches in supervised learning - pdf

4- Optimisation algorithms - pdf

5- Optimisation algorithms: Block-coordinate approaches - pdf

6- Supervised learning for solving inverse problems - pdf

Python notebook

1- Play with direct model - Notebook

2- Image deconvolution considering Forward-Backward algorithm, FISTA and Condat-Vu algorithm - Notebook

3- Image denoising with Plug-and-Play Forward-Backward - Notebook

Required packages :

  • numpy

  • matplotlib

  • PIL

  • scipy

  • pywt

  • bm3d

  • torch

  • numba

  • pylobs

  • jupyter

Informations

This course has been created for "Journées SMAI-MODE 2022, Limoges"

Affiliations and websites of the authors

Nelly Pustelnik: CNRS, Laboratoire de Physique, ENS de Lyon, France and INMA, UCLouvain, Belgium

Audrey Repetti : Heriot-Watt University, Maxwell Institute, Edinburgh, UK

Installation

conda create -n prox_tutorial --file Python_tutorial/requirement.txt
conda activate prox_tutorial
pip install bm3d
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113

# for drunet, retrieve pre-trained network from https://github.com/cszn/DPIR/tree/master/model_zoo (with wget)
mkdir Python_tutorial/checkpoint && cd checkpoint
# see https://stackoverflow.com/questions/37453841/download-a-file-from-google-drive-using-wget
wget "drive.google.com/u/3/uc?id=1oSsLjPPn6lqtzraFZLZGmwP_5KbPfTES&export=download&confirm=yes" -O drunet_gray.pth

# run the notebook from jupyterlab
jupyter lab

Note: Ubuntu users may have to install Open-BLAS to be able to use BM3D, using for instance the following command

sudo apt update
sudo apt install libopenblas-base

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.