Set the default value of exposure_weight in createMergeMertens to 1.0

pull/5808/head
Cédric Rousseau 9 years ago
parent d19189e80f
commit dbfd6a3dde
  1. 2
      modules/photo/include/opencv2/photo.hpp

@ -694,7 +694,7 @@ public:
@param exposure_weight well-exposedness measure weight @param exposure_weight well-exposedness measure weight
*/ */
CV_EXPORTS_W Ptr<MergeMertens> CV_EXPORTS_W Ptr<MergeMertens>
createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 0.0f); createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 1.0f);
/** @brief The resulting HDR image is calculated as weighted average of the exposures considering exposure /** @brief The resulting HDR image is calculated as weighted average of the exposures considering exposure
values and camera response. values and camera response.

Loading…
Cancel
Save