Skip to content

Workaround for current ICV issue - #5

Open
andreyfe1 wants to merge 5 commits into
warp_enable_5from
warp_reenable_5
Open

Workaround for current ICV issue#5
andreyfe1 wants to merge 5 commits into
warp_enable_5from
warp_reenable_5

Conversation

@andreyfe1

@andreyfe1 andreyfe1 commented Aug 19, 2026

Copy link
Copy Markdown

If the fix is fine, alternatively I can propose changes for 4.x to let them automatically merge to 5.x later.
Let me know which branch is good to target to.

Pull Request Readiness Checklist

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

  • I agree to contribute to the project under Apache 2 License.
  • 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

Comment thread hal/ipp/src/warp_ipp.cpp
@andreyfe1

Copy link
Copy Markdown
Author

The fix checked manually on Windows with the default ICV downloaded by OpenCV CMake and showed that the test passed:

[----------] 1 test from Imgproc_WarpPerspective_Test
[ RUN      ] Imgproc_WarpPerspective_Test.accuracy
[       OK ] Imgproc_WarpPerspective_Test.accuracy (58 ms)
[----------] 1 test from Imgproc_WarpPerspective_Test (60 ms total)

I t also showed that the test failed without the fix

[----------] 1 test from Imgproc_WarpPerspective_Test
[ RUN      ] Imgproc_WarpPerspective_Test.accuracy
E:\temp\andreyfe\opencv\modules\ts\src\ts.cpp(610): error: Failed

        failure reason: Invalid memory access
        test case #-1
        seed: 00000000000c5a83
-----------------------------------
        LOG:
General failure:
        Invalid memory access (-5)

-----------------------------------

[  FAILED  ] Imgproc_WarpPerspective_Test.accuracy (0 ms)
[----------] 1 test from Imgproc_WarpPerspective_Test (2 ms total)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants