Alexander Alekhin
e6959055b5
core(cuda.hpp): fix GpuMatND compilation with GCC < 5
2021-02-05 22:42:56 +00:00
Namgoo Lee
7ea21c4b3c
Merge pull request #19259 from nglee:dev_gpumatnd1
...
Minimal implementation of GpuMatND
* GpuMatND - minimal implementation
* GpuMatND - createGpuMatHeader
* GpuMatND - GpuData, offset, getDevicePtr(), license
* reviews
* reviews
2021-02-05 20:30:37 +00:00
Alexander Alekhin
6ca46afa63
Merge pull request #19286 from diablodale:add-cuda-stream-constructor
2021-02-03 09:55:02 +00:00
Pavel Rojtberg
6c1a433c4c
python: also catch general c++ exceptions
...
they might be thrown from third-party code (notably Ogre in the ovis
module).
While Linux is kind enough to print them, they cause instant termination
on Windows.
Arguably, they do not origin from OpenCV itself, but still this helps
understanding what went wrong when calling an OpenCV function.
2021-02-02 21:16:01 +01:00
Alexander Alekhin
2b787eb4b8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-31 17:44:15 +00:00
Alexander Alekhin
5ab4623c2a
Merge pull request #19430 from alalek:fixup_19216
2021-01-31 17:41:24 +00:00
Alexander Alekhin
cdf73f2e05
Merge pull request #19427 from alalek:issue_19426
2021-01-31 14:24:37 +00:00
Alexander Alekhin
30bef20e22
js: fix SIMD build
2021-01-31 00:12:51 +00:00
Alexander Alekhin
c5bf15e009
build: fix cv2.cpp compilation
2021-01-30 11:32:27 +00:00
Maksim Shabunin
694fe3e7d2
core, gapi: supported build with oneTBB 2021
2021-01-29 02:38:05 +03:00
Dale Phurrough
34c3f0f495
add cuda::Stream constructor with cuda flags
2021-01-28 16:14:01 +01:00
Alexander Alekhin
37c12db366
Merge pull request #19365 from alalek:parallel_api
2021-01-27 18:12:15 +00:00
Alexander Alekhin
b73bf03bfc
core: parallel backends API
...
- allow to replace parallel_for() backend
2021-01-27 14:15:33 +00:00
Alexander Alekhin
e85b41f9be
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-25 22:42:13 +00:00
Alexander Alekhin
857f339914
Merge pull request #19385 from alalek:ocl_isOpenCLActivated_update
2021-01-25 13:54:00 +00:00
Alexander Alekhin
62b60b11bb
Merge pull request #19344 from VadimLevin:dev/vlevin/generic-sequence-conversion
2021-01-25 08:22:57 +00:00
Vadim Levin
1d3207d7c7
feat: common fixed size sequence conversion for Python bindings
2021-01-25 08:08:38 +03:00
Alexander Alekhin
37e656082b
core(ocl): update isOpenCLActivated()
...
- reuse g_isOpenCLAvailable variable instead
2021-01-24 01:25:17 +00:00
Alexander Alekhin
cd59516433
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-22 21:29:21 +00:00
Alexander Alekhin
413febf657
Merge pull request #19334 from alalek:fix_19134
2021-01-22 20:05:58 +00:00
Alexander Alekhin
6ce9bb6f7a
Merge pull request #19312 from VadimLevin:dev/vlevin/clear-msg-for-failed-overload-resolution
2021-01-18 20:14:10 +00:00
Vadim Levin
a0bdb78a99
feat: add overload resolution exception for Python bindings
2021-01-18 16:29:17 +03:00
Alexander Alekhin
212815a10d
core(ocl): fix lifetime handling of Image kernel args
2021-01-18 06:24:36 +00:00
Alexander Alekhin
d3bc563c6e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-12 18:34:33 +00:00
Vitaly Tuzov
8f653ba8de
Inlined WASM fallback intrinsics to avoid using of V_TypeTraits
2021-01-11 18:12:21 +03:00
Liangqian
e4c7fca755
Merge pull request #19098 from chargerKong:EulerAngle
...
* add to/from Euler Angles
* restruct codes
* quat: optimize implementation
* cleanup debug code
* correct spelling errors
* create QuatEnum for enum EulerAnglesType
* use for loop for test_quaternion
* drop template from isIntAngleType & add minimal error information in test_quaternion.cpp
Co-authored-by: ShanChenqi <shanchenqi@huawei.com>
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2020-12-31 10:32:12 +00:00
Alexander Alekhin
8a05850302
Merge pull request #19213 from alalek:ocl_execution_context_tests_param
2020-12-27 22:02:33 +00:00
Alexander Alekhin
ba2b331461
core(ocl): parametrize OpenCLExecutionContext tests
2020-12-24 19:33:43 +00:00
Alexander Alekhin
cd68cc1f46
Merge pull request #19195 from diablodale:win32AlignAlloc
2020-12-23 17:33:58 +00:00
Dale Phurrough
109255a730
add windows native aligned malloc + unit test case
...
* implements https://github.com/opencv/opencv/issues/19147
* CAUTION: this PR will only functions safely in the
4+ branches that already include PR 19029
* CAUTION: this PR requires thread-safe startup of the alloc.cpp
translation unit as implemented in PR 19029
2020-12-23 14:59:28 +01:00
Alexander Alekhin
15265918a7
Merge pull request #19133 from diablodale:fix19132-opencvactivated
2020-12-23 12:08:38 +00:00
Alexander Alekhin
84676fefe3
Merge tag '4.5.1'
2020-12-21 20:35:51 +00:00
Alexander Alekhin
1363496c11
release: OpenCV 4.5.1
2020-12-21 20:01:38 +00:00
Alexander Alekhin
68fb8dd873
Merge tag '3.4.13'
2020-12-21 14:55:54 +00:00
Alexander Alekhin
8869dc7762
release: OpenCV 3.4.13
2020-12-20 22:15:49 +00:00
Alexander Alekhin
6659d55a9d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-20 18:40:22 +00:00
Alexander Alekhin
dd276dbb59
Merge pull request #19176 from alalek:issue_19131
2020-12-20 16:40:28 +00:00
Alexander Alekhin
663bd73518
Merge pull request #19164 from fpetrogalli:tranform_16u
2020-12-20 16:38:59 +00:00
Francesco Petrogalli
c526705f4f
[cv::transform] Enable CV_SIMD for the 16U case on AArch64.
2020-12-20 15:58:21 +00:00
Alexander Alekhin
3359bdc464
docs(core): fix process_video_frame() code snippet
2020-12-20 02:27:46 +00:00
Vincent Rabaud
4c75b1c102
Fix comment typos.
2020-12-19 08:22:37 +01:00
Alexander Alekhin
dac298ef41
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-18 20:47:56 +00:00
Alexander Alekhin
b2ea15da35
Merge pull request #19137 from VadimLevin:dev/vlevin/safe-string-conversion
2020-12-18 11:20:50 +00:00
Alexander Alekhin
624d532000
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-17 21:05:34 +00:00
Vadim Pisarevsky
ba7dbca018
added information about the contribution & ISCAS copyright
2020-12-17 18:28:17 +08:00
Vincent Rabaud
8391a23600
Optimize calls to std::string::find() and friends for a single char.
...
The character literal overload is more efficient. More info at:
http://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html
2020-12-17 09:39:23 +01:00
Alexander Alekhin
d159417474
Merge pull request #19101 from alalek:issue_5209
2020-12-16 22:13:18 +00:00
Vadim Levin
7b0d7d0c9a
fix: conversion to string in python bindings
...
If provided `PyObject` can't be converted to string `TypeError` is
reported instead of `SytemError` without any message.
2020-12-16 15:11:58 +03:00
Dale Phurrough
bb59b81d82
remove g_isOpenCVActivated assign and clarify
2020-12-16 00:27:32 +01:00
Alexander Alekhin
7631056b8a
Merge pull request #19114 from alalek:issue_18937
2020-12-15 20:47:05 +00:00
Alexander Alekhin
c240355cc6
dnn(ocl): avoid mess FP16/FP32 in convolution layer
2020-12-15 08:51:24 +00:00
Alexander Alekhin
4b3d2c8834
dnn(ocl): fix gemm kernels with beta=0
...
- dst is not initialized, may include NaN values
- 0*NaN produces NaN
2020-12-15 00:58:43 +00:00
Alexander Alekhin
392991fa0b
core(opencl): add version check before clCreateFromGLTexture() call
2020-12-13 20:57:26 +00:00
Alexander Alekhin
de385009ae
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-09 18:09:00 +00:00
Alexander Alekhin
d2bc0e5fe0
js(wasm): use fallback on missing intrinsics in Emscripten 2.0.0+
2020-12-09 04:19:53 +00:00
Dale Phurrough
f77276311d
clarify opencl execution context doc
...
- fix opencv/opencv#18888
2020-12-08 16:08:53 +01:00
Dale Phurrough
ad94d8cc4f
Merge pull request #19029 from diablodale:fix19004-memthreadstart
...
add thread-safe startup of fastMalloc and fastFree
* add perf test core memory allocation
* fix threading in isAlignedAllocationEnabled()
* tweaks requested by maintainer
2020-12-08 10:05:14 +00:00
Alexander Alekhin
26e8048a0a
core: update handling of allocator stats type
...
- don't use OPENCV_ALLOCATOR_STATS_COUNTER_TYPE definition in non C++11 builds
- don't use with MinGW
2020-12-05 20:54:47 +00:00
Alexander Alekhin
6fdb7aee84
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-04 18:26:58 +00:00
Alexander Alekhin
e309ad8465
Merge pull request #18994 from alalek:umat_drop_unavailable_methods
2020-12-02 22:54:47 +00:00
Vadim Pisarevsky
b023fcd264
Merge pull request #18911 from chargerKong:quat
2020-12-02 19:14:47 +00:00
Alexander Alekhin
e958600f32
Merge pull request #18986 from alalek:fix_ipp_17453_2
2020-12-02 19:09:24 +00:00
Alexander Alekhin
484251c52b
Merge pull request #18831 from rjiejie:master-opt@pipeline
2020-12-02 19:07:38 +00:00
Kong Liangqian
8e32566583
Add adding and subtraction operations between a number and a quaternion;
...
fix a typo;
Add documentation of quaternion operators;
Restrict the type of scalar: the same as quaternion;
2020-12-03 01:38:15 +08:00
Alexander Alekhin
6f8120cb3a
core(UMat): drop unavailable methods
2020-12-02 15:02:43 +00:00
Vadim Pisarevsky
7d7d907de7
Merge pull request #18228 from joy2myself:rvv
2020-12-02 13:27:35 +00:00
Alexander Alekhin
d35e2f5339
core(ipp): workaround getIppTopFeatures() value mismatch
2020-12-02 11:33:55 +00:00
Zhangyin
673e4e20f0
Added RISC-V backend of universal intrinsics
2020-12-02 14:25:03 +08:00
Alexander Alekhin
91ce6ef190
core(ipp): disable SSE4.2 code path in countNonZero()
2020-12-01 14:01:42 +00:00
Alexander Alekhin
2155296a13
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-27 14:08:06 +00:00
Alexander Alekhin
5c987e4c75
Merge pull request #18924 from alalek:4.x-xcode12
...
(4.x) build: Xcode 12 support
* build: xcode 12 support, cmake fixes
* ts: eliminate clang 11 warnigns
* 3rdparty: clang 11 warnings
* features2d: eliminate build warnings
* test: warnings
* gapi: warnings from 18928
2020-11-26 22:56:59 +00:00
Alexander Alekhin
8c5b3c4150
Merge pull request #17077 from i386x:check-negative-values
2020-11-26 15:07:58 +00:00
Dale Phurrough
c08e38acd0
fix missing addref() in ocl::Context::create(str)
...
- fix https://github.com/opencv/opencv/issues/18906
- unable to add related test cases as there is
no public access to Context:Impl refcounts
2020-11-25 01:53:41 +01:00
Or Avital
5a3a915a9b
Remove unnecessary condition (will never reach)
2020-11-22 14:19:20 +02:00
Jiri Kucera
ce31c9c448
core(matrix): Negative values checks
...
Add checks that prevents indexing an array by negative values.
2020-11-20 22:51:06 +01:00
Alexander Alekhin
0105f8fa38
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-20 20:32:00 +00:00
Alexander Alekhin
049b50d9c0
Merge pull request #18858 from fegorsch:improve-persistence-doc
2020-11-20 11:12:25 +00:00
Felix Gorschlüter
c996fd1c06
Small improvements to persistence-API doc
2020-11-20 10:49:51 +03:00
chargerKong
11cfa64a10
Merge pull request #18335 from chargerKong:master
...
Ordinary quaternion
* version 1.0
* add assumeUnit;
add UnitTest;
check boundary value;
fix the func using method: func(obj);
fix 4x4;
add rodrigues vector transformation;
fix mat to quat;
* fix blank and tab
* fix blank and tab
modify test;cpp to hpp
* mainly improve comment;
add rvec2Quat;fix toRodrigues;
fix throw to CV_Error
* fix bug of quatd * int;
combine hpp and cpp;
fix << overload error in win system;
modify include in test file;
* move implementation to quaternion.ini.hpp;
change some constructor to createFrom* function;
change Rodrigues vector to rotation vector;
change the matexpr to mat of 3x3 return type;
improve comments;
* try fix log function error in win
* add enums for assumeUnit;
improve docs;
add using std::cos funcs
* remove using std::* from header;
add std::* in affine.hpp,warpers_inl.hpp;
* quat: coding style
* quat: AssumeType => QuatAssumeType
2020-11-19 16:59:33 +00:00
Jojo R
12b8d542b7
norm.cpp(normL2Sqr_): improve performance of pipeline
...
The most of target machine use one type cpu unit resource
to execute some one type of instruction, e.g.
all vx_load API use load/store cpu unit,
and v_muladd API use mul/mula cpu unit, we interleave
vx_load and v_muladd to improve performance on most targets like
RISCV or ARM.
2020-11-19 09:49:49 +08:00
Alexander Alekhin
328883b6ea
Merge pull request #18675 from sturkmen72:update-documentation
2020-11-18 16:50:35 +00:00
Suleyman TURKMEN
cc7f17f011
update documentation
2020-11-18 17:07:04 +03:00
Alexander Alekhin
2687a2b6dc
pre: OpenCV 4.5.1 (version++)
2020-11-18 11:04:54 +00:00
Alexander Alekhin
ce8027c6fb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-17 21:56:26 +00:00
Alexander Alekhin
9485113923
pre: OpenCV 3.4.13 (version++)
2020-11-17 21:50:30 +00:00
Alexander Alekhin
2b558a3787
core: fix F16C compilation check
2020-11-17 12:22:49 +00:00
Alexander Alekhin
14aa8affe5
Merge pull request #18811 from alalek:objc_headers_import
2020-11-16 09:52:26 +00:00
Alexander Alekhin
cfbdbffcad
objc: rework headers import
...
- 'AdditionalImports' can be removed from misc/objc/gen_dict.json
- avoid using of legacy 'opencv.hpp'
2020-11-15 05:24:01 +00:00
Alexander Alekhin
2e7ef6f4e8
objc: fix std::string handling
...
- arg types may be passed as string instead of std::string
2020-11-14 20:01:58 +00:00
Maksim Shabunin
1b0dca9c2c
Fix issues found by static analysis
2020-11-11 13:59:01 +03:00
Alexander Alekhin
7459613623
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-05 18:59:10 +00:00
Alexander Alekhin
716450ceb5
Merge pull request #18158 from legrosbuffle:3.4-vectorize-dft-radix
2020-10-30 22:05:50 +00:00
Alexander Alekhin
1fe276d041
core: move inline code from mat.inl.hpp (OpenCV 4.x additions)
...
base commit: aac7c5465b
2020-10-26 22:58:30 +00:00
Alexander Alekhin
f345ed564a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-26 20:07:47 +00:00
Alexander Alekhin
aac7c5465b
core: move inline code from mat.inl.hpp
2020-10-21 23:06:09 +00:00
Alexander Alekhin
e8058b9fdb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-21 15:55:23 +00:00
masa-iwm
5ac0712cf1
Merge pull request #18593 from masa-iwm:master
...
Add support thread-local directx (OpenCL interop) initialization
* support thread-local directx (OpenCL interop) initialization
* reflect reviews
* Remove verbose function prototype declarations
* Countermeasures for VC warnings. (declaration of 'platform' hides class member)
* core(directx): remove internal stuff from public headers
2020-10-18 21:22:06 +00:00
Kun Liang
c82417697a
Merge pull request #18068 from lionkunonly:gsoc_2020_simd
...
[GSoC] OpenCV.js: WASM SIMD optimization 2.0
* gsoc_2020_simd Add perf test for filter2d
* add perf test for kernel scharr and kernel gaussianBlur
* add perf test for blur, medianBlur, erode, dilate
* fix the errors for the opencv PR robot
fix the trailing whitespace.
* add perf tests for kernel remap, warpAffine, warpPersepective, pyrDown
* fix a bug in modules/js/perf/perf_imgproc/perf_remap.js
* add function smoothBorder in helpfun.js and remove replicated function in perf test of warpAffine and warpPrespective
* fix the trailing white space issues
* add OpenCV.js loader
* Implement the Loader with help of WebAssembly Feature Detection, remove trailing whitespaces
* modify the explantion for loader in js_setup.markdown and fix bug in loader.js
2020-10-18 20:30:36 +00:00
Alexander Alekhin
b5717f82a0
core: fix __clang_major__ typo regression
2020-10-16 15:35:51 +00:00
Alexander Alekhin
57c894f44d
Merge pull request #18566 from mtfrctl:mat-objc-swift-data-pointer
2020-10-14 16:59:44 +00:00