Skip to content

Commit

Permalink
[HDR] Update the scale constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Sep 17, 2020
1 parent c2f4e66 commit 7ec0624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aliceVision/hdr/DebevecCalibrate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ bool DebevecCalibrate::process(const std::vector<std::vector<ImageSample>>& ldrS
// Enforce f(0.5) = 0.0
//
const size_t pos_middle = std::floor(channelQuantization / 2);
A(channelQuantization - 1, channelQuantization - 1) += 1.0f;
A(pos_middle, pos_middle) += 1.0f;

// M is
//
Expand Down

0 comments on commit 7ec0624

Please sign in to comment.