Liangqian
0aca3fb5af
Merge pull request #19026 from chargerKong:dualquat
...
Dual quaternion
* create dual quaternion;
basic operations, functions(exp,log,norm,inv), to/from mat, sclerp.
* add dqb, dqs, gdqb, to/from affine3;
change algorithm of norm, inv, getTranslation, createFromPitch, normalize;
change type translation to Vec3;
comment improve;
* try fix warning: unreferenced local function
* change exp calculation;
add func(obj) operations;
* Change the algorithm of log function;
add assumeUnit in getRotation;
remove dqs;
change std::vector to InputArray
* fix warning: doxygen and Vec<double, 0>
* fix warning: doxygen and Vec<double, 0>
* add inputarray param for gdqb
* change int to size_t
* win cl warning fix
* replace size_t by int at using Mat.at() function
* replace double by float
* interpolation fix
* replace (i, 0) to (i)
* core(quat): exclude ABI, test_dualquaternion=>test_quaternion.cpp
Co-authored-by: arsaratovtsev <arsaratovtsev@intel.com>
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-02-17 17:05:08 +00:00
Alexander Alekhin
6d3502833f
core: include version.hpp in cvdef.h, fix precomp.hpp usage
2021-02-16 11:10:45 +00:00
Alexander Alekhin
cc73c36e32
core(parallel): plugins support
2021-02-15 17:07:36 +00:00
Alexander Alekhin
e5d78960c6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-12 21:34:49 +00:00
Francesco Petrogalli
6ee23c9b85
Merge pull request #19486 from fpetrogalli:dotprod_fast-3.4
...
* [hal][neon] Optimize the v_dotprod_fast intrinsics for aarch64.
On Armv8 in AArch64 execution mode, we can skip the sequence
v<op>_<ty>(vget_high_<ty>(x), vget_high_<ty>(y))
in favour of
v<op>_high_<ty>(x, y)
This has better changes for recent compilers to use less data movement
operations and better register allocation. See for example:
https://godbolt.org/z/bPq7vd
* [hal][neon] Fix build failure on armv7.
* [hal][neon] Address review comments in PR.
PR: https://github.com/opencv/opencv/pull/19486
* [hal][neon] Define macro to check for the AArch64 execution state of Armv8.
* [hal][neon] Fix macro definition for AArch64.
The fix is needed to prevent warnings when building for Armv7.
2021-02-11 13:24:09 +00:00
Alexander Alekhin
6b474c4051
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-06 00:44:11 +00:00
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
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
Vadim Levin
1d3207d7c7
feat: common fixed size sequence conversion for Python bindings
2021-01-25 08:08:38 +03: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
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
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
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
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
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
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
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
Vadim Pisarevsky
b023fcd264
Merge pull request #18911 from chargerKong:quat
2020-12-02 19:14:47 +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
Zhangyin
673e4e20f0
Added RISC-V backend of universal intrinsics
2020-12-02 14:25:03 +08: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
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
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
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
78476a0fe2
Merge tag '4.5.0'
2020-10-11 21:29:42 +00:00
Alexander Alekhin
d5fd2f0155
release: OpenCV 4.5.0
2020-10-11 21:26:07 +00:00
Alexander Alekhin
7ed82aea38
Merge tag '3.4.12'
2020-10-10 20:18:09 +00:00
Alexander Alekhin
dc15187f1b
release: OpenCV 3.4.12
2020-10-10 20:14:29 +00:00
Alexander Alekhin
39d5e14c1f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-07 09:09:37 +00:00
Alexander Alekhin
d34717d8c9
core: allow to disable including of unsupported/Eigen/CXX11/Tensor
...
- define OPENCV_DISABLE_EIGEN_TENSOR_SUPPORT
2020-10-04 15:14:46 +00:00
Alexander Alekhin
8cbd20b380
eliminate build warnings
2020-09-29 21:32:16 +00:00
Alexander Alekhin
295afd5882
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-28 21:33:29 +00:00
Alexander Alekhin
233030e417
core: force check for string literals are used in the message
2020-09-27 06:37:44 +00:00
Odianosen Ejale
862fc06b6f
Fixed and updated OpenCL-VA interoperability
2020-09-25 16:11:50 +03:00
Alexander Alekhin
a12ceb04bb
pre: OpenCV 4.5.0 (version++)
2020-09-08 06:08:58 +00:00
Alexander Alekhin
50ff40d684
pre: OpenCV 3.4.12 (version++)
2020-09-06 22:26:32 +00:00
Alexander Alekhin
2129c72bc0
core(OpenCL): thread-local OpenCL execution context
2020-09-02 05:04:20 +00:00
Alexander Alekhin
fa25faa2d2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-06 14:15:52 +00:00
Alexander Alekhin
422f802ec9
Merge pull request #17922 from joy2myself:build_riscv_with_c++_intrin
2020-08-04 09:45:32 +00:00
Gabriel
96ce65f021
Document PatchNANs input type
2020-08-03 22:57:18 -03:00
Zhangyin
ff4c3873f2
Added cmake toolchain for RISC-V with clang.
...
- Added cross compile cmake file for target riscv64-clang
- Extended cmake for RISC-V and added instruction checks
- Created intrin_rvv.hpp with C++ version universal intrinsics
2020-08-03 20:18:56 +08:00
Alexander Alekhin
d8b2f11cc8
Merge tag '4.4.0'
2020-07-17 23:08:18 +00:00
Alexander Alekhin
c3bb57afea
release: OpenCV 4.4.0
2020-07-17 22:43:40 +00:00
Alexander Alekhin
ffe0d50447
core(persistence): fix "use after free" bug
...
- do not store user-controlled "FileStorage" pointer
- store FileStorage::Impl pointer instead
2020-07-17 21:39:06 +00:00
Alexander Alekhin
284d26da05
Merge tag '3.4.11'
2020-07-17 02:06:19 +00:00
Alexander Alekhin
e8d4259f9a
release: OpenCV 3.4.11
2020-07-17 00:34:46 +00:00
Alexander Alekhin
8bf1b9a422
cmake(cuda): repair ccbin, re-implement execute_process() cache
...
- preventive fix for arch "11.0" (CUDA_ARCH_BIN_OR_PTX_10 bug)
- new var: OPENCV_CUDA_DETECTION_NVCC_FLAGS
- new var: OPENCV_CMAKE_CUDA_DEBUG
2020-07-08 07:34:17 +00:00
Alexander Alekhin
e0f9eac521
cmake: backport CUDA scripts
2020-07-08 07:33:54 +00:00
Alexander Alekhin
524a2fffe9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-06 23:05:04 +00:00
Alexander Alekhin
eb6678ebef
Merge pull request #17699 from alalek:build_core_cuda
...
* core(cuda): fix build
- MSVS 19.25.28612.0
- CUDA release 11.0, V11.0.167
* cmake(cuda): backport workaround for CUDA 11
* cmake(cuda): call CUDA_BUILD_CLEAN_TARGET() on finalize
* cmake(cuda): use CMAKE_SUPPRESS_REGENERATION with MSVS
2020-07-06 22:58:17 +00:00
Alexander Alekhin
a711e2aa41
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-29 21:19:09 +00:00
dev-tronifier
9b727fa1f3
Increased portability of CV_Func
2020-06-26 19:45:58 +00:00
Alexander Alekhin
e3d502310f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-19 07:33:50 +00:00
Yuriy Obukh
456e88a8a4
fix VS Windows build with eigen. https://github.com/opencv/opencv/issues/17548
2020-06-18 14:31:11 +03:00
Namgoo Lee
2043e06102
cuda optflow tvl1 : async safety
...
also modify cuda canny to use createTextureObjectPitch2D, etc.
2020-06-17 01:04:22 +09:00
Alexander Alekhin
0cbaaba4b1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-12 22:20:50 +00:00
Rasmus
781fbde449
Merge pull request #17368 from themightyoarfish:cv2eigen-doc
...
* Add documentation about usage of cv2eigen functions in eigen.hpp
* Fixed Doxygen syntax.
Co-authored-by: Alexander Smorkalov <smorkalov.a.m@gmail.com>
2020-06-10 07:53:18 +00:00
Alexander Alekhin
5f3012fc9a
pre: OpenCV 4.4.0 (version++)
2020-06-09 02:27:13 +00:00