microcompunics / visual_postprocessing

Lens and chromatic aberration correction, and timewarp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visual Post-Processing Pipeline

Part of ILLIXR, the Illinios Extended Reality Benchmark Suite. This repo contains code for lens distortion correction, chromatic aberration correction, and timewarp.

Some of the FBO intialization code is borrowed from Song Ho Ahn's excellent tutorial series. The particular FBO code used is found at his website, http://www.songho.ca/opengl/gl_fbo.html

The image loader is based on Morten Nobel-Jørgensen's blog post: https://blog.nobel-joergensen.com/2010/11/07/loading-a-png-as-texture-in-opengl-using-libpng/

Compiling and Running

Compile on Linux with the included makefile. Run with ./fbo <input image>

We provide three examples, landscape.png, museum.png, and tundra.png, but any PNG image should work.

About

Lens and chromatic aberration correction, and timewarp

License:Other


Languages

Language:C 90.6%Language:C++ 9.1%Language:Makefile 0.3%