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

35915 Commits

Author SHA1 Message Date
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
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
Alexander Smorkalov
a1b682254e Warning fix on Windows. 2025-12-23 18:25:26 +03:00
Adrian Kretz
54fc9dce0b Guarantee temporary object lifetime extension 2025-12-23 15:54:37 +01:00
Alexander Smorkalov
4705320496 Merge pull request #28239 from AdwaithBatchu:optimize-stitching-allocations
optimize: replace push_back with emplace_back in core loops
2025-12-23 15:05:35 +03:00
Alexander Smorkalov
81893fac24 Merge pull request #28282 from abhishek-gola:conv_kernel_size_fix
Support Conv kernel inference from initializer weights
2025-12-23 15:04:51 +03:00
Shruti Arsode
7e66c0504a Merge pull request #28275 from Shruti192903:docs/simpleblobdetector-api
docs(features2d): document getBlobContours and collectContours in SimpleBlobDetector #28275

Description: This PR adds missing Doxygen documentation for the getBlobContours() method and the collectContours parameter in SimpleBlobDetector. These features were previously undocumented, making the contour collection functionality difficult for users to discover and use correctly.

Changes:
Added a @brief and detailed note for SimpleBlobDetector::Params::collectContours.
Added documentation for SimpleBlobDetector::getBlobContours(), including a @note regarding the required parameter setup.

Testing:
Verified the documentation build locally on macOS using ninja opencv_docs.
Confirmed the generated HTML displays the descriptions and cross-references accurately.

Partially fixes: #25904
Related PR that adds method: https://github.com/opencv/opencv/pull/21942

### 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.
- [ ] 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
2025-12-23 15:03:57 +03:00
Vadim Pisarevsky
eaccbe24b2 Merge pull request #28242 from vpisarev:fix_input_array_std_vector
modified Input/OutputArray methods to handle 'std::vector<T>' or 'std::vector<std::vector<T>>' properly #28242

This is port of #26408 with some further improvements (all switch-by-vector-type statements are consolidated in a single macro)

### 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-23 14:25:07 +03:00
Abhishek Gola
2bce8e6a46 Added conv kernel size 2025-12-23 13:49:07 +05:30
Alexander Smorkalov
a27397a654 Merge pull request #28274 from JahnviBhandari:setup
Fix wording in Adding Images Tutorial
2025-12-23 10:31:44 +03:00
Alexander Smorkalov
d00021017a Merge pull request #28277 from JosuaRieder:feature/fix_stitcher_doc
Remove stray STX in stitcher tutorial
2025-12-23 10:19:27 +03:00