0
0
mirror of https://github.com/opencv/opencv.git synced 2026-01-18 17:21:42 +01:00

35924 Commits

Author SHA1 Message Date
Alexander Smorkalov
6950bedb5c Merge pull request #28389 from akretz:fix_issue_28352
Use Mat::total() in Darknet IO
2026-01-14 10:02:07 +03:00
Kumataro
105a774720 Merge pull request #28393 from Kumataro:develop/doc_build_config_avif
doc: update image codec configuration reference (add AVIF, fix JPEG XL) #28393

This PR updates the build configuration documentation to:
- Add AVIF to the supported format list (it was missing).
- Clarify that some codecs (AVIF, JPEG XL) do not support BUILD_* options because OpenCV does not bundle their source code.
- Update the description to include "write" capabilities for these formats.

### 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
- [x] 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.
- [x] The feature is well documented and sample code can be built with the project CMake
2026-01-13 13:02:47 +03:00
Adrian Kretz
29d68af2a8 Use Mat::total() in Darknet IO 2026-01-10 16:39:44 +01:00
Alexander Smorkalov
d8bc5b94b8 Merge pull request #28373 from vrabaud:lsh
Fix potential pointer overflow in BlockSum
2026-01-07 11:04:35 +03:00
Alexander Smorkalov
481ebe0ac0 Merge pull request #28371 from WalkingDevFlag:fix/copyTo-empty-fixed-type-28343
Fix copyTo on empty fixed-type matrices (#28343)
2026-01-07 11:04:05 +03:00
Vincent Rabaud
b7efc11b51 Merge pull request #28361 from vrabaud:msan
Prevent a potential crash in FMEstimatorCallback::runKernel #28361
 
With solveCubic sometimes failing, n can be -1.

### 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
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] 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
2026-01-06 11:07:19 +03:00
Alexander Smorkalov
b227993ad5 Merge pull request #28372 from amd:RaceConditionFix
Issue Fix: Race condition in GaussianBlurFixedPoint
2026-01-06 11:05:50 +03:00
Vincent Rabaud
e9c6cb98ea Fix potential pointer overflow.
srcY-roi.y is promoted to size_t which creates problems when it is
negative.
2026-01-06 01:18:54 +01:00
WalkingDevFlag
175dd57bdd Fix copyTo on empty fixed-type matrices (#28343)
PR #27972 added _dst.create(size(), type()) in copyTo's empty() block.
In Debug builds, Mat::release() was resetting flags to MAGIC_VAL,
clearing the type information and causing assertion failures when
destination has fixedType().

Preserve type flags in Mat::release() debug mode by using:
  flags = (flags & CV_MAT_TYPE_MASK) | MAGIC_VAL

Thanks to @akretz for suggesting this better approach.
2026-01-06 00:51:06 +05:30
Madan mohan Manokar
abd0eb94f6 Fixes Issue: Race condition in GaussianBlurFixedPoint #28370 2026-01-05 18:24:27 +00:00
Alexander Smorkalov
f3758f40ae Merge pull request #28362 from vrabaud:lsh
Replace pow with std::pow
2026-01-05 16:10:22 +03:00
Vincent Rabaud
5622958189 Replace pow with std::pow
The C pow casts to double while std::pow has overloads that can be
optimized by the compiler.
Also replace pow(*, 1./3) by cbrt.
2026-01-04 15:12:59 +01:00
Alexander Smorkalov
10589eb2c8 Merge pull request #28349 from asmorkalov:as/numpy_2_4_types_fix
Typing fix in tests for modern Numpy
2026-01-03 12:24:01 +03:00
Alexander Smorkalov
0655c2ecba Merge pull request #28332 from nmizonov:hal_ipp_add_check_useipp
Add useIPP check to hal_ipp functions
2026-01-02 18:26:42 +03:00
Alexander Smorkalov
f8c04bafa8 Typing fix in tests for modern Numpy 2026-01-02 16:30:28 +03:00
Alexander Smorkalov
4db66beb60 Merge pull request #28345 from hmaarrfk:patch-2
Fix macro definition for Power10 architecture
2026-01-02 15:48:52 +03:00
Mark Harfouche
13c8ec3aa9 Fix macro definition for Power10 architecture 2026-01-01 20:37:01 -05:00
Alexander Smorkalov
3c34e42209 Merge branch 'as/release_4.13.0' into 4.x 2025-12-30 21:56:39 +03:00
Alexander Smorkalov
fe38fc608f release: OpenCV 4.13.0 4.13.0 2025-12-30 10:52:05 +03:00
nmizonov
6bb3c31450 Add useIPP check to hal_ipp functions 2025-12-29 04:20:31 -08:00
Alexander Smorkalov
a6c10358a4 Merge pull request #28331 from asmorkalov:as/python_standalone_layout
Define installation layout for Python standalone builds
2025-12-29 15:07:37 +03:00
Alexander Smorkalov
f9c2961411 Define installation layout for Python standalone builds. 2025-12-29 15:01:07 +03:00
Alexander Smorkalov
d43ff988ca Merge pull request #28330 from asmorkalov:as/python_standalone_dlpack
Fixed DLPack detection in Python standalone builds
2025-12-29 14:37:00 +03:00
Alexander Smorkalov
2addae071e Fixed DLPack detection in Python standalone builds 2025-12-29 13:45:19 +03:00
Alexander Smorkalov
83804b8fc7 Merge pull request #28326 from lebarsfa:4.x
"/arch:AVX" should be only for Visual Studio
2025-12-29 13:13:01 +03:00
lebarsfa
207ac36ca2 opencv/3rdparty/libwebp/CMakeLists.txt: "/arch:AVX" should be only for Visual Studio, "-mavx" for MinGW and possibly other compilers 2025-12-28 00:09:17 +01:00
Alexander Smorkalov
40ab411032 Merge pull request #28285 from akretz:fix_issue_28241
Fixed stack-use-after-scope errors in charuco detector
2025-12-27 18:17:58 +03:00
Alexander Smorkalov
b2042a61d2 Merge pull request #28320 from Kumataro:fix28319
docs(core): update Universal Intrinsics for VLA (RVV/SVE) and v4.11+ API changes
2025-12-27 18:16:00 +03:00
Kumataro
364f21fd24 docs(core): update Universal Intrinsics for VLA (RVV/SVE) and OpenCV 4.11+ API changes 2025-12-27 10:54:06 +09:00
Alexander Smorkalov
a49eb47057 Merge pull request #28306 from asmorkalov:as/ffmpeg_4.x_20251225
FFmpeg binaries update for Windows.
2025-12-27 00:41:19 +03:00
Alexander Smorkalov
b618676a53 Merge pull request #28311 from asmorkalov:as/ipp_compare_perf_regression
Disable IPP with AVX512 in cv::compare because of performance regression
2025-12-26 22:55:08 +03:00
Alexander Smorkalov
9b4043ea67 Merge pull request #28312 from 0AnshuAditya0:fix/issue-28291-qt-quit-lifecycle
Fix Qt HighGUI lifecycle issue when external QApplication exists
2025-12-26 18:29:18 +03:00
0AnshuAditya0
5d5b5c14a9 Fix Qt HighGUI lifecycle issue when external QApplication exists
Respect QApplication::quitOnLastWindowClosed() before calling qApp->quit().
This prevents OpenCV from unintentionally terminating externally managed
Qt applications when the last HighGUI window is closed.

Fixes #28291
2025-12-26 13:36:17 +05:30
Alexander Smorkalov
497e9037b4 FFmpeg binaries update for Windows. 2025-12-26 10:52:37 +03:00
Alexander Smorkalov
2b1cf03a9d Disable IPP with AVX512 in cv::compare because of performance regression. 2025-12-26 09:19:28 +03:00
Alexander Smorkalov
cff7581175 Merge pull request #28304 from raimbekovm:fix-typos-batch5
docs: fix spelling errors
2025-12-25 17:55:20 +03:00
Alexander Smorkalov
459a609271 Merge pull request #28283 from asmorkalov:as/ffmpeg_picture_leak
Fixed picture_sw object leak in ffmpeg backend with hardware codecs. #28283

Replacement for https://github.com/opencv/opencv/pull/28221

### 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-12-25 15:43:38 +03:00
raimbekovm
a41857f3c2 docs: fix spelling errors
- 'tirangle' -> 'triangle'
- 'cirlce' -> 'circle'
- 'gradiantSize' -> 'gradientSize'
- 'unnotied' -> 'unnoticed'
- 'consistensy' -> 'consistency'
- 'implemention' -> 'implementation'
- 'suppported/Unsuppported/suppport' -> 'supported/Unsupported/support'
2025-12-25 15:45:08 +06:00
Alexander Smorkalov
c1c893ff73 Merge pull request #28299 from AsyaPronina:rename_workload_type_notify
[G-API] Renamed `WorkloadType::notify()` -> `WorkloadType::set()`
2025-12-25 11:59:05 +03:00
Alexander Smorkalov
b63565401b Merge pull request #28300 from raimbekovm:fix-array-typo
docs: fix spelling errors in documentation and comments
2025-12-25 11:58:16 +03:00
raimbekovm
229941f6a2 docs: fix spelling errors in documentation and comments
- Fixed 'arrray' -> 'array' in calib3d.hpp
- Fixed 'varaible' -> 'variable' in matmul_layer.cpp
- Fixed 'PreprocesingEngine' -> 'PreprocessingEngine' in onevpl sample
- Fixed 'convertion/convertions' -> 'conversion/conversions' in quaternion.hpp, grfmt_tiff.cpp, nary_eltwise_layers.cpp, instance_norm_layer.cpp
2025-12-25 11:48:31 +06:00
Alexander Smorkalov
5c1737e0dc Merge pull request #28297 from raimbekovm:fix-documentation-typos
docs: fix typos in documentation
2025-12-25 08:35:19 +03:00
Alexander Smorkalov
ec4889b7ae Merge pull request #28298 from raimbekovm:fix-spelling-errors
docs: fix spelling errors in documentation
2025-12-25 08:33:50 +03:00
Anastasiya Pronina
e16fbb392c [G-API] Renamed WorkloadType::notify() -> WorkloadType::set() 2025-12-24 22:44:54 +00:00
raimbekovm
17a01d687c docs: fix spelling errors in documentation
- Fixed 'reinitalized' -> 'reinitialized' in background_segm.hpp
- Fixed 'dimentions/dimentional/dimentinal' -> 'dimensions/dimensional' in mat.hpp, imgproc.hpp, gmat.hpp, recurrent_layers.cpp
- Fixed 'tresholded' -> 'thresholded' in aruco_detector.cpp
2025-12-24 22:37:09 +06:00
raimbekovm
2fb95415dd Fix typos in documentation: 'algorighm' -> 'algorithm', 'necesary' -> 'necessary' 2025-12-24 22:11:28 +06:00
Alexander Smorkalov
3e89c3e26f Merge pull request #28287 from asmorkalov:update_version_4.13.0-pre
pre: OpenCV 4.13.0 (version++)
2025-12-24 11:18:20 +03:00
Alexander Smorkalov
73737bb3f1 Merge pull request #28286 from asmorkalov:as/warning_fix_win32
Warning fix on Windows.
2025-12-23 21:58:11 +03:00
Dheeraj Alamuri
d3c539bf71 Merge pull request #28227 from dheeraj25406:docs-moments-degenerate
docs(imgproc): clarify cv::moments behavior for degenerate contours #28227

relates to https://github.com/opencv/opencv/issues/28222
Clarifies that for degenerate contours (single point or collinear points),
cv::moments() returns m00 == 0 and centroid is undefined.
Documents common workarounds such as boundingRect center or point averaging.
2025-12-23 20:53:43 +03:00
Alexander Smorkalov
e63d2a12f0 pre: OpenCV 4.13.0 (version++). 2025-12-23 18:31:50 +03:00