GithubHelp home page GithubHelp logo

aaronzq / vcd-net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from feilab-hust/vcd-net

0.0 1.0 0.0 153.95 MB

License: MIT License

Jupyter Notebook 57.62% M 2.34% MATLAB 2.18% Python 37.86%

vcd-net's Introduction

VCD-Net

High-efficiency light field microscopy reconstruction for VCD-LFM. todo: add reference

This package contains:

  1. /datapre: Matlab scripts (GUI interface provided) for VCD-Net training dataset synthesis
  2. /vcdnet: Source code for deep-learning based light field microscopy reconstruction

Requirements

  • Python 3
  • (Optional but highly recommended) CUDA 10.2 and CUDNN
  • Packages:
    • easydict==1.9
    • imageio==2.4.1
    • numpy==1.15.4
    • scikit-image==0.14.1
    • scipy==1.2.0
    • tensorflow-gpu==1.14.0
  • Matlab

Usage

For usage demo, we created a jupyter notebook to navigate through the pipeline. Example data can be downloaded from here. After unzip, put the data/ and checkpoint/ folder under vcdnet/.

Updates 10.22.2020

In current revision, we added an option to switch to a modified model for function imaging data reconstruction.

To check the model, go to /vcdnet/model/unet.py->UNet_B

The general pipeline stays the same and the only thing to do for model switching is to change from config.model = 'structure' to config.model = 'function' in /vcdnet/config.py

Edit the /vcdnet/config.py to ensure:

config.PSF.n_slices = 31
label                             = 'neuron_8um_simu_40x_n11_[m30-0]_step1um'
config.model                      = 'function'
config.VALID.lf2d_path            = './data/to_predict2/'

And run

cd /code/vcdnet
python3 eval.py

or

cd /code/vcdnet
python3 eval.py --cpu

to reconstruct the demo images.

Updates 11.26.2020

More examples were added to the example dataset.

Fluo Beads

Edit the /vcdnet/config.py to ensure:

config.PSF.n_slices = 61
label                             = 'beads_empirical_40x_n11_[m30-30]_step1um'
config.model                      = 'structure'
config.VALID.lf2d_path            = './data/to_predict_beads/'

And run

cd /code/vcdnet
python3 eval.py

Worms

Edit the /vcdnet/config.py to ensure:

config.PSF.n_slices = 31
label                             = 'worm_empirical_40x_n11_[m30-0]_step1um'
config.model                      = 'function'
config.VALID.lf2d_path            = './data/to_predict_worm/'

And run

cd /code/vcdnet
python3 eval.py

vcd-net's People

Contributors

xindw avatar aaronzq avatar cq-yi avatar

Watchers

James Cloos 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.