Skip to content

cv_hal_minMaxIdxMaskStep for RISC-V RVV does not 1d, and 0D matrices in 5.x #26947

@asmorkalov

Description

@asmorkalov

System Information

The issue introduced in 4.x-5.x merge #26939
Disabled in the HAL for now in 3rdparty/hal_rvv/hal_rvv_1p0/minmax.hpp

Detailed description

[ RUN      ] Mat1D.basic
/home/ci/opencv/modules/core/test/test_mat.cpp:2419: Failure
Expected equality of these values:
  50
  pt.x
    Which is: 0
Google Test trace:
/home/ci/opencv/modules/core/test/test_mat.cpp:2415: minMaxLoc
/home/ci/opencv/modules/core/test/test_mat.cpp:2422: Failure
Expected equality of these values:
  50
  pt.x
    Which is: 0
Google Test trace:
/home/ci/opencv/modules/core/test/test_mat.cpp:2415: minMaxLoc
[  FAILED  ] Mat1D.basic (2 ms)
[ RUN      ] Core_Array.basic_operations
/home/ci/opencv/modules/ts/src/ts.cpp:610: Failure
Failed

	failure reason: Invalid function output
	test case #-1
	seed: 00000000000c5a61
-----------------------------------
	LOG:
6. Dense: The value and positions of minimum/maximum elements are different from the reference values and positions:
	(-619.138, 668.987,    0,    0) vs (-619.138, 668.987,    2,    0)

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

[  FAILED  ] Core_Array.basic_operations (23 ms)

Steps to reproduce

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions