-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mask fabrication with 3D printing (#118)
* Add notebooks and utilities for fabrication. * Switch to macOS 12 for workflow. * Add Aaron and Rein. * Add plotting function, improve MURA interface. * Add link to multi-lens array notebook. * Fix MLS mask generation. * Add author info. * Add link to notebook for 3D printing masks. * Fix flatcam test for new MURA interface. * FIx changelog headings. * Add link to reconstruction notebook. * Update docs with 3d printing masks. * Clean up fabrication utils. * Update CHANGELOG. * Change link for notebook. * Update mask design title. * Update docs with latest features.
- Loading branch information
Showing
17 changed files
with
722 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Examples | ||
======== | ||
|
||
There are many example scripts | ||
`on GitHub <https://github.com/LCAV/LenslessPiCam/tree/main/scripts>`__, | ||
but they may not be the best way to get started with the library. | ||
The following notebooks aim to provide a more interactive and intuitive | ||
way to explore the different functionalities of the library. | ||
|
||
System / Hardware | ||
----------------- | ||
|
||
Using a programmable mask based lensless imaging system, | ||
where the programmable is a low-cost LCD: | ||
|
||
- `DigiCam: Single-Shot Lensless Sensing with a Low-Cost Programmable Mask <https://colab.research.google.com/drive/1t59uyZMMyCUYVHGXdqdlNlDlb--FL_3P#scrollTo=t9o50zTf3oUg>`__ | ||
- `Towards Scalable and Secure Lensless Imaging with a Programmable Mask <https://colab.research.google.com/drive/1YGfs9p4T4NefX8GemVWwtrw4aX8zH1qu#scrollTo=tipedTe4vGwD>`__ | ||
|
||
Reconstruction method | ||
--------------------- | ||
|
||
Learning-based reconstruction methods: | ||
|
||
- `A Modular and Robust Physics-Based Approach for Lensless Image Reconstruction <https://colab.research.google.com/drive/1Wgt6ZMRZVuctLHaXxk7PEyPaBaUPvU33>`__ | ||
- `Aligning images for training <https://colab.research.google.com/drive/1c6kUbiB5JO1vro0-IMd-YDDP1g7NFXv3#scrollTo=MtN7GWCIrBKr>`__ | ||
|
||
Mask Design and fabrication | ||
--------------------------- | ||
|
||
- `Multi-lens array design <https://drive.google.com/file/d/1IIGjdPUD5qqq4kWjDp50OWnIvHPVdvmp/view?usp=sharing>`__ | ||
- `Creating STEP files for 3D printing masks <https://colab.research.google.com/drive/1eDLnDL5q4i41xPZLn73wKcKpZksfkkIo?usp=sharing>`__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.. automodule:: lensless.hardware.fabrication | ||
|
||
This masks are meant to be used with a mount for the Raspberry Pi HQ sensor (shown below). | ||
The design files can be found `here <https://drive.switch.ch/index.php/s/nDe50iC7zn52r07#/>`_. | ||
|
||
.. image:: mount_components.png | ||
:alt: Mount components. | ||
:align: center | ||
|
||
|
||
Mask3DModel | ||
~~~~~~~~~~~ | ||
|
||
Below is a screenshot of a Fresnel Zone Aperture mask that can be designed with the above notebook | ||
(using ``simplify=True``). | ||
|
||
.. image:: fza.png | ||
:alt: Fresnel Zone Aperture. | ||
:align: center | ||
|
||
.. autoclass:: lensless.hardware.fabrication.Mask3DModel | ||
:members: | ||
:special-members: __init__ | ||
|
||
MultiLensMold | ||
~~~~~~~~~~~~~ | ||
|
||
Below is a screenshot of a mold that can be designed for a multi-lens array with the above notebook. | ||
|
||
*Note: We were not successful in our attempts to remove the mask from the mold | ||
(we poured epoxy and it was impossible to remove the mask from the mold). | ||
Perhaps the mold needs to be coated with a non-stick material.* | ||
|
||
.. image:: mla_mold.png | ||
:alt: Multi-lens array mold. | ||
:align: center | ||
|
||
.. autoclass:: lensless.hardware.fabrication.MultiLensMold | ||
:members: | ||
:special-members: __init__ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.