Tomoaki Teshima
a630ad73cb
suppress warning on GCC 7 and later
2022-07-06 23:31:31 +09:00
@lizhiyu3
366e8217c2
merge the fixbug
2022-07-06 01:09:46 +08:00
@lizhiyu3
01226cb8ac
fix the bug when src*2 < dst
2022-07-06 01:01:16 +08:00
@lizhiyu3
c54ccaac31
change test number
2022-07-05 15:50:33 +08:00
@lizhiyu3
79731cb0ff
fix the bug when src*2 < dst
2022-07-05 15:43:52 +08:00
Povilas Kanapickas
6a4c3b61e6
Improve doc of calcHist overload that accepts vectors
...
It's not clear how ranges argument should be used in the overload of
calcHist that accepts std::vector. The main overload uses array of
arrays there, while std::vector overload uses a plain array. The code
interprets the vector as a flattened array and rebuilds array of arrays
from it. This is not obvious interpretation, so documentation has been
added to explain the expected usage.
2022-07-04 12:19:16 +03:00
heavyrain-lzy
6360c3bf46
Merge pull request #22184 from heavyrain-lzy:fixbug_pyrUp
...
* fix the bug in pyrUp
* add test case for pyrUp
* coding style
2022-07-03 23:06:43 +03:00
Lucas Yang
b152b8cbcd
Fix missing CharVector for JavaScript bindings
2022-06-30 04:07:43 +08:00
Alexander Alekhin
5e1c9099e8
Merge pull request #22158 from lamm45:intro-typos
2022-06-26 14:20:22 +00:00
Alexander Alekhin
397e9bc8d6
Merge pull request #22137 from danopdev:issues-22126
2022-06-25 15:21:55 +00:00
dan
2366f2cb2e
issues-22126
2022-06-25 15:12:59 +02:00
lamm45
9faefa0c96
Fix minor errors in the first documentation page (Introduction)
...
This markdown file corresponds to the first link on the landing
page of OpenCV documentation.
2022-06-24 14:03:14 -04:00
Vincent Rabaud
82010bf5c1
Fix some overflows in drawing.
2022-06-24 11:38:20 +02:00
Zihao Mu
ef94275eb6
bug fixed of GEMM node in ONNX_importer
2022-06-22 21:08:48 +08:00
Kumataro
dd7b9000ad
Merge pull request #22064 from Kumataro:3.4-fix22052
...
* imgcodecs: jpeg: add IMWRITE_JPEG_SAMPLING_FACTOR parameter
* fix compile error
* imgcodecs: jpeg: add CV_LOG_WARNING() and fix how to initilize Mat
* imgcodecs: jpeg: fix for C++98 mode.
* samples: imgcodec_jpeg: Remove license
2022-06-20 21:42:50 +03:00
Alexander Alekhin
9d06e58c3c
Merge pull request #22127 from catree:update_homography_tutorial
2022-06-19 10:52:52 +00:00
catree
a04f9e7a59
Add more references. Update missing references with webarchive. Use mathbf for matrices. Check that the determinant of the rotation matrix is not negative (reflection), and correct it if it is the case.
2022-06-19 01:27:32 +02:00
Vincent Rabaud
0d52c37e11
Fix typo that prevents compilation with sanitizer.
2022-06-17 11:40:22 +02:00
Vincent Rabaud
7a46d7efde
Fix compilation on some ARM architecture.
...
This condition is the same as the line above.
2022-06-13 17:39:24 +02:00
Alexander Alekhin
c103b63fe1
Merge tag '3.4.18'
2022-06-05 15:16:54 +00:00
Alexander Alekhin
a3d0882317
release: OpenCV 3.4.18
2022-06-05 07:52:44 +00:00
Alexander Panov
53eda42da7
Merge pull request #22025 from AleksandrPanov:fix_samplingForVersion_multiplyingFactor
...
Fix sampling for version multiplying factor
* reduce experimentalFrequencyElem and listFrequencyElem
* fix large resize
* fix tile in postIntermediate
* add getMinSideLen(), add corrected_index
* add test decode_regression_21929 author Kumataro, add test decode_regression_version_25
2022-06-04 17:33:08 +03:00
Alexander Alekhin
c26c4a61c6
Merge pull request #22061 from alalek:imgproc_color_hsv_use_singleton
2022-06-03 09:03:33 +00:00
Alexander Alekhin
65fcf22670
imgproc: use singleton in color_hsv.simd.hpp
2022-06-01 19:02:56 +00:00
Kumataro
3577265508
highgui: Qt: waitKey() supports Cyrillic/Japanese keyboard layout
2022-06-01 21:45:53 +09:00
Ed J
f28e191d70
cheirality -> chirality
2022-06-01 00:54:44 +01:00
Ed J
38b6c44b4c
for then given -> for the given
2022-06-01 00:54:44 +01:00
Kumataro
1a24e316d5
Merge pull request #22030 from Kumataro:3.4-fix22029
...
* objdetect: qrcode_encoder: fix to missing timing pattern
* objdetect: qrcode_encoder: Add SCOPED_TRACE() and replace CV_Assert() to ASSERT_EQ().
- Add SCOPED_TRACE() for version loop.
- Replace CV_Assert() to ASSERT_EQ().
- Rename expect_msg to msg.
2022-05-31 13:58:17 +03:00
Victor
1230075011
Merge pull request #22045 from victor1234:calib3d-fisheye-model-reference
...
* Add fisheye camera model summary description with reference
* Fix layout
* Move reference to bibtex
2022-05-30 18:03:08 +00:00
mohawk2
72debee125
typo: Minkowsky is actually Minkowski
2022-05-26 12:54:26 +01:00
Alexander Alekhin
e9187ae38c
Merge pull request #22026 from alalek:update_version_3.4.18-pre
2022-05-24 20:23:28 +00:00
Alexander Alekhin
978dc76653
Merge pull request #22006 from rogday:21947_fix
2022-05-24 19:26:02 +00:00
rogday
a2ad997e97
fix vector access in TF::sortByExecutionOrder
2022-05-24 00:05:13 +03:00
Alexander Alekhin
400906b433
pre: OpenCV 3.4.18 (version++)
2022-05-23 19:18:02 +00:00
berak
50d7c61c01
Update darknet_importer.cpp
...
make it more obvious, that this is a '404', not a 'parsing' problem
2022-05-23 19:18:31 +02:00
rogday
93dc0679ec
Merge pull request #21818 from rogday:revert_renaming
...
* add prefixes to layer names and layer output names
* dnn: OPENCV_DNN_ONNX_USE_LEGACY_NAMES runtime parameter
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2022-05-23 14:50:42 +00:00
Alexander Alekhin
89f8d4ae12
build: GCC12 warnings
2022-05-15 16:21:16 +00:00
OpenCV Pushbot
f35ec8c955
Merge pull request #21935 from Yulv-git:3.4-typos3
2022-05-13 17:30:57 +00:00
OpenCV Pushbot
612d43f284
Merge pull request #21871 from xiongzhen:apply-predictor-to-lzw-only
...
TIFFTAG_PREDICTOR should not be applied unless LZW, DEFLATE or ADOBE_DEFLATE
2022-05-13 17:25:59 +00:00
OpenCV Pushbot
56824d1769
Merge pull request #21847 from lamm45:imgproc-tform-doc
...
Minor documentation fixes for geometric image transformations
2022-05-13 17:23:23 +00:00
xiongzhen
2238ac7d59
Apply TIFFTAG_PREDICTOR option for LZW, DEFLATE and ADOBE_DEFLATE compression cases for smaller files.
2022-05-13 09:44:25 +03:00
OpenCV Pushbot
40d2904f3d
Merge pull request #21916 from chenjunnn:patch-1
2022-05-12 10:01:11 +00:00
OpenCV Pushbot
9712cc479b
Merge pull request #21963 from hellodoge:imwrite_fix
2022-05-12 09:02:54 +00:00
OpenCV Pushbot
0ef1fb0b67
Merge pull request #21954 from Darkyenus:patch-1
2022-05-12 08:59:10 +00:00
Chen Jun
8d0dae4cec
Fix KalmanFilter comment error
...
If there will be measurement before the next predict, `statePost` would be assigned to updated value. So I guess these steps are meant to handle when no measurement and KF only do the predict step.
```cpp
statePre.copyTo(statePost);
errorCovPre.copyTo(errorCovPost);
```
2022-05-12 08:48:23 +00:00
OpenCV Pushbot
4af8e5c5c4
Merge pull request #21974 from cxcorp:fix-js-test-globals
2022-05-12 08:44:00 +00:00
OpenCV Pushbot
2b53ab23c0
Merge pull request #21882 from duanqn:improve-doc
2022-05-12 07:41:39 +00:00
Joona Heikkilä
646025589b
Fix global variable assignment in JS test suite
...
In test_imgproc.js, the test_filter suite's last test assigns a variable
to `size` without declaring it with `let`, polluting the global scope.
This commit adds `let` to the statement, so that the variable is scoped
to the test block.
2022-05-11 23:15:34 +03:00
Jan Polák
dea0815199
Small imencode documentation improvement
...
It was previously not clear that the extension should include the period, [and I am not the only person that encountered this problem](https://stackoverflow.com/questions/4254460/opencv-could-not-find-encoder-for-the-specified-extension ).
I assume that this is true for all supported extensions, but I haven't checked the source.
2022-05-11 14:57:38 +02:00
hellodoge
e4ed2d2e42
fix JpegEncoder::write
...
3rdparty/libjpeg-turbo/src/jpeglib.h:
`* NB: you must set up the error-manager BEFORE calling jpeg_create_xxx.`
2022-05-11 13:08:02 +03:00
Vincent Rabaud
667e5e4f89
Merge pull request #21943 from vrabaud:3.4_proc
...
* Fix compilation with non glibc.
_SC_NPROCESSORS_ONLN is non standard as defined on https://man7.org/linux/man-pages/man3/sysconf.3.html
It seems to only be on glibc, cf https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html
* Fix to defined(_SC_NPROCESSORS_ONLN)
2022-05-05 07:59:29 +00:00
Yulv-git
15ac54d5d6
Fix some typos in modules/.
2022-04-30 13:40:07 +08:00
LaurentBerger
ca2ab3387f
Try to solve I21853 mouse wheel problem with GTK3
2022-04-29 08:59:29 +03:00
Qingnan Duan
2958142e31
Remove extra not in doc
2022-04-18 14:18:27 +08:00
Alexander Smorkalov
0ee2a58cdc
Document defaults for JPEG settings.
2022-04-15 14:36:48 +03:00
rogday
a2b84e9897
add assert to tf graph simplifier to address security concerns
2022-04-13 22:50:27 +03:00
OpenCV Pushbot
3a595ea5c4
Merge pull request #21855 from opencv-pushbot:dnn_test_update_checks_face_detector_3.4
2022-04-12 17:33:13 +00:00
OpenCV Developers
e3a55af336
dnn(test): update opencv_face_detector checks
...
original commit: be4a432bea
2022-04-11 20:27:06 +00:00
lamm45
0d32a24cba
Fix some doc references in geometric image transformations module
2022-04-10 13:13:30 -04:00
Alexander Alekhin
0bd261ded4
Merge pull request #21820 from alalek:fix_videoio_ffmpeg_memory_leak_3.4
2022-04-05 18:03:27 +00:00
eplankin
d793ec2ffe
Merge pull request #21779 from eplankin:fix_11303
...
Fixed out-of-bounds read in parallel version of ippGaussianBlur()
* Fixed out-of-memory read in parallel version of ippGaussianBlur()
* Fixed check
* Revert changes in CMakeLists.txt
2022-04-05 15:58:15 +00:00
Alexander Alekhin
1b3a06a02a
videoio(ffmpeg): avoid memory leaks
2022-04-04 18:52:24 +00:00
Alexander Alekhin
a93fb52632
Merge pull request #21795 from alalek:dnn_test_update_openvino_3.4
2022-04-02 19:36:48 +00:00
Alexander Alekhin
4d927e73f1
dnn(test): update OpenVINO tests 2022.1.0
2022-04-02 17:42:53 +00:00
Alexander Alekhin
46b6973c05
Merge pull request #21798 from gititgo:4.x
2022-04-01 22:11:57 +00:00
Alexander Alekhin
af2b7708a8
Merge pull request #21794 from yash112-lang:3.4
2022-04-01 22:10:51 +00:00
shengwenxue
8b44ee2ce1
fix MSA sum overflow issue
2022-04-01 08:37:28 +00:00
Yash Singhal
4e8c507276
Update Condition
...
Update connectedcomponents.cpp
2022-03-31 21:03:06 +00:00
Alexander Alekhin
b687bc807a
dnn(test): update OpenVINO tests 2021.4.2
2022-03-30 18:58:35 +00:00
Alexander Alekhin
386df457a9
python: ensure publishing of subclasses before derived types
2022-03-27 12:49:22 +00:00
Alexander Alekhin
9b2b2c88df
Merge pull request #21750 from alalek:dnn_fix_index_access
2022-03-25 18:26:10 +00:00
Alexander Alekhin
12bae51384
Merge pull request #21759 from pkubaj:patch-1
2022-03-23 19:13:12 +00:00
Maksim Shabunin
593996216f
cartToPolar/polarToCart: disable inplace mode
2022-03-21 16:06:12 +03:00
Maksim Shabunin
4eae23a2cc
ts: fix some EXPECT_MAT macros
2022-03-21 16:06:02 +03:00
pkubaj
f3699b5ac8
Fix build with LLVM 13 on ppc64le
...
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:352:12: warning: 'vec_permi' macro redefined [-Wmacro-redefined]
# define vec_permi(a, b, c) vec_xxpermdi(b, a, (3 ^ (((c) & 1) << 1 | (c) >> 1)))
^
/usr/lib/clang/13.0.0/include/altivec.h:13077:9: note: previous definition is here
#define vec_permi(__a, __b, __c) \
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:370:25: error: redefinition of 'vec_promote'
VSX_FINLINE(vec_dword2) vec_promote(long long a, int b)
^
/usr/lib/clang/13.0.0/include/altivec.h:14604:1: note: previous definition is here
vec_promote(signed long long __a, int __b) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:377:26: error: redefinition of 'vec_promote'
VSX_FINLINE(vec_udword2) vec_promote(unsigned long long a, int b)
^
/usr/lib/clang/13.0.0/include/altivec.h:14611:1: note: previous definition is here
vec_promote(unsigned long long __a, int __b) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/hal/intrin_vsx.hpp:1045:22: error: call to 'vec_rsqrt' is ambiguous
{ return v_float32x4(vec_rsqrt(x.val)); }
^~~~~~~~~
/usr/lib/clang/13.0.0/include/altivec.h:8472:34: note: candidate function
static vector float __ATTRS_o_ai vec_rsqrt(vector float __a) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:362:29: note: candidate function
VSX_FINLINE(vec_float4) vec_rsqrt(const vec_float4& a)
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/hal/intrin_vsx.hpp:1047:22: error: call to 'vec_rsqrt' is ambiguous
{ return v_float64x2(vec_rsqrt(x.val)); }
^~~~~~~~~
/usr/lib/clang/13.0.0/include/altivec.h:8477:35: note: candidate function
static vector double __ATTRS_o_ai vec_rsqrt(vector double __a) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:365:30: note: candidate function
VSX_FINLINE(vec_double2) vec_rsqrt(const vec_double2& a)
^
1 warning and 4 errors generated.
The specific functions were added to altivec.h in LLVM's 1ff93618e58df210def48d26878c20a1b414d900, c3da07d216dd20fbdb7302fd085c0a59e189ae3d and 10cc5bcd868c433f9a781aef82178b04e98bd098.
2022-03-21 02:05:05 +00:00
Alexander Alekhin
4c79318694
dnn: fix index access
2022-03-19 06:54:07 +00:00
rogday
93353aea70
Merge pull request #21522 from rogday:lstm
...
Fix LSTM support in ONNX
* fix LSTM and add peephole support
* disable old tests
* turn lambdas into functions
* more hacks for c++98
* add assertions
* slice fixes
* backport of cuda-related fixes
* address review comments
2022-03-15 09:14:05 +03:00
Vincent Rabaud
057c3da82a
Allow Matx static function to work with Vec.
2022-03-04 14:06:20 +01:00
Vadim Levin
ccebbbc0ac
feature: submodule or a class scope for exported classes
...
All classes are registered in the scope that corresponds to C++
namespace or exported class.
Example:
`cv::ml::Boost` is exported as `cv.ml.Boost`
`cv::SimpleBlobDetector::Params` is exported as
`cv.SimpleBlobDetector.Params`
For backward compatibility all classes are registered in the global
module with their mangling name containing scope information.
Example:
`cv::ml::Boost` has `cv.ml_Boost` alias to `cv.ml.Boost` type
2022-03-02 14:30:52 +03:00
Alexander Alekhin
5cc27fd3b5
Merge pull request #21542 from rogday:split_expand
2022-02-28 22:38:24 +00:00
Egor Smirnov
375fe81311
fix slice and expand
2022-02-28 17:18:07 +03:00
Zhuo Zhang
f5105bac65
remove const in seamless_cloding APIs for better semantics
2022-02-21 20:39:41 +08:00
Alexander Alekhin
2c83cfc14c
Merge pull request #21639 from georgthegreat:patch-1
2022-02-19 20:58:57 +00:00
KaurkerDevourer
9198e30688
Fix DpSeamFinder::hasOnlyOneNeighbor
...
std::lower_bound is linear for set
https://en.cppreference.com/w/cpp/algorithm/lower_bound
2022-02-19 14:24:05 +03:00
Artem Saratovtsev
1890157faa
Merge pull request #21635 from DumDereDum:issue_21595_3.4
...
Issue 21595 fix 3.4 branch
* bug fix; add test
* rewrite tests avoiding vector in tests
2022-02-18 14:58:58 +00:00
Yuriy Chernyshov
0898f372b1
Аix -Winvalid-noreturn under clang-cl
2022-02-18 17:57:46 +03:00
Alexander Alekhin
4e53f301d8
Merge pull request #21622 from alalek:imgcodecs_checks_3.4
2022-02-15 18:19:51 +00:00
Alexander Alekhin
2b7803dbac
imgcodecs: add runtime checks to validate input
...
backport of commit: f9b1dbe2ac
2022-02-15 16:33:35 +00:00
Alexander Alekhin
0047d3f81a
Merge pull request #21614 from alalek:fix_build_power8_vec_absd
2022-02-15 15:31:23 +00:00
Maksim Shabunin
a251474144
Update filters in ONNX tests
2022-02-15 11:56:28 +03:00
Alexander Alekhin
8d88bb06b2
core(vsx): update vec_absd() workaround condition
2022-02-15 07:26:40 +03:00
Suleyman TURKMEN
44db2eea70
update HOGDescriptor documentation
2022-02-13 23:54:27 +03:00
Alexander Alekhin
3215db26aa
Merge pull request #21591 from alalek:dnn_drop_legacy_ie
2022-02-10 21:47:30 +00:00
Vincent Rabaud
fc28ba3156
Merge pull request #21594 from vrabaud:3.4_msan
...
* Fix harmless MSAN error.
This is similar to https://github.com/opencv/opencv/pull/21527
A macro is also created to simplify the code.
* Declare fallback only once.
2022-02-10 19:44:14 +03:00
Alexander Alekhin
effce0573b
dnn: drop legacy Inference Engine NN builder API
2022-02-10 11:55:24 +00:00
Greg Fiumara
dae73938e8
Fix cv::FileStorage::Mode::Memory doxygen layout
2022-02-09 12:24:50 -05:00
Suleyman TURKMEN
ffee1a4126
fix cv::floodfill() for calling it with an empty mask
2022-02-08 15:28:19 +03:00
lamm45
5064b6f747
Update LineIterator documentation
2022-02-06 18:42:26 -05:00
Alexander Alekhin
a00a0dbfcd
Merge pull request #21564 from alalek:dnn_fix_openvino_outputs
2022-02-06 16:06:23 +00:00
Alexander Alekhin
b41d2c5c14
Merge pull request #21569 from alalek:fixup_18031
2022-02-06 16:04:38 +00:00
Alexander Alekhin
1da48beeec
dnn(ngraph): fix output names
2022-02-06 13:08:53 +00:00
Alexander Alekhin
b57ff73086
dnn(ngraph): fix outputs handling, drop 'unconnected' logic
2022-02-06 13:08:53 +00:00
Alexander Alekhin
67978b5746
dnn(ngraph): add debuging messages
2022-02-06 13:08:53 +00:00
Alexander Alekhin
062f305d1a
dnn: don't fuse 'outputs' with OpenVINO backend
2022-02-06 13:08:53 +00:00
Alexander Alekhin
1f70d4e2a5
dnn(test): re-enable ONNX split tests for OpenVINO
2022-02-06 10:36:15 +00:00
Alexander Alekhin
aa5bc20c83
dnn(ngraph): fixup get_output_as_single_output_node() replacement patch
2022-02-06 10:35:59 +00:00
Maksim Shabunin
d1e76a34a0
3.4: Use modern OpenVINO package interface
...
original commit: 437af37b13
2022-02-02 09:04:03 +00:00
Alexander Alekhin
a7e6a1059c
dnn(test): fix outputs handling in ONNX conformance
...
- ONNX output is 1 tensor per defined output instead of N tensors from outputs of "output" layer
2022-01-29 23:29:51 +00:00
Alexander Alekhin
85719a0a5d
dnn: support outputs registration under new names
...
- fixed ONNX importer
2022-01-29 23:29:51 +00:00
Vincent Rabaud
b5b52afd35
Merge pull request #21527 from vrabaud:3.4_msan
...
* Fix wrong MSAN errors.
Because Fortran is called in Lapack, MSAN does not think the memory
has been written even though it is the case.
MSAN does no support well cross-language memory analysis.
* Make a dedicated check.
2022-01-28 15:35:47 +00:00
Alexander Alekhin
dc35633aa4
Merge pull request #21521 from alalek:dnn_ignore_denormals
2022-01-28 15:31:44 +00:00
Vadim Levin
ef85b24a78
fix: wrong reference counter after module initialization
2022-01-27 12:05:06 +03:00
Alexander Alekhin
7f782a1a24
Merge pull request #21499 from sturkmen72:update_documentation
2022-01-26 17:37:51 +00:00
Alexander Alekhin
9188ce68aa
Merge pull request #21490 from rogday:optional_outputs
2022-01-26 15:18:07 +00:00
Alexander Alekhin
70b0274c8e
dnn: apply hint to ignore denormals processing
2022-01-26 11:28:35 +00:00
Alexander Alekhin
83ce1de8e7
Merge pull request #21506 from alalek:core_fp_denormals
2022-01-26 08:52:27 +00:00
Alexander Alekhin
b1d484f827
core(parallel): propagate FP denormals mode
2022-01-26 05:19:02 +00:00
Alexander Alekhin
123519165d
core: FP denormals hints support
2022-01-26 05:19:02 +00:00
Alexander Alekhin
906f5f7e96
Merge pull request #21514 from pkubaj:patch-1
2022-01-25 18:44:26 +00:00
pkubaj
5d9ea394ba
Fix VSX detection on FreeBSD
...
hwcap should actually be long.
2022-01-25 13:35:22 +00:00
Vincent Rabaud
abb5c9fd92
Fix undefined behavior in line drawing.
...
Left shift of negative values is undefined.
2022-01-25 11:37:39 +01:00
Yuriy Chernyshov
d1b533d399
Disable -Wreturn-type-c-linkage under clang-cl
...
clang-cl defines both __clang__ and _MSC_VER, yet uses `#pragma GCC` to disable certain diagnostics.
At the time `-Wreturn-type-c-linkage` was reported by clang-cl.
This PR fixes this behavior by reordering defines.
2022-01-24 11:42:02 +03:00
Alexander Alekhin
3f2377017c
Merge pull request #21497 from alalek:fix_build_gcc12_3.4
2022-01-23 14:00:55 +00:00
Suleyman TURKMEN
2b5bb02817
Update imgcodecs.hpp
2022-01-23 01:24:34 +03:00
Alexander Alekhin
302d14adef
build: fix GCC12 compilation
2022-01-22 11:48:44 +00:00
Alexander Alekhin
f811ba8777
Merge pull request #21429 from alalek:dnn_api_explicit_const_3.4
2022-01-21 20:04:58 +00:00
Smirnov Egor
17b2d92a3d
add optional outputs support and fix graph links
2022-01-21 12:31:46 +03:00
Alexander Alekhin
ca5258f140
Merge pull request #21483 from alalek:cmake_highgui_opengl_update_3.4
2022-01-20 14:37:09 +00:00
Alexander Alekhin
82818e7324
cmake(highgui): update handling of OpenGL libraries
2022-01-20 02:31:15 +00:00
Vadim Levin
eca2d92791
fix: submodules creation and registration
...
- Add special case handling when submodule has the same name as parent
- `PyDict_SetItemString` doesn't steal reference, so reference count
should be explicitly decremented to transfer object life-time
ownership
- Add sanity checks for module registration input
2022-01-19 18:06:58 +03:00
Vadim Levin
76e34d6f2c
fix: handle possible PyModule_AddObject failure
...
Comment from Python documentation:
Unlike other functions that steal references, `PyModule_AddObject()` only
decrements the reference count of value on success.
This means that its return value must be checked, and calling code must
`Py_DECREF()` value manually on error.
2022-01-18 11:38:33 +03:00
Alexander Alekhin
b304730225
dnn: fix API - explicit ctors, const methods
2022-01-17 21:45:29 +00:00
Alexander Alekhin
5e327af327
Merge pull request #21426 from alalek:dnn_simd_unaligned_weights_fix
2022-01-12 13:11:45 +00:00
Alexander Alekhin
80d9f624d0
dnn: don't use aligned load without alignment checks
...
- weights are unaligned in dasiamprn sample (comes from numpy)
2022-01-12 05:11:18 +00:00
Vincent Rabaud
4db3a388dd
Fix a potential UBSAN error.
...
We only use that value as uint64_t below anyway.
2022-01-11 12:01:47 +01:00
Alexander Alekhin
1ba7c2f276
Merge pull request #21416 from alalek:videoio_msmf_sourcereadercb_dtor_message_info
2022-01-10 15:22:09 +00:00
h6197627
649f747f8a
Merge pull request #21405 from h6197627:3.4
...
* Use c++ namespaces explicitly
* Add root cv c++ namespace
2022-01-10 14:51:07 +03:00
Alexander Alekhin
05dbaf7672
videoio(msmf): use info message in SourceReaderCB destructor
2022-01-10 12:16:01 +03:00
Christoph Rackwitz
f3e0479a8f
kmeans: assertion "There can't be more clusters than elements"
2022-01-08 23:42:21 +01:00
Vincent Rabaud
bf5e09d5ab
Remove unnecessary use of ref-capture in code example.
2022-01-05 13:42:55 +01:00
Alexander Alekhin
53b89e1ee4
Merge pull request #21382 from stal12:CCL_fix_4conn
2022-01-04 13:21:25 +00:00
Stefano Allegretti
c685293297
Fix #21366
2022-01-03 18:15:09 +01:00
Joe Howse
c2209ad5e4
Doc warnings about experimental UMatUsageFlags
2021-12-31 13:51:06 -04:00
Alexander Alekhin
c5a86c22a4
core(ocl): add option to abort on OpenCL kernel build failure
...
- exceptions are catched by fallback CPU path
- OPENCV_OPENCL_ABORT_ON_BUILD_ERROR (disabled by default)
2021-12-29 00:04:45 +00:00
Alexander Alekhin
523c3cd50b
Merge tag '3.4.17'
2021-12-24 16:45:05 +00:00
Alexander Alekhin
631126c77a
release: OpenCV 3.4.17
2021-12-24 16:39:15 +00:00
Alexander Alekhin
cdfa8a668b
python: use '((x,y), (w,h), angle)' in std::vector<RotatedRect>
2021-12-24 15:01:45 +00:00
Alexander Alekhin
92651d228d
Merge pull request #21329 from alalek:cmake_openexr_find_package
2021-12-24 11:56:12 +00:00
Alexander Alekhin
90e3692603
Merge pull request #21327 from alalek:imgcodecs_openexr_runtime_disabled
2021-12-24 11:55:55 +00:00
Alexander Alekhin
3a8316ab93
Merge pull request #21320 from catree:solvePnP_doc_page
2021-12-24 11:55:34 +00:00
Alexander Alekhin
cdd4354256
Merge pull request #21336 from alalek:dnn_pooling_check_array_indexes
2021-12-24 08:35:11 +00:00
Alexander Alekhin
f43fec7ee6
cmake: use find_package(OpenEXR) to support OpenEXR 3+
2021-12-24 00:21:48 +00:00
Alexander Alekhin
6385511e88
dnn: add checks in pooling layer implementation
...
- to avoid out of buffer access
2021-12-24 00:15:30 +00:00
Alexander Alekhin
ed4becf007
dnn(onnx): debug dump of inputs/outputs/initializers in importer
2021-12-23 21:11:40 +00:00
Alexander Alekhin
f11ab4c569
Merge pull request #21331 from alalek:issue_21289
2021-12-23 20:09:52 +00:00
Alexander Alekhin
b12c2c76d1
Merge pull request #21330 from alalek:fix_highgui_gtk_mouse_callbacks
2021-12-23 20:09:40 +00:00
Alexander Alekhin
f5589445b9
Merge pull request #21322 from alalek:dnn_catch_errors
2021-12-23 20:09:22 +00:00
catree
032a61b197
Summarize PnP pose computation on a single separate page.
2021-12-23 19:52:14 +01:00
Alexander Alekhin
011ed380aa
Merge pull request #21323 from alalek:dnn_do_not_rebuilt_network_in_setInput
2021-12-23 15:45:28 +00:00
Alexander Alekhin
88a18c8b6a
dnn(onnx): emit error in Shape for dynamic input
2021-12-23 15:42:59 +00:00
Alexander Alekhin
51e65db715
dnn(onnx): fix Resize inputs handling
2021-12-23 15:42:59 +00:00
Alexander Alekhin
cc02fcd889
dnn: improve debug messages, add ONNX opset version
2021-12-23 15:42:59 +00:00
Alexander Alekhin
36bd2a65e3
highgui(gtk): repair scroll events
2021-12-23 13:06:44 +00:00
Alexander Alekhin
85d4e56bb1
highgui(gtk): fix onmouse event flags
2021-12-23 12:15:14 +00:00
Alexander Alekhin
381d9bafdf
imgcodecs: disable OpenEXR in runtime for 3rdparty source code
...
- builtin OpenEXR source code is outdated
- external OpenEXR distributions are allowed
2021-12-23 10:41:18 +00:00
Alexander Alekhin
c408157a4d
dnn: do not try to rebuilt network during setInput()
...
- this doesn't make sense in case of multiple inputs
2021-12-23 02:40:33 +00:00
Alexander Alekhin
6e299b582a
dnn(test): decompose 'DynamicAxes' test
2021-12-23 00:47:27 +00:00
Alexander Alekhin
b1a57c4cb2
fix 3.4 links
2021-12-22 12:38:21 +00:00
dwardor
54c180092d
Merge pull request #21114 from dwardor:patch-1
...
* Fix compile against lapack-3.10.0
Fix compilation against lapack >= 3.9.1 and 3.10.0 while not breaking older versions
OpenCVFindLAPACK.cmake & CMakeLists.txt: determine OPENCV_USE_LAPACK_PREFIX from LAPACK_VERSION
hal_internal.cpp : Only apply LAPACK_FUNC to functions whose number of inputs depends on LAPACK_FORTRAN_STR_LEN in lapack >= 3.9.1
lapack_check.cpp : remove LAPACK_FUNC which is not OK as function are not used with input parameters (so lapack.h preprocessing of "LAPACK_xxxx(...)" is not applicable with lapack >= 3.9.1
If not removed lapack_check fails so LAPACK is deactivated in build (not want we want)
use OCV_ prefix and don't use Global, instead generate OCV_LAPACK_FUNC depending on CMake Conditions
Remove CONFIG from find_package(LAPACK) and use LAPACK_GLOBAL and LAPACK_NAME to figure out if using netlib's reference LAPACK implementation and how to #define OCV_LAPACK_FUNC(f)
* Fix typos and grammar in comments
2021-12-22 12:00:00 +00:00
Alexander Alekhin
6e733b65ae
Merge pull request #21302 from alalek:issue_21299_3.4
2021-12-21 18:39:52 +00:00
Alexander Alekhin
947d610309
Merge pull request #21297 from rogday:div_fix
2021-12-21 15:48:40 +00:00
Alexander Alekhin
3e01a387ba
highgui: fix Win32 with OPENGL=ON
2021-12-21 15:44:59 +00:00
rogday
0a178a687a
fix const/x in Div
2021-12-20 19:53:37 +03:00
Alexander Alekhin
a22dd28e02
videoio: fix ffmpeg standalone build
2021-12-20 15:03:21 +00:00
Alexander Alekhin
a079acc0d9
Merge pull request #21280 from alalek:update_version_3.4.17-pre
2021-12-18 13:46:29 +00:00
Stefano Allegretti
91817bffe1
Merge pull request #21275 from stal12:CCL_improvements
...
Improve CCL with new algorithms and tests
* Improve CCL with new algorithms and tests
* Split CCL test into dedicated tests cases
2021-12-17 19:36:57 +00:00
Alexander Alekhin
49bef1cdbf
Merge pull request #21283 from rogday:flatten_fix
2021-12-17 14:27:40 +00:00
eplankin
175bcb1734
Merge pull request #21258 from eplankin:fix_threshold_to_zero_ipp_bug
...
Fixed threshold(THRESH_TOZERO) at imgproc(IPP)
* Fixed #16085 : imgproc(IPP): wrong result from threshold(THRESH_TOZERO)
* 1. Added test cases with float where all bits of mantissa equal 1, min and max float as inputs
2. Used nextafterf instead of cast to hex
* Used float value in test instead of hex and casts
* Changed input value in test
2021-12-17 13:31:37 +00:00
Smirnov Egor
fec2c7e715
fix Flatten layer
2021-12-17 16:29:56 +03:00
Alexander Alekhin
60c093f086
pre: OpenCV 3.4.17 (version++)
2021-12-17 10:05:52 +00:00
Alexander Alekhin
f071207463
Merge pull request #21277 from alalek:backport_21267
2021-12-16 18:52:23 +00:00
Maksim Shabunin
792b7e0629
(3.4) Fixed several issues found by static analysis
...
original commit: a079c2eb7c
2021-12-16 17:02:58 +00:00
Vincent Rabaud
3da17c42a4
Use NaN-safe clip function.
...
This is to prevent more NaN to int conversions like in #21111 .
2021-12-16 11:34:04 +01:00
Alexander Alekhin
f3ba88c87c
dnn(test): update ONNX conformance filters
2021-12-15 12:53:53 +00:00
Smirnov Egor
e97c7e042b
fix max_unpool missing attributes, add default value of keepdims in reducemean/max/sum, add support for keepdims=true in full reduction branch, add new padding type to Pad
2021-12-14 22:09:27 +03:00
Alexander Alekhin
35f27d0d3e
Merge pull request #21257 from alalek:imgproc_cvtcolor_lab_fix_nan
2021-12-14 16:59:07 +00:00
rogday
4827fe86bb
Merge pull request #21088 from rogday:onnx_tests
...
Onnx conformance tests
* Add ONNX conformance tests
* dnn(test): add filters for ONNX conformance tests
* add filter lists for OCV backend
* address review comments
* move test_clip_inbounds to all_denylist
* address clip issue
* avoid empty lists
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-12-14 16:58:06 +00:00
Alexander Alekhin
72c55b56f2
imgproc: catch NaNs in clip(), use table index debug check
...
- no NaN propagation guarantee
2021-12-14 15:31:51 +00:00
Alexander Alekhin
4eab85d364
Merge pull request #21251 from vrabaud:3.4_bayer
2021-12-14 15:15:07 +00:00
Vincent Rabaud
542b3e8a64
Fix harmless signed integer overflow.
...
When computing:
t1 = (bayer[1] + bayer[bayer_step] + bayer[bayer_step+2] + bayer[bayer_step*2+1])*G2Y;
there is a T (unsigned short or char) multiplied by an int which can overflow.
Then again, it is stored to t1 which is unsigned so the overflow disappears.
Keeping all unsigned is safer.
2021-12-13 23:43:49 +01:00
Alexander Alekhin
4f79eb256d
Merge pull request #21250 from alalek:videoio_msmf_update_camera_3.4
2021-12-13 22:24:33 +00:00
Alexander Alekhin
7620456486
videoio(MSMF): add queue for async ReadSample()
2021-12-13 21:02:24 +00:00
Alexander Alekhin
04020f391a
Merge pull request #21193 from alalek:imgproc_test_bitexact_cvtcolor_yuv
2021-12-10 16:11:06 +00:00
Alexander Alekhin
c4ab0c09ea
Merge pull request #21228 from alalek:issue_21198
2021-12-10 16:07:57 +00:00
Alexander Alekhin
659cf7249e
imgproc(ocl): fix resizeLN, avoid integer overflow
2021-12-09 20:30:26 +00:00
Vincent Rabaud
6b4ea68bc7
Solve Rect overflow issues.
...
Fow now, it is possible to define valid rectangle for which some
functions overflow (e.g. br(), ares() ...).
This patch fixes the intersection operator so that it works with
any rectangle.
2021-12-09 12:04:26 +01:00
Andrey Senyaev
d6891c705e
Merge pull request #21219 from asenyaev:asen/remove_distutils
...
* Replaced distutils module to sysconfig
* Fixed getting a path to python lib
2021-12-08 18:51:34 +00:00
Alexander Alekhin
65392d5e6b
cmake: fix OPENGL_LIBRARIES handling
2021-12-07 12:12:42 +00:00
Alexander Alekhin
0c0b1ec9ae
imgproc(test): add bit-exact tests for YUV cvtColor conversions
2021-12-04 04:36:57 +00:00
Alexander Alekhin
35ff9af6ce
Merge pull request #21162 from rogday:softmax_simplification
2021-12-02 17:14:48 +00:00