GithubHelp home page GithubHelp logo

dearprogramer / mesolens_hilo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janschniete/mesolens_hilo

0.0 0.0 0.0 13 KB

MATLAB script for end-user HiLo microscopy and mesoscopy. Currently tuned for Mesolens data but easily adjustable. Few homebuilt functions are supplied with the script. This script is meant to be used with laser speckle illumination HiLo microscopy but can be used as a starting point to write a script for grid illumination HiLo microscopy.

MATLAB 100.00%

mesolens_hilo's Introduction

Mesolens_HiLo

MATLAB script for end-user HiLo microscopy and mesoscopy. Currently tuned for Mesolens data but easily adjustable. Few homebuilt functions are supplied with the script. This script is meant to be used with laser speckle illumination HiLo microscopy but can be used as a starting point to write a script for grid illumination HiLo microscopy. The three .m files bpgauss.m, lpgauss.m and hpgauss.m are filter creation functions used in the actual scrip hilostack.m How to use:

  1. Upon running the script hilostack.m you will be asked several times to select various files.

    1.1 First you can select a correction file for flatness of field. This is optional, if you press 'cancel', the correction defaults to unity.

    1.2 Second you have to select ALL uniform illumination files you wish to process.

    1.3 Third you have to select ALL speckle illumination files for processing

NOTE: Number of files of 1.2 and 1.3 have to be the same (these are image pairs)

  1. Next you have to specify the HiLo parameters used for processing

    2.1 First is the parameter for optical sectioning thickness. This should be done in integer numbers starting from 1. The actual thickness will depend on your image parameters as well as the speckle pattern forming in the sample.

    2.2 Second the scale of your images in pixels/micron.

  2. The script will run now until all HiLo related processing is complete and will evaluate the ratio of high to low spatial frequencies at the cut-off frequency between low and high pass filter. You can now pick a scaling or choose an individual one, this should be close to 1 as the images have been normalised. However, it is best to try different values and evaluate which gives the best results.

NOTE: This code makes use of the gpuArray function of MATLAB, if you receive an out-of-memory error for either RAM or VRAM, please contact me. I have several versions of the code capable of running on weaker machines.

mesolens_hilo's People

Contributors

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