Files
opencv-MIRROR/modules
Abhishek Gola 9178a4031f Merge pull request #31017 from kari-pikkarainen/fix/photo-mergerobertson-relative-tolerance
Photo_MergeRobertson.regression compares radiance values from 0.014 to 688 with one absolute limit of 6. The limit was 5, raised to 6 for AArch64 in 2017 and later for all platforms. The result measures 5.84 on ARM64 (Linux and macOS), 3% below the limit, while an error in a dark pixel cannot fail the test at all: 6 is 400 times the darkest value.

Radiance (.hdr) files store each pixel with one shared exponent, so every channel is only as precise as the pixel's brightest channel allows. The new checkEqualRelativeToPixelMax() divides each channel's error by that channel. Non-finite values in either image fail before the differences are reduced with minMaxLoc().
2026-12-02 16:53:01 +05:30
..