This is the repository for the inline holographical microscope.
This is be part of the workshop which can be found in WORKSHOP. Note that the designs has been updated since the last workshop was organized. The files and linked on this page are up to date. The files in the workshop document follow the old version of the cube.
It acquires the interference of the spherical wave coming from a pinhole, illuminated by an LED, and the scattered wave from a transparent (phase) sample.
For reconstructing the Hologram, acquired on-chip (Raspi-Cam, left) one only needs to "deconvolve" it with the free propagator at a certain z-distance (i.e. Fresnel propagator).
A more in-detail documentation can be found here
- Lensless
- Explain Interference
- Low-cost acquisition
- Open-Source
- Compatible with Educational purposes
The Bill of Materials is always the most up-to-date version!
Name | Properties | Price | Link | # |
---|---|---|---|---|
Baseplate puzzle | - | 5€ | Base-plate | 4 |
Module: Raspberry Pi Camera | - | 20 € | Raspi Camera Cube | 1 |
Module: LED + Pinhole | - | 10€ | LED + Pinhole | 1 |
To acquire the STL-files use the UC2-Configurator. The files themselves are in the RAW folder. The module can be built using injection-moulded (IM) or 3D-printed (3DP) cubes.
- Check out the RESOURCES for more information!
- 16× 5mm Ball magnets 🢂
- 8× - 16× Screws DIN912 ISO 4762 M3×12 mm 🢂
- 2× M2×12 mm and 2× M2 nut - non-magnetic
- 1× Raspberry Pi Camera 🢂
- 1x Raspberry Pi
- 1x wired LED (blue)
- 1x button
- 1x Power Supply for Raspberry Pi
For assembly instructions of the respective modules refer to the links in Modules for this setup.
🢂 Find more in the Electronics section
🢂 Find the software for this setup in our dedicated UC2-Software-GIT
This assumes you have built the Inline-holographical microscope already.
Soon we will provide a browser-plugin for the image reconstruction using found in our ImJoy Github-Repository.
This is an example for an acquired inline hologram.
In order to use this setup one has to take a picture with the Raspberry Pi camera module. This can conveniently be done using the command-line tool raspistill
which can be called from the Terminal in the Raspberry Pi.
A more in-detail documentation can be found here.
We use a very basic setting with auto-white-balance, auto-exposure and jpeg compression by typing
cd ~
mkdir inlineholo
cd inlineholo
raspistill -f my_inline_test.jpg
This will open the camera, capture an image and saves it as my_inline_test.pg
in the folder inlineholo
in the Pi-home directory. Using a USB-drive one can copy the file to a computer for further processing.
We have created an iPython-Notebook
for this task which can be found here.
Install Anaconda 3.6 (latest version for windows). Therefore follow the tutorial in this link: Anaconda Installation (external).
- After you've installed Anacoda, download the ipython notebook file:
Listings_1_ReconHoloInline.ipynb
by clicking this link and type control+s for saving it somewhere on the computer
- Copy Image in the same folder as the
.iypnb
-file
Windows+R
=> Run prompt- enter
CMD
and hit enter - The Terminal opens
- Copy the path where you have the image and script file (e.g. C:\Users\diederichbenedict\Downloads\HOLOGRAM)
If you're not happy with the region of interest (ROI) change the center coordinates center_x
and center_y
to what you would like to see in the RAW-hologram.
Rerun the programm by hitting "run all"
If you want to process a bigger field of view or ROI change the variable "mysize" to a bigger number, but take into account, that the processing time increasing!
If you think, that the refocussing range is either too small or too large (i.e. too close or too far away), than change the parameters:
# Creating costume widget
FocusSlider = widgets.FloatSlider(
min = 0,
max = .01,
step = 1e-3,
value=0,
description = 'ZPos',
continuous_update = True
)
min
, max
and step which describe the minimal/maximal focal distance between the sensor and the sample as well as the stepsize where the algorithm calculates the refocussed hologram.
None yet. Be the first to share yours!
If you find this piece usefull or you want to improve it, please feel free to file an issue or write us a message!