opencv/modules/imgproc
Vincent Rabaud fdfb875208
Merge pull request #23922 from vrabaud:imgwarp
Fix imgwarp at borders when transparent. #23922

I believe this is a proper fix to #23562

The PR #23754 overwrites data while that should not be the case with transparent data. The original test is failing because points at the border do not get computed because they do not have 4 neighbors to be computed. Still ,we can approximate their computation with whatever neighbors that are available.

### 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.
- [x] The feature is well documented and sample code can be built with the project CMake
2023-07-12 15:20:01 +03:00
..
doc Backport C-API cleanup (imgproc) from 5.x 2023-01-16 23:29:50 +03:00
include/opencv2 Merge pull request #23662 from akormous:docfix 2023-05-24 11:41:25 +03:00
misc Backport C-API cleanup (imgproc) from 5.x 2023-01-16 23:29:50 +03:00
perf Merge pull request #23698 from cpoerschke:4.x-pr-21959-perf 2023-05-29 11:02:59 +03:00
src Merge pull request #23922 from vrabaud:imgwarp 2023-07-12 15:20:01 +03:00
test Merge pull request #23922 from vrabaud:imgwarp 2023-07-12 15:20:01 +03:00
CMakeLists.txt Revert "suppress warning on GCC 7 and later" 2022-08-07 15:43:10 +03:00