Skip to content

why minMaxIdx Restored reduced IPP calls #24146

@sdnusqy-art

Description

@sdnusqy-art

System Information

// example for c++ user
OpenCV version: 4.0 or later
Operating System / Platform: Centos 7.9
Compiler & compiler version: GCC 4.8.5

Detailed description

cv::minMaxIdx Unable to use IPP acceleration

/modules/core/src
/minmax.cpp
#undef HAVE_IPP
#undef CV_IPP_RUN_FAST
#define CV_IPP_RUN_FAST(f, ...)
#undef CV_IPP_RUN
#define CV_IPP_RUN(c, f, ...)

#define IPP_DISABLE_MINMAXIDX_MANY_ROWS 1 // see Core_MinMaxIdx.rows_overflow test

After restored reduced IPP calls, cv::minMaxIdx need more time to run, why unable to use IPP acceleration?

Steps to reproduce

run cv::minMaxIdx and statistical time

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

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions