Git Product home page Git Product logo

dihm's Introduction

Digital Inline Holographic Microscopy (DIHM)

Here we want to present an easy to use digital inline holographic microscope employing 3D printed parts, a Raspberry Pi and Pi Cam, as well as a high-power LED and a 15 micron pinhole. For details see (link to publication following).

Assembly

  1. Print the required parts (.stl files) with a 3D printer or a 3D-printing service of your choice. We used PLA as printer material.
  2. Using pliers, remove the lens in front of the Raspberry Pi Cam v2. Assemble the Raspberry Pi 3 and the Raspberry Pi Cam.
  3. Fix the pinhole on the upper side of the pinhole holder. We used black tape to prevent residual light from passing.
  4. Connect the LED to a current source providing a current of 125 mA. Run the cables through the hole in the lower box. Fix the LED on the lower side of the pinhole holder.
  5. Assemble lower box, pinhole holder and upper box. Connect the Raspberry Pi Cam to the upper box. Connect a monitor, mouse and power source to the Raspberry Pi. Power it on.

Image Acquisition

  1. Open Camera_DIHM.py and insert the experimental parameters. If you run the file, a folder with the name YY.MM.DD_hh.mm will be created and all following files will be saved here. ATTENTION: Run Camera_DIHM.py only once every minute, or the previous files will be overwritten!
  2. If you control the LED with the Raspberry Pi's GPIO, it will now be turned on. If not, turn on the LED.
  3. Insert an object on a standard microscope slide. You will now see its hologram in the preview.
  4. By pressing ENTER an image of the object is captured. If you want to capture a higher number of images, you can enter the number in range(N).
  5. Remove the object slide. By pressing ENTER again, N in range(N) background images are captured.

Reconstruction

  1. Move the images to a PC with Fiji and the following plugin installed https://unal-optodigital.github.io/NumericalPropagation/
  2. Open Fiji and the plugin.
  3. Open the object image and choose Image>Type>32-Bit to convert it to a greyscale image.
  4. In the Plugin choose the image as real image. Let imaginary image empty. Enter the required parameters.
  5. Press propagate. After that, you can reconstruct several image planes at once by using Batch. To increase the reconstructed image's contrast you can use Process>Enhance Contrast with (0.2, normalize, prozess whole stack).

dihm's People

Contributors

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