GithubHelp home page GithubHelp logo

photometric-stereo's Introduction

Photometric Stereo

Estimating albedo, surface normal, depth from multiple illuminated images.

About

This repo implements some photometric stereo algorithms. The algorithms can be found the following papers:

  • Shape and Albedo from MUltiple Images using Integrability (Yuille and Snow)
  • Resolving the Generalized Bas-Relief Ambiguity by Entropy Minimization (Alldrin et al.)
  • A Closed-Form Solution to Uncalibrated Photometric Stereo via Diffuse Maxima (Favaro et al.)
  • Self-calibrating Photometric Stereo (Shi et al.)

Dataset

Harvard Photometric Stereo Dataset

Results

Albedo, normals, and depth estimation

est

Resolving GBR ambiguity

cat women frog
gbr gbr gbr

CPU and GPU versions

Both Numpy and Pytorch implementations are provided. The code is tested on a Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz CPU and a GeForce GTX 1080 Ti GPU.

Dataset Numpy Pytorch
cat 93.46s 10.61s
women 71.58s 9.54s
frog 103.13s 10.94s

Todo

  • Coarse to fine refinement
  • Paper: Reflections on the Generalized Bas-Relief Ambiguity

photometric-stereo's People

Contributors

bchao1 avatar

Stargazers

 avatar Andy Wise avatar tengdecheng avatar niubiplus2 avatar  avatar Saleh Ramezani avatar Heng avatar  avatar Eric Lin avatar  avatar

Watchers

 avatar  avatar

Forkers

gaishunhua

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.