dli7319 / kfr-python

Unofficial Python implementation of Kernel Foveated Rendering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kfr-python

An unofficial python implementation of using Kernel Foveated Rendering for image compression.

See the official resources for more information:
Website Paper Shadertoy

Usage

  1. Install Python with PyTorch, Numpy, Matplotlib, Pillow
  2. Create a file image.png
  3. Run python main.py to generate a foveated image.

Citation

Please cite their paper if you use this code in your research.

@article{10.1145/3203199,
author = {Meng, Xiaoxu and Du, Ruofei and Zwicker, Matthias and Varshney, Amitabh},
title = {Kernel Foveated Rendering},
year = {2018},
issue_date = {July 2018},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
volume = {1},
number = {1},
url = {https://doi.org/10.1145/3203199},
doi = {10.1145/3203199},
journal = {Proc. ACM Comput. Graph. Interact. Tech.},
month = {jul},
articleno = {5},
numpages = {20},
keywords = {foveated rendering, eye-tracking, log-polar mapping, virtual reality, head-mounted displays, perception}
}

About

Unofficial Python implementation of Kernel Foveated Rendering

License:MIT License


Languages

Language:Python 100.0%