mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
![]() Fix NaNs in HDR Triangle Weights and Tonemapping and Update LDR Ground Truth in tutorial #27396 The PR closes #27392 Updated the triangle weights to use a small epsilon value instead of zero to prevent NaN issues in HDR processing. Also fixed a float-to-double division issue by explicitly casting double values to float, which was previously producing garbage values and leading to NaNs in tonemapping. The current LDR ground truth image used in the tutorial [ldr.png](https://github.com/opencv/opencv/blob/4.x/doc/tutorials/others/images/ldr.png) was originally generated using TonemapDurand (check this commit |
||
---|---|---|
.. | ||
calib3d | ||
core | ||
features2D | ||
gapi | ||
gpu | ||
HighGUI | ||
Histograms_Matching | ||
imgcodecs | ||
ImgProc | ||
ImgTrans | ||
introduction | ||
ml | ||
objectDetection | ||
photo | ||
ShapeDescriptors | ||
snippets | ||
TrackingMotion | ||
video | ||
videoio | ||
xfeatures2D |