Code Monkey home page Code Monkey logo

two-camera-white-balance's Introduction

two-camera-white-balance

Code and data for the paper:

Leveraging the Availability of Two Cameras for Illuminant Estimation, CVPR 2021

Abdelrahman Abdelhamed, Abhijith Punnappurath, Michael S. Brown

Samsung Artificial Intelligence Center, Toronto, Canada

Goal

State-of-the-art illuminant estimation performance using two cameras.

More details in this Samsung Research blog post.

Presentation video at CVPR 2021

alt text

Maintainer(s)

Committer(s)

Datasets

Tested environment

Ubuntu 18.04, Python 3.7, CUDA 11.2, cuDNN 8.1, TensorFlow 2.5

The code may work in other environments.

Setup

Install required packages and setup a virtual environment:

. ./scritps/setup.sh

Training and Testing

S20-Two-Camera-Dataset, augmented, 200 parameters

Training: Download and unzip Metadata_Image_Pairs_Augment_99.zip into ./data directory then run three-fold cross validation:

python -m jobs.train_s20_aug_200_3fold

Testing: Unzip Metadata_Image_Pairs.zip into the ./data directory then run the following command and feed in a comma-separated string of paths to models to be tested.

python -m jobs.test_s20_aug_200_3fold --test_model_paths <test_model_path_1,test_model_path_2,test_model_path_3>

Citation

If you use this code or the associated data, please cite the paper:

@InProceedings{Abdelhamed_2021_CVPR,
author = {Abdelhamed, Abdelrahman and Punnappurath, Abhijith and Brown, Michael S.},
title = {Leveraging the Availability of Two Cameras for Illuminant Estimation},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2021},
pages = {6637-6646}
}

Contact

Abdelrahman Abdelhamed - ([email protected]; [email protected])

two-camera-white-balance's People

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.