Giter Site home page Giter Site logo

ni-chen / fast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiawei-sn/fast

1.0 0.0 0.0 14 KB

Far-field Amplitude-only Speckle Transfer (FAST) algorithm for quantitative phase imaging through a multi-core fiber bundle

License: Creative Commons Zero v1.0 Universal

MATLAB 100.00%

fast's Introduction

FAST

Far-field Amplitude-only Speckle Transfer (FAST) algorithm for quantitative phase imaging through a multi-core fiber bundle. 14 April 2022

Table of Contents

General Information

  • The Matlab code is ulilized for quantitative phase imaging through a multi-core fiber bundle.
  • The far-field speckle images are used to retireve the phase information on the facet of the fiber bundle.
  • You can read our paper for detailed information [1]. Please cite our paper if you used this code for your project.
  • [1] Sun J, Wu J, Wu S, et al. Quantitative phase imaging through an ultra-thin lensless fiber endoscope[J]. Light: Science & Applications, 2022..
  • https://doi.org/10.1038/s41377-022-00898-2

Sample Data

  • A sample dataset can be downloaded from the link below
  • https://cloudstore.zih.tu-dresden.de/index.php/s/yQq4FsWN6bFaZRQ
  • The dataset contains the system response (speckle images) of a phase target
  • Two far-field speckles are used to reconstruct the intrinsic phase distortion of the fiber bundle
  • Another far-field speckle measured with the sample is used to reconstruct the quantitative phase information of the sample

How to use

  • Requirements: Matlab 2017b or later version and at least one Nvidia GPU
  • How to run the code?
  1. Download and unzip the code
  2. Download the sample data from the link above
  3. Copy the "data.mat" to the folder where you store the code or the matlab path
  4. Run the "main.m"
  • Note: the phase reconstruction for the intrinsic phase distortion can take a very long time on a normal laptop, plase be patient.

Setup

  • "Main.m" Main code for the reconstruction
  • "prop.m" Numerical propagation function
  • "tiltPhase" Generate a tilted phase image for wavefront correction

Contact

Created by Jiawei Sun ([email protected]) from TU Dresden - feel free to contact me!

fast's People

Contributors

jiawei-sn avatar

Stargazers

 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.