Files
opencv-MIRROR/modules/imgcodecs/include
Kumataro d23780fb56 Merge pull request #30431 from Kumataro:trial/avif_update_test_for_each_bitdepth
imgcodecs(avif): fix norm calculation and extend 16-bit tests - #30431

- Correct lossy test normalization from dividing by total samples (N)  to root-mean-square (RMS) error divided by sqrt(N), and recalibrate  thresholds with margin for 8/10/12/16-bit tests.
- Extend 16-bit AVIF tests to cover all supported channel counts  (1, 3, and 4 channels) using testing::Combine.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2026-10-23 15:02:23 +03:00
..