Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev lighting estimation #560

Merged
merged 8 commits into from
Jan 5, 2019
Merged

Dev lighting estimation #560

merged 8 commits into from
Jan 5, 2019

Conversation

jmelou
Copy link
Member

@jmelou jmelou commented Jan 3, 2019

Lighting estimation module:

  • define augmented normals and augmented lighting vector for spherical harmonic model;
  • lighting evaluation from albedo, picture and normals (linear least-square problem).

@jmelou jmelou requested a review from fcastan January 3, 2019 13:56
src/aliceVision/lightingEstimation/lightingEstimation.cpp Outdated Show resolved Hide resolved
src/aliceVision/lightingEstimation/lightingEstimation.cpp Outdated Show resolved Hide resolved

Image<AugmentedNormal> agmNormalsSynt(normalsSynt.cast<AugmentedNormal>());

float noiseLevel = 0.01;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const float noiseLevel = 0.01f;

src/aliceVision/image/Image.hpp Outdated Show resolved Hide resolved
namespace lightingEstimation {

using Eigen::MatrixXf;
using namespace aliceVision::image;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better not use using namespace in a header

src/aliceVision/lightingEstimation/augmentedNormals.hpp Outdated Show resolved Hide resolved
@simogasp simogasp merged commit 31695c0 into develop Jan 5, 2019
@simogasp simogasp deleted the dev_lighting_estimation branch January 5, 2019 16:52
@fabiencastan fabiencastan added this to the 2019.1 milestone Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants