/DiffuserCam-Tutorial

Build-your-own DiffuserCam tutorial

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

DiffuserCam-Tutorial

See our full tutorial for complete guides on setting up the DiffuserCam hardware and installing and running the software.

Below is an overview of the organization of this repo.

Home Directory

The base directory contains python code for processing DiffuserCam raw data with two algorithms, gradient descent (GD.py) and alternating direction method of multipliers (ADMM.py). The corresponding .yml files should be modified to include the file path of the raw data that is to be processed.

Rpi Folder

This folder contains python code for previewing and capturing raw images using a Raspberry Pi camera.

Tutorial Folder

This folder contains iPython notebooks that walk the user step-by-step through the two algorithms, gradient descent (GD.ipynb) and alternating direction method of multipliers (ADMM.ipynb). Sample test data is included.

Test_Images Folder

This folder contains sample images that you can place on a phone or laptop screen for testing your Raspberry Pi DiffuserCam. We recommend you start with sprial_bw.gif.