Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junyanz/light-field-video
Light field video applications (e.g. video refocusing, focus tracking, changing aperture and view)
https://github.com/junyanz/light-field-video
caffe computer-graphics computer-vision deep-learning lightfield
Last synced: 13 days ago
JSON representation
Light field video applications (e.g. video refocusing, focus tracking, changing aperture and view)
- Host: GitHub
- URL: https://github.com/junyanz/light-field-video
- Owner: junyanz
- Created: 2017-05-08T11:25:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-05T01:13:29.000Z (over 4 years ago)
- Last Synced: 2024-10-23T00:39:07.069Z (21 days ago)
- Topics: caffe, computer-graphics, computer-vision, deep-learning, lightfield
- Language: C++
- Homepage: http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/SIG17/lfv/
- Size: 4.22 MB
- Stars: 203
- Watchers: 14
- Forks: 44
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Light Field Video Viewer
### [[Project]](http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/SIG17/lfv/) [[Video]](https://www.youtube.com/watch?time_continue=1&v=TqVKcssYfAo) [[Paper]](http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/SIG17/lfv/paperData/LF_video.pdf)
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](https://tcwang0509.github.io/), [Jun-Yan Zhu](https://www.cs.cmu.edu/~junyanz/), [Nima Khademi Kalantari](http://nkhademi.com/), [Alexei A. Efros](https://people.eecs.berkeley.edu/~efros/), and [Ravi Ramamoorthi](http://cseweb.ucsd.edu/~ravir/)
In ACM Transactions on Graphics (SIGGRAPH 2017)### Prerequisites
- Linux. (The code should work on OSX/Windows with minimal modification)
- OpenMP, [OpenCV](http://milq.github.io/install-opencv-ubuntu-debian/), [QT 5.7](https://wiki.qt.io/Install_Qt_5_on_Ubuntu), [cmake](http://askubuntu.com/questions/610291/how-to-install-cmake-3-2-on-ubuntu-14-04).### Getting Started
- Clone this repo:
```bash
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
```
- Compile the code:
```bash
mkdir cbuild
cd cbuild
cmake -DCMAKE_BUILD_TYPE=Release ../
make
```
- Start the viewer:
```bash
./lfv --data_dir ../data/cats/ --scale 2.0
```## Arguments:
- `--data_dir`: the directory that stores light field video frames, and disparity maps
- `--scale`: up-sample the image by `scale`.## User Interface
Mouse Interaction
- Refocusing: press + left click
- View Change: move the mouse + right clickControl Panel
- Focal Plane: change the focal plane
- Aperture: change the camera aperture
- Focal Type: Fixed focal point or automatic tracking
- Restart (`r`): restart the system
- Play/Stop (`p`): play or pause the video
- Quit (`q`): quit the programShortcuts:
- Show/hide the focus point: `f`
- Enable/disable tracking mode: `t`## Training/test [code](http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/SIG17/lfv/paperData/LF_video_Code_v1.1.zip)
## Light field videos:
Please use the script `bash data/download_lfv.sh video_name` to download the light field video from our website.
### cats### train1
### train2
### dancing
## Citation
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},
}
```## Cat Paper Collection
If you love cats, and love reading cool graphics, vision, and learning papers, please check out the Cat Paper Collection:
[[Github]](https://github.com/junyanz/CatPapers) [[Webpage]](https://www.cs.cmu.edu/~junyanz/cat/cat_papers.html)