https://github.com/complight/chromacorrect

:rainbow: ChromaCorrect: Prescription Correction in Virtual Reality Headsets through Perceptual Guidance

https://github.com/complight/chromacorrect

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary

Keywords

color correction optimization perception prescription
Last synced: 5 months ago · JSON representation

Repository

:rainbow: ChromaCorrect: Prescription Correction in Virtual Reality Headsets through Perceptual Guidance

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
color correction optimization perception prescription
Created about 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

ChromaCorrect: Prescription Correction in Virtual Reality Headsets through Perceptual Guidance

Project Page | Video | Paper

Ahmet H. Güzel*1, Jeanne Beyazian2, Praneeth Chakravarthula3, Kaan Akşit*2,

1University of Leeds, 3Princeton University, 2University College London, *Corresponding Authors

image

What is ChromaCorrect?

A large portion of today’s world population suffer from vision impairments and wear prescription eyeglasses. However, eyeglasses causes additional bulk and discomfort when used with augmented and virtual reality headsets, thereby negatively impacting the viewer’s visual experience. In this work, we remedy the usage of prescription eyeglasses in Virtual Reality (VR) headsets by shifting the optical complexity completely into software and propose a prescriptionaware rendering approach for providing sharper and immersive VR imagery. To this end, we develop a differentiable display and visual perception model encapsulating display-specific parameters, color and visual acuity of human visual system and the user-specific refractive errors. Using this differentiable visual perception model, we optimize the rendered imagery in the display using stochastic gradient-descent solvers. This way, we provide prescription glassesfree sharper images for a person with vision impairments. We evaluate our approach on various displays, including desktops and VR headsets, and show significant quality and contrast improvements for users with vision impairments.

Description

This repository contains our implementation for learning prescriptions related to refractive vision problems (myopia, hyperopia).

Clone the entire repository and navigate to the root directory.

shell git clone git@github.com:complight/ChromaCorrect.git

Install the required dependencies

requirements.txt can help you to install the required packages using pip:

shell pip3 install -r requirements.txt

Running the code (performing optimization)

Once you have the requirements successfully installed, you are ready to run the optimisation.

shell python3 main.py --device cuda --diopter -2.0 --filename dataset/parrot.png --directory sample --backlight read

You can also adjust the parameters used in the optimization routine by passing arguments. To learn more about parameters:

shell python3 main.py --help

Dataset

You can use images from Dataset for your experiments.

Images are selected from combination of DIV2K, CLL and Kodak datasets.

Importing Display Backlight Data

File names have to be named exactly as below : - redspectrum.csv - greenspectrum.csv - blue_spectrum.csv

inside .csv, format should be below (column1 : wavelength, column2 : spectrum data)

column1     column2
400         spectrum[0]
.
.
.
700         spectrum[i]

Citation

```bibtex @article{Guzel:23, author = {Ahmet H. G\"{u}zel and Jeanne Beyazian and Praneeth Chakravarthula and Kaan Akșit}, journal = {Biomed. Opt. Express}, keywords = {Holographic displays; Image metrics; Image quality; Vision modeling; Visual acuity; Visual system}, number = {5}, pages = {2166--2180}, publisher = {Optica Publishing Group}, title = {ChromaCorrect: prescription correction in virtual reality headsets through perceptual guidance}, volume = {14}, month = {May}, year = {2023}, url = {https://opg.optica.org/boe/abstract.cfm?URI=boe-14-5-2166}, doi = {10.1364/BOE.485776}, }

```

Owner

  • Name: Computational Light Laboratory
  • Login: complight
  • Kind: organization
  • Email: k.aksit@ucl.ac.uk
  • Location: United Kingdom

Research at the intersection of light, computation, graphics and perception.

GitHub Events

Total
  • Fork event: 1
Last Year
  • Fork event: 1

Dependencies

requirements.txt pypi
  • Pillow ==9.1.1
  • cycler ==0.11.0
  • fonttools ==4.33.3
  • kiwisolver ==1.4.3
  • matplotlib ==3.5.2
  • numpy ==1.23.0
  • odak ==0.2.0
  • packaging ==21.3
  • plyfile ==0.7.4
  • pyparsing ==3.0.9
  • python-dateutil ==2.8.2
  • six ==1.16.0
  • torch ==1.11.0
  • tqdm ==4.64.0
  • typing_extensions ==4.2.0