Giter Site home page Giter Site logo

lfcodec's Introduction

Light_Field_Codec

Clone and build

To build this repository, you should have cmake 3.15 installed in your system.

First, clone the repo and its modules dependencies.

$ mkdir repo
$ git clone https://github.com/IDSRosler/Light-Field-Codec.git repo
$ cd repo
$ git submodule init
$ git submodule update

Then, make a directory to build the project binaries

$ mkdir build
$ cd build
$ cmake ..
$ make 

From the build directory, run the binary ./lfcodec.

Running tests

To execute the tests, run the binary build/tst/lfcodec-test.

Encoder Parameters (CLI)

Use: -flag value

Example: ./bin.exe -input /temp/

Directories

  • input string: *.ppm dir to be encoded
  • output string: output dir for the encoded *.ppm

Base block dimensions

  • blx int: block size in x dimension
  • bly int: block size in y dimension
  • blu int: block size in u dimension
  • blv int: block size in v dimension

Quantization Parameters

  • qp float: linear quantization parameter for the quantization 4d-volum
  • qx int: quantization weight in x dimension
  • qy int: quantization weight in y dimension
  • qu int: quantization weight in u dimension
  • qv int: quantization weight in v dimension

Light Field dimensions

  • lfx int: light field size in x dimension
  • lfy int: light field size in y dimension
  • lfu int: light field size in u dimension
  • lfv int: light field size in v dimension

Scripts

  • Scripts to run the Light Field Codec for different QPs and different dataset
Run simulation.py:
  1. In the simulation.py, change the input_file variable and the output_file variable
    • input_file: Directory with .ppm files to be encoded
    • output_file: Output directory for the encoded *.ppm
  2. Execute
    • taskset -c 0 python3 simulation.py

lfcodec's People

Contributors

cmaruan avatar idsrosler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.