Git Product home page Git Product logo

deco-dip's Introduction

DECO-DIP

About

DECO-DIP denoises and deconvolves microscopy images. It is based on Deep image prior (DIP) [1] and does not require any training data. This version of DIP provides a new loss function, that includes an additional term to model the forward model of the imaging process. Additionally, the time dependence of image series can be used.

Synthetic test data can be created using the code from TDEntropyDeconvolution, which is a submodule of this repo [2]. See ./docs/create_synthetic_data.md for more info.

Usage

  1. Clone the repo and initialize submodules by running

    git clone --recurse-submodules https://github.com/lin17a/DECO-DIP

    in the command line.

    If you already cloned it and forgot to inialize the submodules, run:

    git submodule update --init --recursive
  2. Apply patch files for the deep-image-prior repo:

    (cd dip && git apply ../dip.patch)
  3. Set up the python virtual environment:

    python -m venv ./path/to/new/virtual/environment
    source ./path/to/new/virtual/environment/bin/activate
    pip install -r requirements.txt
  4. Run the program. With the parameter param_path you can specify a yaml file containing the parameters. Default is ./parameters.yaml.

    ./main.py --param_path parameters.yaml
    

    If you want to run the program with more than one parameter file, you can specify a folder with parameter files. All yaml files in that folder are processed successively.

    Example config files can be found in ./example_configs and default parameters are stored in ./default_parameters.yaml.

    For detailed parameter descriptions see ./default_parameters.yaml and ./docs/parameter_description.md.

References

[1] Ulyanov, D., Vedaldi, A., & Lempitsky, V. 2020. "Deep Image Prior". International Journal of Computer Vision 128 (7): 1867โ€“88. https://doi.org/10.1007/s11263-020-01303-4.

[2] L. Woelk, S. A. Kannabiran, V. Brock, Ch. E. Gee, Ch. Lohr, A. H. Guse, B. Diercks, and R. Werner. 2021. "Time-Dependent Image Restoration of Low-SNR Live Cell Ca2+ Fluorescence Microscopy Data". International Journal of Molecular Sciences 22 (21): 11792. https://doi.org/10.3390/ijms222111792.

deco-dip's People

Contributors

lin17a 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.