From 76e4b0a8fe9c20f00da91bd4f7013f511e7fa4dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Rousseau?= Date: Tue, 15 Dec 2015 13:15:09 +0100 Subject: [PATCH] Reverts "Set the default value of exposure_weight in createMergeMertens to 1.0" because it breaks source code compatibility and tests This reverts commit dbfd6a3dde93a36f90756a8b4a64f37f34869edf. --- modules/photo/include/opencv2/photo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/photo/include/opencv2/photo.hpp b/modules/photo/include/opencv2/photo.hpp index c96c6a260c..3d969124e7 100644 --- a/modules/photo/include/opencv2/photo.hpp +++ b/modules/photo/include/opencv2/photo.hpp @@ -694,7 +694,7 @@ public: @param exposure_weight well-exposedness measure weight */ CV_EXPORTS_W Ptr -createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 1.0f); +createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 0.0f); /** @brief The resulting HDR image is calculated as weighted average of the exposures considering exposure values and camera response.