Skip to content
Computational holography for adaptive multi-focal displays
Cuda Other
  1. Cuda 98.9%
  2. Other 1.1%
Branch: master
Clone or download
Pull request Compare This branch is 32 commits ahead of MartinPersson:master.

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
C/source
.gitignore
AUTHORS
CONTRIBUTORS
LICENSE
README.md
readme.txt

README.md

Computational Holography

Part of ILLIXR, the Illinios Extended Reality Benchmark Suite. This component is responsible for calculating image holograms (per-pixel phase masks) using the Weighted Gerchberg–Saxton(GSW) algorithm.

Files

generateHologram.cu

generateHologram

Host side kernel launch

propagateToSpotPositions

CUDA kernel that propagates from the SLM phases to the spot positions using Fresnel summation.

propagateToSpotSum

CUDA kernel that sums up the per thread block result from propagateToSpotPositions kernel.

propagateToSLM

CUDA kernel that calculates the error function of depth spots and updates the SLM phases.

goldenHologram.cu

The original hologram implementation we are improving from.

Installation & Usage

Under C/source/

make all
make jetson

Make all is compiling using SM75 architecture, while jetson is using SM70 architecture. To run this code on a older NVIDIA GPU, please change the SM architecture accordingly.

To run our modified hologram code,

./hologram

To run the original hologram code.

./goldenHologram

License

This code is available under the LGPL license.

You can’t perform that action at this time.