All Projects → GIMPS → lf_syn

GIMPS / lf_syn

Licence: other
Learning-Based View Synthesis for Light Field Cameras - Pytorch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to lf syn

Awesome Livecoding
All things livecoding
Stars: ✭ 1,373 (+4329.03%)
Mutual labels:  synthesis
Supriya
A Python API for SuperCollider
Stars: ✭ 167 (+438.71%)
Mutual labels:  synthesis
Gwion
🎵 strongly-timed musical programming language
Stars: ✭ 235 (+658.06%)
Mutual labels:  synthesis
Livehd
Live Hardware Development (LiveHD), a productive infrastructure for Synthesis and Simulation
Stars: ✭ 110 (+254.84%)
Mutual labels:  synthesis
Symbiflow Arch Defs
FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.
Stars: ✭ 137 (+341.94%)
Mutual labels:  synthesis
Scaper
A library for soundscape synthesis and augmentation
Stars: ✭ 186 (+500%)
Mutual labels:  synthesis
Tulip Control
Temporal Logic Planning toolbox
Stars: ✭ 81 (+161.29%)
Mutual labels:  synthesis
FScape-next
Audio rendering software, based on UGen graphs. Issue tracker: https://codeberg.org/sciss/FScape-next/issues
Stars: ✭ 13 (-58.06%)
Mutual labels:  synthesis
Helena
A Chrome extension for writing custom web scraping programs and web automation programs. Just demonstrate how to collect the first row of data, then let the extension write the program for collecting all rows.
Stars: ✭ 151 (+387.1%)
Mutual labels:  synthesis
Unimidi
Realtime MIDI IO for Ruby
Stars: ✭ 229 (+638.71%)
Mutual labels:  synthesis
Granular
HTML5 Granular Synthesiser
Stars: ✭ 113 (+264.52%)
Mutual labels:  synthesis
Tone.js
A Web Audio framework for making interactive music in the browser.
Stars: ✭ 11,352 (+36519.35%)
Mutual labels:  synthesis
Esp8266sam
Speech synthesis for ESP8266 using S.A.M. port
Stars: ✭ 199 (+541.94%)
Mutual labels:  synthesis
Soul
The SOUL programming language and API
Stars: ✭ 1,566 (+4951.61%)
Mutual labels:  synthesis
I dropped my phone the screen cracked
web audio, cracked.
Stars: ✭ 245 (+690.32%)
Mutual labels:  synthesis
Cracked
Mac app for noise making - built w/ "I Dropped My Phone The Screen Cracked"
Stars: ✭ 98 (+216.13%)
Mutual labels:  synthesis
Akwf Free
Adventure Kid Wave Forms are a collection of sampled one cycle waveforms for use in synthesizers or similar sound generators.
Stars: ✭ 179 (+477.42%)
Mutual labels:  synthesis
herbie
Optimize floating-point expressions for accuracy
Stars: ✭ 614 (+1880.65%)
Mutual labels:  synthesis
reef
Automatically labeling training data
Stars: ✭ 102 (+229.03%)
Mutual labels:  synthesis
Tts Cube
End-2-end speech synthesis with recurrent neural networks
Stars: ✭ 213 (+587.1%)
Mutual labels:  synthesis

Learning-Based View Synthesis for Light Field Cameras - Pytorch

A PyTorch implementation of a LF Camera View Synthesis method proposed by SIGGRAPH Asia 2016 paper Learning-Based View Synthesis for Light Field Cameras.

Requirments

  • Python 3.x
  • CUDA

Other dependencies

  • Pytorch
  • openCV
  • scipy
  • numpy
  • scikit-image
  • h5py
pip3 install -r requirments.txt

Datasets

Training and test datasets are from orginal project page

Training Dataset

Training dataset has 100 light field images. Download the Training set from here, unzip it and copy the png files in the TrainingData/Training directory.

Test Dataset

Test dataset has 30 light field images. Download the Test set from here, unzip it and copy the png files into TrainingData/Test directory.

Usage

Train

Run "PrepareData.m" to process the training and test sets. It takes a long time for the first training image to be processed since a huge h5 file needs to be created first.

python3 prepare_data.py

optional arguments:
--dataset                       choose which dataset to process

Then start the training

python3 train.py

optional arguments:
--is_continue                   if to continue training from existing network[default value is False]

The trained network, PSNR value and loss plot are in TrainingData directory.

Test Single Image

Copy desired png files into Scenes folder. The results shown in the paper can be found in TestSet\PAPER directory.

python3 test.py

The output images and objective quality result are in Results directory.

Results

Original model (iteration: 26,500; Training PSNR: 33.36 ):

  • Seahorse (PSNR: 29.10; SSIM: 0.952)

n_Seahorse

  • Flower1 (PSNR: 29.86; SSIM: 0.945)

n_Flower1

To do list:

  • Move prepare_data.py onto GPU

    This will make training and testing tremendously faster. The key is to implement a cubic interpolation method with PyToch tensors to replace the Scipy one.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].