fix a 3rd party blur3x3 function(the 7th value in tcurr should be set to the 5th value in old tcurr, which will be be overwritten by the 3rd value in old tcurr)#21945
Conversation
|
@driftee Could you provide small test/reproducer that shows the bug? |
|
@asmorkalov Ok, it may take me few days to write a bug report with a reproducer. |
|
@driftee I propose to extend test "Imgproc_Blur.borderTypes" to highlight the issue and ensure the same behavior on all supported platforms. See opencv/modules/imgproc/test/test_filter.cpp Line 1971 in 7e845a3 |
|
@driftee friendly reminder. |
|
The function is not called in OpenCV and cannot be tested with public API. |
|
@asmorkalov are you able to reproduce the problem? |
|
It looks like the function blur is some rudiment. It's not called from OpenCV, but Filter2d is used as universal solution. Also looks like it's not the only bug. This 2 lines are very suspicious: |
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.