Merge pull request #20054 from danielenricocahall:fix-robertson-calibration-bug
authorDanny <33044223+danielenricocahall@users.noreply.github.com>
Sun, 30 May 2021 20:29:39 +0000 (16:29 -0400)
committerGitHub <noreply@github.com>
Sun, 30 May 2021 20:29:39 +0000 (23:29 +0300)
commiteb9b5fa9a5227ba978f3f36e4fc3f3e0c68e90a6
treea84e964dd8865bbfa809e203d950ab0330f5c684
parentcb51a155b2e5887a8cf533a912c24fa943d0a52a
Merge pull request #20054 from danielenricocahall:fix-robertson-calibration-bug

Fix Robertson Calibration NaN Bug

* add epsilon value for numerical stability in robertson merge

* update test to use range based for loop

* add comment to test

* move the epsilon

* address test comments

fix windows build warnings

fix vector type for tests

update tests

make threshold float

address test comments

fix tests and move epsilon again

* use scalar::all, move epsilon, and remove print
modules/photo/src/merge.cpp
modules/photo/test/test_hdr.cpp