Light field video applications (e.g. video refocusing, focus tracking, changing aperture and view)
C++ implementation for Light field video applications (including video refocusing, focus tracking, changing aperture and view) as described in the following paper:
Light Field Video Capture Using a Learning-Based Hybrid Imaging System Ting-Chun Wang, Jun-Yan Zhu, Nima Khademi Kalantari, Alexei A. Efros, and Ravi Ramamoorthi In ACM Transactions on Graphics (SIGGRAPH 2017)
git clone https://github.com/junyanz/lfv_release.git lfv
cd lfv
Please modify line 5 in CMakeLists.txt to include the QT5 installation path.
Download light field video data (e.g. cats
).
bash data/download_lfv.sh cats
mkdir cbuild
cd cbuild
cmake -DCMAKE_BUILD_TYPE=Release ../
make
./lfv --data_dir ../data/cats/ --scale 2.0
--data_dir
: the directory that stores light field video frames, and disparity maps--scale
: up-sample the image by scale
.Mouse Interaction
Control Panel
r
): restart the systemp
): play or pause the videoq
): quit the programShortcuts:
f
t
Please use the script bash data/download_lfv.sh video_name
to download the light field video from our website.
If you use this code for your research, please cite our paper.
@article{wang2017light,
author = {Ting-Chun Wang and Jun-Yan Zhu and Nima Khademi Kalantari and
Alexei A. Efros and Ravi Ramamoorthi},
title = {Light Field Video Capture Using a Learning-Based Hybrid Imaging System},
journal = {ACM Transactions on Graphics (Proceedings of SIGGRAPH 2017)},
volume = {36},
number = {4},
year = {2017},
}
If you love cats, and love reading cool graphics, vision, and learning papers, please check out the Cat Paper Collection: [Github] [Webpage]