Coder Social home page Coder Social logo

dual-pixel-defocus-disparity's Introduction

Official respository for "Modeling Defocus-Disparity in Dual-Pixel Sensors", ICCP 2020

BibTeX

@INPROCEEDINGS{punnappurath2020modeling,
   author={Abhijith Punnappurath and Abdullah Abuolaim and Mahmoud Afifi and Michael S. Brown},
   booktitle={IEEE International Conference on Computational Photography (ICCP)}, 
   title={Modeling Defocus-Disparity in Dual-Pixel Sensors}, 
   year={2020}
}

How to run

  • This is the code for the optimization-based approach described in Section 4.1 of our paper. The implementation is in Matlab.
  • The post-process edge-aware filtering described in Section 4.3 consists of a bilateral solver and a guided filter. Official implementations released by the authors have been used - the bilateral solver is in Python and the guided filter in Matlab.
  • To obtain our final result, run Steps 1, 2, and 3 sequentially, where Step 1 is the main optimization, and Steps 2 and 3 are the post-process bilateral solver and guided filter, respectively.
  • The data corresponding to Fig. 7 of our paper can be found here, and Figs. 1 and 8 can be found here.
  • Running the code as is produces our result in Fig. 8(f) third column.
  • Other outputs can be generated by appropriately setting the input image path here in Step 1, and here and here in Steps 2 and 3, respectively.
    • The img_name variable to use for Steps 2 and 3 will be displayed when Step 1 finishes execution.
  • Note that the optimization-based approach is very slow since it requires minimizing our cost function of equation (7) at each window.

Also check out

dual-pixel-defocus-disparity's People

Contributors

abhijithpunnappurath 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.