Git Product home page Git Product logo

itm-cnn's Introduction

ITM-CNN

This is the official project repository for our paper ITM-CNN, presented in ACCV 2018.

We provide the test code along with the trained weights. The test code generates an HDR video file (YUV) of 10 bits/pixel, after the PQ-OETF, in the BT.2020 color container, from an SDR video (YUV) of 8 bits/pixel, after the Gamma curve, in the BT.709 color container. The resulting HDR YUV file can be viewed on HDR TVs after encoding with the above specifications.

More details can be found in the paper.

Reference: Soo Ye Kim, Dae Eun Kim, Munchurl Kim. ITM-CNN: Learning the Inverse Tone Mapping from Low Dynamic Range Video to High Dynamic Range Displays using Convolutional Neural Networks. Asian Conference on Computer Vision, 2018.

Test code

Requirements

Our code is implemented using MatConvNet. (MATLAB required)

Appropriate installations of MatConvNet must be made through the official website: http://www.vlfeat.org/matconvnet/ Detailed instructions on installing MatConvNet can be found in: http://www.vlfeat.org/matconvnet/install/

Quick Start

  1. Download all files.
  2. Place the files in /+dagnn/ to <MatConvNet>/matlab/+dagnn
  3. Set the input and output file specifications in lines 2-8 of test.m (or test_lowmem.m)
  4. Run test.m (or test_lowmem.m)

Description

  • The provided test code will generate an HDR YUV video file of 10 bits/pixel, after the PQ-OETF, in the BT.2020 color container.
  • The generated file can be viewed on HDR TVs after encoding using an appropriate codec for HDR videos (e.g. HEVC) with the above specifications.
  • We provide options for CPU & GPU computations.

In case of an 'out of memory' error depending on the memory capacity of the GPU, we also provide a low memory version of the code (test_lowmem.m). This code divides the input frame into (factor)x(factor) blocks and processes each block serially. Thus, it may produce unpleasant artifacts such as vertical and horizontal lines in the block boundaries, and may consume additional time compared to the original code (testm.m). The low memory version is not the official implementation.

Note that test.m has been tested on an NVIDIA TITAN Xp GPU.

Please do not hesitate to contact us for any problems regarding the released code.

itm-cnn's People

Contributors

sooyekim avatar

Watchers

James Cloos 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.