This is the open source repository for our paper to appear in SIGGRAPH 2018:
Megapixel Adaptive Optics: Towards Correcting Large-scale Distortions in Computational Cameras
Congli Wang, Qiang Fu, Xiong Dun, and Wolfgang Heidrich
King Abdullah University of Science and Technology (KAUST)
This repository contains:
-
An improved version of the wavefront solver described in Ultra-high resolution coded wavefront sensor in MATLAB and CUDA:
- Linearized version, solver is either ADMM or conjugate gradient;
- Pyramid version.
-
Adaptive optics (AO) control code in C++ and CUDA:
- The AO control logic described in the paper;
- SLM instant control code via CUDA-OpenGL interop.
-
Wave optics simulation code in MATLAB:
- Simulation based on Rayleigh-Sommerfeld diffraction formula;
- Simulation and solver for Shack-Hartmann sensor, curvature sensor (TIE based), and our coded wavefront sensor.
-
3D printed model in Solidworks.
See the Supplementary Material for a full hardware list. For the AO code to successfully run, it requires your computer to be connected with:
- PointGrey USB cameras. We used GS3-U3-15S5M-C.
- Spatial light modulators (SLM). We used Holoeye PLUTO.
Also your computer should feature with NVIDIA based graphic cards for CUDA to run.
Our code has been tested on Ubuntu 16.04 and Windows 10. In theory it should also work on Mac OS X.
For MATLAB code, just plug & play.
Please refer to ./ao/README.md
for a full installation guide on library dependency and how to compile the C++ and CUDA code.
For our latest solver, refer to repository https://github.com/vccimaging/PhaseIntensityMicroscope.
@article{wang2018megapixel,
title = {Megapixel adaptive optics: towards correcting large-scale distortions in computational cameras},
author = {Wang, Congli and Fu, Qiang and Dun, Xiong and Heidrich, Wolfgang},
journal = {ACM Transactions on Graphics (Proc. SIGGRAPH)},
volume = {37},
number = {4},
pages = {115},
year = {2018},
publisher={ACM}
}
@article{wang2017ultra,
title={Ultra-high resolution coded wavefront sensor},
author={Wang, Congli and Dun, Xiong and Fu, Qiang and Heidrich, Wolfgang},
journal={Optics express},
volume={25},
number={12},
pages={13736--13746},
year={2017},
publisher={Optical Society of America}
}
We welcome any comments and questions. Please either open up an issue, or send email to congli.wang@kaust.edu.sa.