opencv/modules
天音あめ fa58c1205b
Merge pull request #27119 from amane-ame:warp_hal_rvv
Add RISC-V HAL implementation for cv::warp series #27119

This patch implements `cv_hal_remap`, `cv_hal_warpAffine` and `cv_hal_warpPerspective` using native intrinsics, optimizing the performance of `cv::remap/cv::warpAffine/cv::warpPerspective` for `CV_HAL_INTER_NEAREST/CV_HAL_INTER_LINEAR/CV_HAL_INTER_CUBIC/CV_HAL_INTER_LANCZOS4` modes.

Tested on MUSE-PI (Spacemit X60) for both gcc 14.2 and clang 20.0.

```
$ ./opencv_test_imgproc --gtest_filter="*Remap*:*Warp*"
$ ./opencv_perf_imgproc --gtest_filter="*Remap*:*remap*:*Warp*" --perf_min_samples=200 --perf_force_samples=200
```

View the full perf table here: [hal_rvv_warp.pdf](https://github.com/user-attachments/files/19403718/hal_rvv_warp.pdf)

### 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
- [ ] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] 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
2025-03-25 11:57:47 +03:00
..
calib3d Merge pull request #27132 from MaximSmolskiy:add_planar_accuracy_tests_for_solvePnPRansac 2025-03-24 10:46:08 +03:00
core Merge pull request #27115 from fengyuentau:4x/hal_rvv/normDiff 2025-03-25 07:59:59 +03:00
dnn Fixed Android build with Vulkan support. 2025-01-13 21:13:22 +03:00
features2d Move OpenVX implementation for FAST to HAL. 2025-02-14 17:47:48 +03:00
flann flann: remove unused hdf5 header 2024-11-14 19:44:10 +03:00
gapi Workaround for successfull append of OpenVINO Execution Provider: Moved creation of 'Ort::Env' before it 2025-02-26 16:55:48 +00:00
highgui Merge pull request #27082 from iiiuhuy:fix_bug 2025-03-17 19:36:06 +03:00
imgcodecs Merge pull request #27081 from vrabaud:lzw 2025-03-20 17:31:47 +03:00
imgproc Merge pull request #27119 from amane-ame:warp_hal_rvv 2025-03-25 11:57:47 +03:00
java Merge pull request #26875 from asmorkalov:as/in_memory_models 2025-02-14 15:35:38 +03:00
js Merge pull request #26147 from vrabaud:opencv_js 2024-12-19 17:35:16 +03:00
ml replace tostring() with tobytes 2025-02-18 12:25:01 +05:30
objc Merge pull request #26713 from homuler:fix/build-ios-framework 2025-01-10 14:48:56 +03:00
objdetect Merge pull request #27079 from MaximSmolskiy:add-test-for-ArucoDetector-detectMarkers 2025-03-17 11:24:46 +03:00
photo Local decolor pipeline optimization. 2025-03-11 10:16:01 +03:00
python Merge pull request #26934 from BenjaminKnecht/new_4.x 2025-03-11 14:37:00 +03:00
stitching Merge pull request #26754 from s-trinh:add_bibtex_direct_pdf_links 2025-01-27 10:28:38 +03:00
ts fix: qnx7.0 build 2025-02-27 14:24:18 +08:00
video Merge pull request #25027 from opencv-pushbot:gitee/alalek/tests_filter_debug 2025-03-21 10:22:17 +03:00
videoio Merge pull request #26992 from Anshuprem:4.x 2025-03-01 14:54:26 +03:00
world cmake: use /INCREMENTAL:NO with MSVS 2015 2023-12-07 19:46:27 +00:00