Reverts "Set the default value of exposure_weight in createMergeMertens to 1.0" because it breaks source code compatibility and tests

This reverts commit dbfd6a3dde.
This commit is contained in:
Cédric Rousseau 2015-12-15 13:15:09 +01:00
parent dbfd6a3dde
commit 76e4b0a8fe

View File

@ -694,7 +694,7 @@ public:
@param exposure_weight well-exposedness measure weight
*/
CV_EXPORTS_W Ptr<MergeMertens>
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.