Files
opencv-MIRROR/modules
Abhishek Gola ecd208bc9f Merge pull request #30976 from ternaus/codex/pow-zero-any-channel
core: fix pow with zero exponent on high-channel images 🤖🤖🤖

The zero-exponent branch of cv::pow fills the destination with a four-component Scalar. CPU outputs with more than four channels reject it. Use a single numeric input that broadcasts to every channel for this case. CUDA output continues through the four-component path required by its OutputArray implementation.

The 5.1 wheel reproduces the assertion for five and nine channels. A patched ARM64 Release core build passed a native 24-case check across Mat and UMat, CV_8U, CV_16F and CV_32F, and channels 1, 4, 5 and 9. Added a parameterized Core regression test.
2026-11-20 09:15:31 +05:30
..
2026-07-09 12:17:24 +03:00