Anastasia M
551d4a8ec1
Merge pull request #19477 from LupusSanctus:am/eltwice_vec
...
* Aligned OpenCV DNN and TF sum op behaviour
Support Mat (shape: [1, m, k, n] ) + Vec (shape: [1, 1, 1, n]) operation
by vec to mat expansion
* Added code corrections: backend, minor refactoring
2021-03-23 22:16:09 +00:00
Jonathan Deakin
29a289dfa1
Add v_expand for AArch64, fuse vmovl+vget_high into vmovl_high
2021-03-23 15:06:41 +00:00
Alexander Alekhin
bdd2b57e5d
Merge pull request #19757 from alalek:js_setLogLevel
2021-03-21 17:37:05 +00:00
Alexander Alekhin
a97f6f8058
js: support setLogLevel() / getLogLevel() calls
2021-03-20 18:14:10 +00:00
Liubov Batanina
c0dd82fb53
Merge pull request #19632 from l-bat:lb/ie_arm_target
...
Added OpenVINO ARM target
* Added IE ARM target
* Added OpenVINO ARM target
* Delete ARM target
* Detect ARM platform
* Changed device name in ArmPlugin
* Change ARM detection
2021-03-20 11:20:02 +00:00
Alexander Alekhin
1211a8b9cd
Merge pull request #19745 from alalek:issue_19729
2021-03-19 12:52:34 +00:00
Alexander Alekhin
f680505086
features2d(mser): chi_table.h notes
2021-03-18 21:30:12 +00:00
Alexander Alekhin
7664e6d090
ml: use OpenCV license header for logistic regression
2021-03-17 20:29:52 +00:00
Ziachnix
960f501cc1
Merge pull request #19284 from Ziachnix:feature/js-qr-code-detector
...
Add QRCodeDetector to JavaScript Build
* ADD: js support for qrCodeDetector
- cherry picked commit to solve rebase error
* CHG. Revert haarcascade path
* FIX: Tests without images
* ADD: decodeCurved
* js(docs): don't require OPENCV_TEST_DATA_PATH
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-03-13 12:52:44 +00:00
Alexander Alekhin
7a8e171691
Merge pull request #19720 from alalek:ocl_test_skip_spir_amd
2021-03-13 12:48:20 +00:00
Alexander Alekhin
7ca9740da5
Merge pull request #19718 from alalek:backport_19683
2021-03-13 12:46:24 +00:00
Alexander Alekhin
68fae94cbb
Merge pull request #19717 from danbey:bad_value_param_should_be_passed_by_reference
2021-03-13 12:45:55 +00:00
Alexander Alekhin
6da5c7c1d0
Merge pull request #19716 from l-bat:lb/fix_resize
2021-03-13 12:45:07 +00:00
Alexander Alekhin
87e607a19b
core(ocl): skip SPIR test on AMD devices if problem detected
2021-03-13 06:12:52 +00:00
Dale Phurrough
cbe236652b
noexcept def construct Mat, UMat, Mat_, MatSize, MatStep
...
original commit: 1b0f781b7c
2021-03-12 20:26:32 +00:00
Dan Ben Yosef
d4d805cb3e
Avoiding copy by passing param by reference
...
It is best to pass bad_value_ param by reference to avoid copy.
2021-03-12 14:17:11 -05:00
Liubov Batanina
8d29a902e4
Added ngraph::op::v6::MVN
2021-03-12 21:02:03 +03:00
Alexander Alekhin
f136adcad5
Merge pull request #19715 from seiko2plus:issue_19698
2021-03-12 09:45:19 +00:00
Liubov Batanina
95ab9468c1
Added ngraph::op::v4::Interpolation
2021-03-12 12:00:59 +03:00
Sayed Adel
f8181fbef8
core:ppc64 fix detecting CPU features when optimization is off
2021-03-12 02:02:31 +00:00
Xinguang Bian
b995de4ff3
Merge pull request #19253 from mightbxg:bugfix_PnPRansac
...
* fix unexpected Exception in solvePnPRansac caused by input points
* calib3d: solvePnPRansac - keep minimal changes to handle DLT 6 points requirement
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-03-12 00:53:06 +03:00
Dan Ben Yosef
63048812c7
Init params (StereoSGBMParams) in StereoSGBMImpl constructor initialization list
...
To improve preformence it is better to init the params (StereoSGBMParams) in the
initialization list.
2021-03-10 13:05:35 -05:00
Alexander Alekhin
e4692ac079
Merge pull request #19613 from WeiChungChang:NMS_refine
2021-03-10 17:36:57 +00:00
Qoo
47337e2196
boost NMS performance
2021-03-10 15:59:26 +00:00
Sayed Adel
84fcc4ab9b
core:ppc64 fix the build with the newer versions of Eigen on IBM/Power
...
It also fixes the build when universal intrinsics is disabled
via `-DDCV_ENABLE_INTRINSICS=OFF`.
2021-03-09 19:20:18 +02:00
Dan Ben-Yosef
31f66766b7
Merge pull request #19685 from danbey:setting_stereoBMImpl_in_init_list
...
Init params (StereoBMParams) in StereoBMImpl constructor initialization list
* Init StereoBMImpl in initialization list
To improve preformence it is better to init the params (StereoBMImpl) in the
initialization list.
* coding style
* drop useless copy/move ctor
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-03-07 20:06:08 +03:00
Alexander Alekhin
85009800b3
videoio(docs): fixes
2021-03-07 04:26:49 +00:00
Vitaly Tuzov
04a9ff88d8
Merge pull request #19622 from terfendail:ref_doc
...
* Updated cpp reference implementations for a few intrinsics to address wide universal intrinsics as well
* Updated cpp reference implementations for a few more universal intrinsics
2021-03-06 17:22:21 +00:00
Alexander Alekhin
dc24663e8d
Merge pull request #19641 from LupusSanctus:am/tf_reshape
2021-03-06 17:21:34 +00:00
Alexander Alekhin
358878caf7
Merge pull request #19671 from SamFC10:sam-darknet
2021-03-05 15:12:21 +00:00
Mradul Agrawal
640f188ca2
Merge pull request #19583 from theroyalpekka:patch-1
...
* Update polynom_solver.cpp
This pull request is in the response to Issue #19526 . I have fixed the problem with the cube root calculation of 2*R. The Issue was in the usage of pow function with negative values of R, but if it is calculated for only positive values of R then changing x0 according to the parity of R, the Issue is resolved. Kindly consider it, Thanks!
* add cv::cubeRoot(double)
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-03-05 13:55:52 +00:00
Alexander Alekhin
a1e2c4f338
Merge pull request #19655 from raaldrid:EXR_rw_alpha_support_16115
2021-03-05 16:54:31 +03:00
Alexander Alekhin
f821530eb0
Merge pull request #19677 from APrigarina:detection_fix
2021-03-05 08:40:27 +00:00
Anastasia Murzova
7894cd3c73
Aligned TF Reshape layer behaviour
2021-03-05 01:01:37 +03:00
APrigarina
125cc79c17
fix false positive detection
2021-03-04 19:20:31 +03:00
Alexander Alekhin
2a808aeec0
Merge pull request #19674 from l-bat:lb/fix_ie_tests
2021-03-04 14:52:20 +00:00
Liubov Batanina
94533e12eb
Determine layout
2021-03-04 13:05:01 +03:00
SamFC10
a42d4da003
Added Spatial Attention Module in Darknet Importer
2021-03-03 22:42:47 +05:30
Alexander Alekhin
cbfd38bd41
core: rework code locality
...
- to reduce binaries size of FFmpeg Windows wrapper
- MinGW linker doesn't support -ffunction-sections (used for FFmpeg Windows wrapper)
- move code to improve locality with its used dependencies
- move UMat::dot() to matmul.dispatch.cpp (Mat::dot() is already there)
- move UMat::inv() to lapack.cpp
- move UMat::mul() to arithm.cpp
- move UMat:eye() to matrix_operations.cpp (near setIdentity() implementation)
- move normalize(): convert_scale.cpp => norm.cpp
- move convertAndUnrollScalar(): arithm.cpp => copy.cpp
- move scalarToRawData(): array.cpp => copy.cpp
- move transpose(): matrix_operations.cpp => matrix_transform.cpp
- move flip(), rotate(): copy.cpp => matrix_transform.cpp (rotate90 uses flip and transpose)
- add 'OPENCV_CORE_EXCLUDE_C_API' CMake variable to exclude compilation of C-API functions from the core module
- matrix_wrap.cpp: add compile-time checks for CUDA/OpenGL calls
- the steps above allow to reduce FFmpeg wrapper size for ~1.5Mb (initial size of OpenCV part is about 3Mb)
backport is done to improve merge experience (less conflicts)
backport of commit: 65eb946756
2021-03-02 23:24:28 +00:00
Alexander Alekhin
a123c48d4d
pre: OpenCV 3.4.14 (version++)
2021-03-02 20:47:29 +00:00
Alexander Alekhin
1c88e1fd19
Merge pull request #19661 from alalek:ffmpeg_fixes_3.4
...
* videoio(ffmpeg): eliminate MSVC build warnings
* videoio(ffmpeg): update initialization code
- repair FFmpeg logger settings on each .open() call
2021-03-02 20:41:05 +00:00
Rachel A
cc22a73d0f
EXR alpha support for 4 channel reading and writing. Issue https://github.com/opencv/opencv/issues/16115 .
2021-03-02 11:49:56 -08:00
SamFC10
96947c30c0
Added exp layer
...
backport of commit: 6111935835
partial backport of commit: dd5976162b
2021-02-28 19:59:40 +00:00
Alexander Alekhin
19f1bac18c
Merge pull request #19603 from federicohml:fix-ub-copy-make-const-border-8u
2021-02-27 17:32:42 +00:00
Alexander Alekhin
b3b80f85fe
Merge pull request #19636 from LaurentBerger:blendlinear_py
2021-02-27 17:31:59 +00:00
Federico Bolelli
9695165877
Merge pull request #19631 from prittt:sota-ccl
...
* Add Spaghetti algorithm for CCL
* Add stat tests for new and old algorithms
* Switch license header to short version
2021-02-27 17:27:24 +00:00
LaurentBerger
84080c12fd
python binding blendLinear
2021-02-27 16:47:35 +00:00
Federico Martinez
773262bc09
Fix UB in CopyMakeConstBoder_8u
...
Caused by overflow of arithmetic operators conversion rank
2021-02-26 19:15:50 +00:00
Alexander Alekhin
fadb25baf8
imgproc(warpAffine): avoid buffer indexes overflow in SIMD code
2021-02-25 20:16:50 +00:00
Maksim Shabunin
b2321576bc
Fixed several issues found by static analysis
2021-02-25 15:44:15 +03:00
Alexander Alekhin
67b6ef4c2a
Merge pull request #19503 from komakai:fix-android-putget
2021-02-24 21:07:13 +00:00
Alexander Alekhin
7ffc4b57aa
Merge pull request #19535 from alalek:issue_18897
2021-02-23 22:42:51 +00:00
WeiChungChang
d4d12164aa
Merge pull request #19529 from WeiChungChang:3.4
...
* improve map allocation check
* fix accoring to CR
2021-02-23 21:09:55 +00:00
Alexander Alekhin
86cb435adf
dnn: fix build (nullptr issue)
2021-02-23 03:31:29 +00:00
Alexander Alekhin
513f5a8869
Merge pull request #19536 from WeiChungChang:ReduceMemory
2021-02-22 20:04:11 +00:00
WeiChungChang
f6bc4fd4c6
Merge pull request #19552 from WeiChungChang:partialSort
...
apply partial sort to save computations
* apply partial sort
* fix typo
* fix accroding to CR
2021-02-22 19:44:00 +03:00
Alexander Alekhin
309e1e2b1d
core(InputArray): replace STD_ARRAY to MATX
...
- remove duplication kind
2021-02-21 19:12:21 +00:00
Sergey Krivohatskiy
af13f61a43
Merge pull request #19580 from SergeyKrivohatskiy:patch-1
...
* Fixed OCL implementation of pyrlk
If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.
* fixed compilation warning (size_t to int)
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
2021-02-21 15:57:18 +00:00
Dale Phurrough
4badf640bf
add noexcept to default constructors of cv::ocl
...
- follows iso c++ guideline C.44
- enables default compiler-created constructors to
also be noexcept
original commit: 77e26a7db3
- handled KernelArg, Image2D
2021-02-20 16:20:25 +00:00
Alexander Alekhin
8f6ba5a089
Merge pull request #19541 from alalek:core_includes
2021-02-19 11:03:31 +00:00
Giles Payne
5cf08b0722
Fix/optimize Android put/get functions
2021-02-19 17:10:11 +09:00
Alexander Alekhin
0421c3991d
Merge pull request #19534 from tomoaki0705:fixCudaFiltersRace
2021-02-18 19:41:21 +00:00
Alexander Alekhin
8d21c84e7d
Merge pull request #19474 from aryanshomray:darknet_tanh
2021-02-17 17:10:44 +00:00
Aryansh Omray
601851cc7e
TanH darknet and test
2021-02-17 18:49:52 +05:30
Matt Alvarado
0a7a54f312
Merge pull request #19498 from mattalvarado:fix_findcirclesgrid
...
* Properly handle empty centers in findCirclesGrid
* Address alalek comments. Add unit test to validate bugfix
* fix build warnings, remove unrelated comment
2021-02-16 16:18:43 +00:00
Alexander Alekhin
5b16b190c1
Merge pull request #19543 from alalek:hotfix_19439
2021-02-16 16:05:09 +00:00
Alexander Alekhin
0885a79c28
imgcodecs(test): don't include png.h
2021-02-16 13:26:51 +00:00
Alexander Alekhin
6d3502833f
core: include version.hpp in cvdef.h, fix precomp.hpp usage
2021-02-16 11:10:45 +00:00
Qoo
bc8727786b
save allocation of memory for fake image
2021-02-15 20:14:07 -05:00
Alexander Alekhin
5a06d679cf
Merge pull request #19532 from amirtu:OCV-166_getDefaultName_overload
2021-02-15 15:33:54 +00:00
Alexander Alekhin
76cc034df2
Merge pull request #19519 from alalek:issue_19485
2021-02-15 15:15:27 +00:00
amir.tulegenov
cbb230fdfc
fix getDefaultName()
2021-02-15 19:21:53 +06:00
Tomoaki Teshima
5d1540f4fc
remove danger race condition
2021-02-15 21:01:41 +09:00
Zhuo Zhang
743099f9f9
Merge pull request #19521 from zchrissirhcz:3.4-fix-core-module-android-arm64-build
...
* fix core module android arm64 build
* fix core module android build when neon is off
When building for Android ARM platform, cmake with
`-D CV_DISABLE_OPTIMIZATION=ON`, the expected behavior is
not using ARM NEON, using naive computation instead.
This commit fix the un-expected compile error for neon intrinsincs.
2021-02-14 21:37:11 +03:00
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
2021-02-13 18:37:30 +00:00
Qoo
c909693d45
refine
2021-02-12 20:53:09 -05:00
Zhuo Zhang
84a290097b
fix link order: put zlib after png/tiff/openexr
...
Previous link dependency: imgcodecs --> zlib --> libpng
this can generate imgcodecs shared lib, until Visual Studio integrated
with vcpkg, which will additionally specify LIBPATH, pointing to vcpkg
installed zlib (if any), which links the wrong zlib.
Fixed link dependency: imgcodecs --> libpng --> zlib
in this fixed case, symbols in zlib referenced in libpng will be found
in the build-from-source static zlib, instead of the vcpkg one.
related discussion:
- https://github.com/microsoft/vcpkg/issues/16165
- https://github.com/opencv/opencv/issues/17051
- https://github.com/opencv/opencv/issues/10576
MSVC linking order reference pages:
- https://docs.microsoft.com/en-us/cpp/build/reference/link-input-files?view=msvc-160
for link order
- https://docs.microsoft.com/en-us/cpp/build/reference/linking?view=msvc-160
LIB environment variable, for library file searching
- https://docs.microsoft.com/en-us/cpp/build/reference/libpath-additional-libpath?view=msvc-160
LIBPATH option, for library file searching
2021-02-12 22:19:35 +08: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
93783df42a
Merge pull request #19439 from raaldrid:Exif_support_for_PNG_issue_16579
2021-02-10 19:35:31 +00:00
Alexander Alekhin
7079e7ea5e
Merge pull request #19480 from vrabaud:3.4
2021-02-09 22:48:59 +00:00
Rachel A
650836d700
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
2021-02-09 10:35:27 -08:00
Alexander Smorkalov
3b9aebee11
Not not test stitiching with SURF, if NONFREE is disabled
2021-02-09 16:54:06 +03:00
Vincent Rabaud
847b16fb76
Disable thread sanitization when CV_USE_GLOBAL_WORKERS_COND_VAR is not set.
...
This fixes #19463
2021-02-09 14:12:39 +01:00
Polina Smolnikova
0be18f5cb0
Merge pull request #19407 from rayonnant14:issue_19363
...
QRCodeDetector::decodeMulti() fixed invalid usage fixedType()
* fixed invalid usage fixedType()
changed default barcode type to CV_8UC1
added tests
added assert in case multi channel straight barcode input
* deleted extra wrap into OutputArray
* fix warnings
* objdetect(qr): remove unnecessary checks
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-02-05 21:24:27 +00:00
Alexander Alekhin
4f08bb5046
Merge pull request #19428 from alalek:dnn_drop_misbehaved_clamp
2021-02-04 11:57:19 +00:00
Jebastin Nadar
09d2ca17cf
Merge pull request #19449 from SamFC10:tf-leakyrelu
...
* add LeakyRelu to tf-importer
* fix whitespace error
* added test for leakyrelu
2021-02-04 08:50:08 +00:00
Alexander Alekhin
83aa711346
dnn: rename clamp() => normalize_axis()
2021-02-04 08:13:55 +00:00
Alexander Alekhin
863ecded30
Merge pull request #19440 from paroj:pyexcept
2021-02-03 11:08:24 +00:00
Alexander Alekhin
0a86ddc36c
Merge pull request #19435 from l-bat:lb/onnx_normalize
2021-02-03 09:16:06 +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 Smorkalov
0016c25b58
Guard non-free usage in stitching as contrib can be built without it.
2021-02-02 13:24:59 +03:00
Liubov Batanina
68eb54dc13
Added ONNX NormalizeL2 subgraph
2021-02-01 12:44:48 +03:00
Liangda-w
b08d67c4e1
Merge pull request #19419 from Liangda-w:patch-1
...
* Fix error in documentation for RGB->HSV convertion
* Update colors.markdown
2021-02-01 09:17:54 +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
b9dfffc237
Merge pull request #19057 from sl-sergei:changes_for_cuda_1d
2021-01-30 11:39:43 +00:00
Alexander Alekhin
c5bf15e009
build: fix cv2.cpp compilation
2021-01-30 11:32:27 +00:00
Sergey Slashchinin
e2949c7d0a
Align 3.4 branch with master
2021-01-29 23:48:08 +03:00
Alexander Alekhin
ca9cbab532
Merge pull request #19403 from diablodale:fix_19402_python_test_filter_34
2021-01-26 19:23:12 +00:00
Dale Phurrough
5c70a2015f
fix python test runner wildcard handling
...
* fix opencv/opencv#19402
2021-01-26 19:05:40 +01:00
Alexander Alekhin
573812d0ff
Merge pull request #19373 from l-bat:lb/tf_matmul_shared
2021-01-25 22:08:24 +00:00
Liubov Batanina
c12930cdde
Merge pull request #19372 from l-bat:lb/onnx_pads_calc
...
* Fixed bug with constant Div
* Supported constant mul and div for inputs with different shapes
2021-01-25 22:07:50 +00:00
Alexander Alekhin
857f339914
Merge pull request #19385 from alalek:ocl_isOpenCLActivated_update
2021-01-25 13:54:00 +00:00
Alexander Alekhin
b1ffe7a153
Merge pull request #19390 from tomoaki0705:fixCudaLegacyCalib3d
2021-01-25 13:32:43 +00:00
Alexander Alekhin
62b60b11bb
Merge pull request #19344 from VadimLevin:dev/vlevin/generic-sequence-conversion
2021-01-25 08:22:57 +00:00
Tomoaki Teshima
96e0902f39
fix peaky test failure
...
* follow the review comment
2021-01-25 17:14:37 +09:00
Vadim Levin
1d3207d7c7
feat: common fixed size sequence conversion for Python bindings
2021-01-25 08:08:38 +03:00
Alexander Alekhin
fb0abdeb4f
Merge pull request #19383 from tomoaki0705:fixWrongIndex
2021-01-24 15:23:34 +00:00
Tomoaki Teshima
3cfe7b9af9
fix wrong index
2021-01-24 20:29:52 +09:00
Alexander Alekhin
37e656082b
core(ocl): update isOpenCLActivated()
...
- reuse g_isOpenCLAvailable variable instead
2021-01-24 01:25:17 +00:00
Christoph Rackwitz
0c0cf8b19f
highgui: remove gutter in window_w32
2021-01-23 16:01:07 +01:00
Alexander Alekhin
413febf657
Merge pull request #19334 from alalek:fix_19134
2021-01-22 20:05:58 +00:00
Liubov Batanina
38a49f92ab
Added shared weights for MatMul
2021-01-22 16:47:02 +03:00
Maksim Shabunin
f65d75f5c8
Updated more links to forum.opencv.org
2021-01-19 21:55:45 +03: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
shioko
5967acc9ca
fix typo of the word storage
2021-01-17 18:59:20 +00:00
Liubov Batanina
af9597f454
Added Mish ONNX subgraph
2021-01-15 14:01:48 +03:00
Francesco Petrogalli
235e648bf5
Merge pull request #19268 from fpetrogalli:tabs-summary-output
...
* [ts][summary.py] Extend `-o` to support tabs separated output.
* [ts][summary.py] Improve TABS sepatated output.
There is no need to print TAB at the beginning and at the end of each
row in the table.
Cosmetic change: using python list comprehension instead of for loop
to process a single row.
2021-01-14 12:01:36 +00:00
Alexander Alekhin
72894a1a90
Merge pull request #19216 from terfendail:wasm_fall
2021-01-12 17:57:24 +00:00
Alexander Alekhin
83e14f602f
Merge pull request #19296 from raaldrid:Doc_issue_fix_18836_FULL
2021-01-11 20:04:49 +00:00
Alexander Alekhin
2775099a32
Merge pull request #19220 from alalek:dnn_tf_importer_error_reporting
2021-01-11 19:12:41 +00:00
Rachel A
f98e567f49
Solution to documentation issue https://github.com/opencv/opencv/issues/18836
2021-01-11 10:43:26 -08:00
Vitaly Tuzov
8f653ba8de
Inlined WASM fallback intrinsics to avoid using of V_TypeTraits
2021-01-11 18:12:21 +03:00
Alexander Alekhin
55f06b76f9
dnn: improve debugging of TensorFlow parsing errors
2020-12-26 15:31:30 +00:00
Zhuo Zhang
6e1da2ef91
Merge pull request #19203 from zchrissirhcz:fix-cvSaveImage
...
Fix cvSaveImage( ) function bug
* fix cvSaveImage crash
* replace emplace_back with {}, no C++11 required
* fix MacOSX build with vector's push_back
2020-12-24 16:58:16 +00:00
Alexander Alekhin
5a10261111
Merge pull request #19207 from alalek:issue_19198
2020-12-24 10:00:56 +00:00
Alexander Alekhin
0681deb3c9
js: fix Python 3 support in make_umd.py
2020-12-23 15:07:12 +00:00
Alexander Alekhin
0ffa78b66a
Merge pull request #19193 from alalek:samples_python_3.9
2020-12-23 12:09:07 +00:00
Alexander Alekhin
b51ae87828
samples: check for Python 3.9
2020-12-21 14:59:34 +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
e6c9291e32
Merge pull request #19180 from alalek:fixup_19161
2020-12-20 18:39:01 +00:00
Alexander Alekhin
a6f14ca97c
js(build): fix generator with Python3
...
- class_info.props is a 'list'
2020-12-20 17:42:47 +00:00
Alexander Alekhin
dd276dbb59
Merge pull request #19176 from alalek:issue_19131
2020-12-20 16:40:28 +00:00
Alexander Alekhin
70d82017fe
Merge pull request #19175 from alalek:issue_18520
2020-12-20 16:39:56 +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
c84d2cb32a
Merge pull request #18604 from vrabaud:master
2020-12-20 15:50:33 +00:00
Vincent Rabaud
ff211371bc
Replace FLANNException by CV_Error.
2020-12-20 14:17:28 +01:00
Alexander Alekhin
3359bdc464
docs(core): fix process_video_frame() code snippet
2020-12-20 02:27:46 +00:00
Alexander Alekhin
17faee5d81
imgproc: add rotatedRectangleIntersection empty input handling
2020-12-20 02:06:50 +00:00
Vincent Rabaud
4c75b1c102
Fix comment typos.
2020-12-19 08:22:37 +01:00
Alexander Alekhin
ef27c11d50
Merge pull request #19162 from alalek:backport_18985
2020-12-18 20:29:49 +00:00
Anastasia Murzova
3bc1b53962
Added YUV conversion fix
...
Fixed OpenCV issue #18878
2020-12-18 21:40:32 +03:00
Alexander Alekhin
de1b919641
Merge pull request #19161 from alalek:js_robust_code_generation
2020-12-18 15:12:17 +00:00
Alexander Alekhin
03e224ee83
Merge pull request #19127 from asmorkalov:as/photo_fix_arm64
2020-12-18 13:42:26 +00:00
Steffen Urban
c2bc171ef6
js: backport PR18985
...
original commit: b82700ae41
2020-12-18 12:12:10 +00:00
Alexander Alekhin
f8740e124c
js: robust code generation
...
- avoid randomized output due to unpredictable dict/set order
2020-12-18 12:02:48 +00:00
Alexander Smorkalov
57da381ae3
Increased Photo_CalibrateDebevec.regression test tolerance to pass on arm64 with gcc 9.3.
2020-12-18 14:46:40 +03:00
Alexander Alekhin
935cb4076b
Merge pull request #19154 from alalek:fixup_19089
2020-12-18 11:23:02 +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
94e7be3714
docs(calib3d): avoid reference on legacy C API constants
2020-12-17 21:03:27 +00:00
Alexander Alekhin
9b4adc9acb
Merge pull request #19146 from alalek:dnn_openvino_2021.2.0
2020-12-17 19:50:36 +00:00
Alexander Alekhin
e27162397a
Merge pull request #19143 from vrabaud:stack
2020-12-17 19:47:43 +00: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
Vincent Rabaud
ec3ef520e6
Move big objects (>20k) from stack to heap.
2020-12-17 09:36:51 +01:00
Alexander Alekhin
28aab134db
dnn(test): update tests for OpenVINO 2021.2
2020-12-17 07:53:35 +00:00
Alexander Alekhin
752cc26ad6
dnn: use OpenVINO 2021.2 defines
...
original commit: 4699d2ba0c
2020-12-16 22:22:17 +00: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
Alexander Alekhin
7631056b8a
Merge pull request #19114 from alalek:issue_18937
2020-12-15 20:47:05 +00:00
Alexander Alekhin
4107dc7355
Merge pull request #19089 from IanMaquignaz:fix_34_calib3d_parameterReferences
2020-12-15 20:46:09 +00:00
Ian Maquignaz
085a131801
Applied '@ref' linking for 3.4 Calib3D parameters and added enum cv::fisheye::CALIB_ZERO_DISPARITY == cv::CALIB_ZERO_DISPARITY == 0x400 == 1 << 10.
...
Fisheye test has been updated to use new enum cv::fisheye::CALIB_ZERO_DISPARITY and included CV_StaticAssert(...) to ensure cv::CALIB_ZERO_DISPARITY == cv::fisheye::CALIB_ZERO_DISPARITY.
2020-12-15 12:33:43 -05:00
Alexander Alekhin
50fed1d774
Merge pull request #19115 from alalek:dnn_ocl_conv_fp16_consistency
2020-12-15 16:09:15 +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
48d9031efb
videoio(test): add FFmpeg backend check
...
- configure through OPENCV_TEST_VIDEOIO_BACKEND_REQUIRE_FFMPEG environment variable
2020-12-14 18:29:52 +00:00
Alexander Alekhin
392991fa0b
core(opencl): add version check before clCreateFromGLTexture() call
2020-12-13 20:57:26 +00:00
Alexander Alekhin
1bfc75ac23
Merge pull request #19079 from alalek:issue_18713
2020-12-11 19:15:26 +00:00
Alexander Alekhin
def679554f
Merge pull request #19084 from alalek:issue_16197
2020-12-11 19:13:40 +00:00
Alexander Alekhin
08b6abd711
Merge pull request #19068 from alalek:issue_18157
2020-12-11 19:11:04 +00:00
Alexander Alekhin
d2b8fd6401
Merge pull request #19062 from alalek:3.4_issue_17553
2020-12-11 19:08:46 +00:00
Alexander Alekhin
23c246882e
Merge pull request #19071 from LupusSanctus:am/dnn_nearest_resize_3.4
2020-12-11 18:25:55 +00:00
Alexander Alekhin
f290ff215e
features2d: fix ORB::setFirstScale() handling
2020-12-11 18:05:24 +00:00
Yosshi999
fdeac73a59
Merge pull request #18983 from Yosshi999:bitexact-gaussian-16U-faster
...
support SIMD for larger symmetric Bit-exact 16U gaussian blur
* support SIMD for bit-exact 16U symmetric gaussian blur
* use tighter SIMD registers
2020-12-11 10:14:15 +00:00
Alexander Alekhin
175cd03ff2
calib3d: fix findCirclesGrid hang
...
- detect case with infinite loop and raise NoConv exception
- handle such exception
- add support for case with missing `blobDetector` (image contains Point2f array of candidates)
- add regression test
- undone rectification for "failed" detections too
- drop redirectError() usage
2020-12-11 07:31:50 +00:00
Alexander Alekhin
d6a7f5e1e0
Merge pull request #19075 from alalek:dnn_fix_halide_build
2020-12-10 20:37:37 +00:00
Alexander Alekhin
d84a9484b7
dnn: fix build with Halide, skip tests with crashes
2020-12-10 18:23:24 +00:00
Maksim Shabunin
55a2bcbe15
videoio: turn off syncronized sink in GStreamer
2020-12-10 16:07:28 +03:00
Anastasia Murzova
f2422ace7d
Added TF nearest neighbour resize behaviour alignment
...
Relates to OpenCV issue #18721
2020-12-10 15:53:24 +03:00
Alexander Alekhin
3e5d7e1718
imgproc: fix minAreaRect()
2020-12-10 08:57:58 +00:00
Alexander Alekhin
8286d84fb1
Merge pull request #19061 from alalek:dnn_load_face_detector_with_external_protobuf
2020-12-09 18:03:52 +00:00
Alexander Alekhin
c42d0c8374
Merge pull request #19060 from alalek:issue_18097
2020-12-09 18:02:41 +00:00
Alexander Alekhin
7eaa548b6d
flann: drop wrapping of Index class
...
- due to lifetime restrictions on passed 'features' parameter and its dangling pointers
- dangling pointer issue is fixed for OpenCV 4.5.1+
2020-12-09 05:39:35 +00:00
Alexander Alekhin
d7e936de5c
dnn(caffe): add DetectionOutputParameter.clip to .proto file
...
- allow to load opencv_face_detector with external unpatched protobuf
2020-12-09 05:21:07 +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
Anastasia Murzova
a82c50eac2
Added TF resize_bilinear behaviour alignment
...
Fixes OpenCV issue #18721
2020-12-08 22:51:38 +03:00
Alexander Alekhin
e8348e5f64
Merge pull request #19046 from alalek:issue_16861
2020-12-08 11:34:20 +00:00
Alexander Alekhin
fb85974d01
android: use protected fields in JavaCamera2View
2020-12-08 05:18:21 +00:00
Alexander Alekhin
3377ddaf09
Merge pull request #19041 from alalek:issue_19025
2020-12-07 22:31:53 +00:00
Alexander Alekhin
962f5c9b82
videoio(test): skip GStreamer in 'frame_timestamp' tests
...
- CAP_PROP_POS_MSEC is not reliable
2020-12-07 21:35:01 +00:00
Alexander Alekhin
2c634eeef2
Merge pull request #19023 from alalek:core_update_allocator_stats_type
2020-12-07 20:41:37 +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
00f36a3149
dnn: prefer to use v_fma() instead of v_c += v_a * v_b
2020-12-05 11:51:03 +00:00
Alexander Alekhin
12a36b5a94
Merge pull request #18955 from alalek:test_debug_flag
2020-12-04 18:10:00 +00:00
Alexander Alekhin
e371592f75
Merge pull request #18965 from alalek:cmake_gen_js_code
2020-12-03 18:10:30 +00:00
Alexander Alekhin
84a3654371
Merge pull request #19000 from alalek:cmake_fix_order_of_bindings_generators
2020-12-03 18:08:40 +00:00
Alexander Alekhin
7e5c4fe1cd
cmake(js): update js targets
...
- unconditional js bindings source code generation
- use common name for tests: opencv_test_js
2020-12-03 14:18:54 +00:00
Alexander Alekhin
b31ce408ae
cmake: fix processing order of <wrapper>_bindings_generator
...
- ensure that wrapped modules are already processed
2020-12-03 13:01:46 +00:00
Alexander Alekhin
6502737bd5
Merge pull request #18992 from vertexcite:patch-1
2020-12-03 10:58:47 +00:00
Alexander Alekhin
b98dd728ca
Merge pull request #18966 from Staticity:add_live_timestamps_to_msmf
2020-12-03 10:57:25 +00:00
Randall Britten
7f3ba5963d
Fixed minor typo "poins" in documentation page
2020-12-03 12:46:23 +03:00
Alexander Alekhin
e309ad8465
Merge pull request #18994 from alalek:umat_drop_unavailable_methods
2020-12-02 22:54:47 +00:00
Jaime Rivera
2fa624aef0
Add Timestamps to MSMF Video Capture by index
...
Enable frame timestamp tests for MSMF
Add functional test for camera live timestamps
Remove trailing whitespace
Add timestamp test to all functional tests. Protect div by 0
Add Timestamps to MSMF Video Capture by index
2020-12-02 16:36:09 -05: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
Alexander Alekhin
512be4ab65
Merge pull request #18991 from alalek:workaround_12959
2020-12-02 17:34:22 +00:00
Alexander Alekhin
6f8120cb3a
core(UMat): drop unavailable methods
2020-12-02 15:02:43 +00:00
Alexander Alekhin
d35e2f5339
core(ipp): workaround getIppTopFeatures() value mismatch
2020-12-02 11:33:55 +00:00
Alexander Alekhin
91ce6ef190
core(ipp): disable SSE4.2 code path in countNonZero()
2020-12-01 14:01:42 +00:00
Alexander Alekhin
aac30e772f
Merge pull request #18968 from asmorkalov:as/cap_prop_frame_msec_test
2020-11-30 22:49:54 +00:00
Alexander Alekhin
acc142d4ba
Merge pull request #18930 from alalek:issue_18502
2020-11-30 18:22:59 +00:00
Alexander Smorkalov
24fac5f56d
Added test for VideoCapture CAP_PROP_FRAME_MSEC option.
...
- Suppressed FFMPEG + h264, h265 as it does not pass tests with CI configuration.
- Suppressed MediaFoundation backend as it always returns zero for now.
2020-11-30 20:08:21 +03:00
Alexander Alekhin
da2978f607
ts: cvtest::debugLevel / --test_debug=<N> option
2020-11-28 13:13:28 +00:00
Alexander Alekhin
7c78c59e64
Merge pull request #18939 from alalek:unstable_test_18937
2020-11-27 08:21:25 +00:00
Alexander Alekhin
2cf2456f4c
dnn(test): skip unstable GatherMultiOutput OCL_FP16 test
2020-11-26 21:30:21 +00:00
Alexander Alekhin
8c5b3c4150
Merge pull request #17077 from i386x:check-negative-values
2020-11-26 15:07:58 +00:00
Alexander Alekhin
36d771affc
python: restore sys.path in bootstrap()
...
- multiprocessing need to start from bootstrap code
- loading may fail due to missing os.add_dll_directory() calls
2020-11-26 13:10:25 +00:00
Alexander Alekhin
f601e817fe
Merge pull request #18914 from alalek:videoio_fix_missing_get_capture_domain
2020-11-25 13:46:57 +00:00
Alexander Alekhin
0800f6f91b
videoio: add missing getCaptureDomain() methods
2020-11-24 22:26:10 +00:00
Sergei Slashchinin
f4f462c50b
Merge pull request #18862 from sl-sergei:support_pool1d
...
Support for Pool1d layer for OpenCV and OpenCL targets
* Initial version of Pool1d support
* Fix variable naming
* Fix 1d pooling for OpenCL
* Change support logic, remove unnecessary variable, split the tests
* Remove other depricated variables
* Fix warning. Check tests
* Change support check logic
* Change support check logic, 2
2020-11-24 16:52:45 +00:00
Alexander Alekhin
bf0846f0ea
Merge pull request #18895 from oravital7:flip-module
2020-11-23 17:18:59 +00:00
Alexander Alekhin
0401d5920c
Merge pull request #18845 from joegeisbauer:fix_reduce_mean_index_error
2020-11-23 17:03:47 +00: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
bc434e8f67
calib3d: eliminate 'register' build warning
2020-11-20 20:32:59 +00:00
Joe
e05c2e0f1d
Fix Reduce Mean error for MobileNets DNN
...
Fix for index error for Reduce Mean
Correct Reduce Mean indexing error
2020-11-20 11:17:02 -06:00
Nathan Godwin
2255973b0f
Merge pull request #18371 from nathanrgodwin:sqpnp_dev
...
Added SQPnP algorithm to SolvePnP
* Added sqpnp
* Fixed test case
* Added fix for duplicate point checking and inverse func reuse
* Changes for 3x speedup
Changed norm method (significant speed increase), changed nearest rotation computation to FOAM
* Added symmetric 3x3 inverse and unrolled loops
* Fixed error with SVD
* Fixed error from with indices
Indices were initialized negative. When nullspace is large, points coplanar, and rotation near 0, indices not changed.
2020-11-20 11:25:17 +00:00
Julien
ac24a72e66
Merge pull request #18841 from JulienMaille:patch-2
...
Fixing dnn Resize layer for variable input size
* Fix onnx loading of resize/upsample layers for different opset
* group all DynamicResize tests
* cleaned up scales checks
* Simplify branching
2020-11-20 11:14:00 +00:00
Ian Maquignaz
bb067c7ebf
Merge pull request #18849 from IanMaquignaz:fix_findFundamentalMat_parameters
...
Minimum change to address issue #18837
2020-11-19 11:20:20 +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
9485113923
pre: OpenCV 3.4.13 (version++)
2020-11-17 21:50:30 +00:00
Alexander Alekhin
4f3130f562
Merge pull request #18145 from sl-sergei:fix_17914
2020-11-17 21:46:08 +00:00
Alexander Alekhin
f7e8dc770a
Merge pull request #18834 from l-bat:update_reducemax
2020-11-17 21:14:10 +00:00
Alexander Alekhin
34909d97b4
Merge pull request #18840 from alalek:dnn_test_skip_myriad_gather_multi_output
2020-11-17 23:45:37 +03:00
Alexander Alekhin
474a67231c
dnn(test): skip gather_multi_output test on Myriad
2020-11-17 19:52:07 +00:00
Alexander Alekhin
b645fc10a3
Merge pull request #18782 from alalek:issue_18779
2020-11-17 19:13:15 +00:00
Alexander Alekhin
2b558a3787
core: fix F16C compilation check
2020-11-17 12:22:49 +00:00
Liubov Batanina
72d06080c6
[ONNX] Added Reduce ops for batch and channel
2020-11-17 14:45:36 +03:00
Sergey Slashchinin
3cdf926454
disable Conv1d test on NGRAPH/MYRIAD
2020-11-17 14:33:39 +03:00
Alexander Alekhin
025a9647af
Merge pull request #18830 from l-bat:issue_18785
2020-11-17 10:40:53 +00:00
Sergey Slashchinin
32e7ef8a3d
Add fixes and tests for different layers
2020-11-17 13:39:32 +03:00
Sergei Slashchinin
2b82f8f12c
Merge pull request #18296 from sl-sergei:fix_16783
...
Fix loading issue for Faster RCNN model from #16783
* Add a reproducer with multi-output Gather
* Fix an issue with ONNX graph simplifier
* fix build
* Move checks to correct class
* Minor changes for better code appearence
2020-11-17 09:52:08 +00:00
Liubov Batanina
3a184ae677
[ONNX] Added handler for int32 tensors
2020-11-17 10:17:06 +03:00
Sergei Slashchinin
61144f935e
Merge pull request #18783 from sl-sergei:fix_conv1d
...
Add support for Conv1D on OpenCV backend
* Add support for Conv1D on OpenCV backend
* disable tests on other targets/backends
* Fix formatting
* Restore comment
* Remove unnecessary flag and fix test logic
* Fix perf test
* fix braces
* Fix indentation, assert check and remove unnecessary condition
* Remove unnecessary changes
* Add test cases for variable weights and bias
* dnn(conv): fallback on OpenCV+CPU instead of failures
* coding style
2020-11-13 22:22:10 +00:00
Alexander Alekhin
d23435baac
Merge pull request #18798 from alalek:java_robust_binding_code
2020-11-13 21:26:23 +00:00
Alexander Alekhin
41c2669476
java: robust code generation
...
- the same generated code from Python2/3
- avoid randomized output due to unpredictable dict/set order
2020-11-13 13:42:26 +00:00
Alexander Alekhin
5dae278652
bindings: "inline namespace"
2020-11-11 10:38:15 +00:00
Alexander Alekhin
c3e7a23da5
Merge pull request #18752 from alalek:dnn_defines_openvino_2021.1.0
2020-11-08 18:09:52 +00:00
Alexander Alekhin
bed5debca6
dnn: use OpenVINO 2021.1 defines
2020-11-07 17:27:33 +00:00
Roman Kazantsev
bb5b628cce
Use explicit opset of Unsqueeze from nGraph
...
backporting commit eb24575e2c
2020-11-06 22:29:35 +00:00
Alexander Alekhin
39ecd96b09
Merge pull request #18736 from mshabunin:mfx-frame-size-34
2020-11-05 17:00:35 +00:00
Maksim Shabunin
21a8d9569d
videoio: added frameSize to MFX capture
2020-11-05 17:40:48 +03:00
Mark Shachkov
039795b405
Change naming of keypoints comparator
2020-11-03 21:54:56 +03:00
Alexander Alekhin
716450ceb5
Merge pull request #18158 from legrosbuffle:3.4-vectorize-dft-radix
2020-10-30 22:05:50 +00:00
APrigarina
0f7b2eb79f
fix curved qrcodes decoding
2020-10-28 12:54:54 +03:00
Alexander Alekhin
0ec94630d4
Merge pull request #18640 from alalek:core_cleanup_inline_code
2020-10-24 17:06:08 +00:00
ann
c71f2714c6
Merge pull request #18003 from APrigarina:curved_qrcodes_decoding
...
Detection and decoding of curved QR-codes
* temp changes for curved qrcodes
* added api for curved qr code decoding
* fixed prototypes
* refactored curved qr code decoding
* refactored curved qr code decoding 2nd part
* refactored curved qr code decoding 3rd part
* refactored curved qr code decoding 4th part
* added tests for curved qr code decoding
* refactored curved qr code decoding 5th part
2020-10-23 18:42:45 +00:00
Justin Frank
61a8cf8ba7
Fix TypeError when building for WebAssembly with Python 3
2020-10-22 12:38:28 -07:00
Alexander Alekhin
aac7c5465b
core: move inline code from mat.inl.hpp
2020-10-21 23:06:09 +00:00
Rob Timpe
22ee5c0c4d
Fix errors when building with cuda stubs
...
Fixes two errors when building with the options WITH_CUDA=ON and BUILD_CUDA_STUBS=ON on a machine without CUDA.
In the cudaarithm module, make sure cuda_runtime.h only gets included when CUDA is installed.
In the stitching module, don't assume that cuda is present just because cudaarithm and cudawarping are present (as is the case when building with the above options).
2020-10-21 15:51:46 -07:00
lizz
331b73c8e4
Typo in docstring of distanceTransform
2020-10-20 17:57:10 +08: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
bd19f991a5
Merge pull request #18602 from alalek:issue_18597
2020-10-16 20:22:58 +00:00
Alexander Alekhin
e87ba1d317
Merge pull request #18590 from krush11:master
2020-10-16 19:47:03 +00:00
Alexander Alekhin
b5717f82a0
core: fix __clang_major__ typo regression
2020-10-16 15:35:51 +00:00
Pavel Rojtberg
bc6a70c689
imwrite: multi-image overload for bindings
2020-10-16 11:27:09 +00:00
Krushnal Patel
1fb6c6e6e5
Update demosaicing.cpp
2020-10-16 11:15:42 +00:00
Welton Rodrigo Torres Nascimento
25163eb008
Doc: INTER_LINEAR_EXACT unsupported in remap
...
Update documentation to reflect INTER_LINEAR_EXACT being
unsupported in remap
2020-10-13 11:51:23 -03:00
Alexander Alekhin
96e8b83d41
Merge pull request #18568 from catree:fix_deepgreen_colormap_fig
2020-10-13 10:02:39 +00:00
catree
de93782fab
Move colorscale_deepgreen.jpg to the correct folder.
2020-10-11 17:18:05 +02: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
cdcf7e62f3
dnn(opencl): bypass unsupported fusion cases 2
2020-10-09 18:59:08 +00:00
Alexander Alekhin
718dd9f170
dnn(opencl): bypass unsupported fusion cases
2020-10-09 12:33:06 +00:00
Alexander Alekhin
e87a0baa4b
dnn(test): enable tests from issue 17953
2020-10-08 20:27:03 +00:00
Alexander Alekhin
6da05f7086
dnn(test): update tests for OpenVINO 2021.1
2020-10-08 10:22:31 +00:00
Alexander Alekhin
62b5d37b6b
Merge pull request #18526 from alalek:fix_uninitialized_warnings
2020-10-06 22:49:55 +00:00
Alexander Alekhin
d78d9bf151
Merge pull request #18519 from alalek:fix_javadoc
2020-10-06 22:48:21 +00:00
Alexander Alekhin
a5f0fb6008
Merge pull request #18518 from alalek:backport_17993
2020-10-06 22:47:45 +00:00
Alexander Alekhin
f2bb3d0d80
videoio(dc1394_v2): ensure variable initialization
2020-10-06 21:00:36 +00:00
Alexander Alekhin
037a72debd
Merge pull request #18517 from alalek:backport_18031
2020-10-06 19:56:49 +00:00
Alexander Alekhin
1ef4b7ae5a
Merge pull request #18515 from alalek:test_18473
2020-10-06 19:39:28 +00:00
Alexander Alekhin
b314cc4c23
Merge pull request #18506 from alalek:issue_18472
2020-10-06 19:37:40 +00:00
Alexander Alekhin
644de8f22a
java: fix javadoc generation
2020-10-06 04:28:25 +00:00
Maksim Doronin
36f61f3879
[IE][VPU]: Refactor vpu configs
...
backported commit: 7fe87d9a5b
2020-10-05 20:27:52 +00:00
Ilya Churaev
aa11f7d8a3
Removed get_output_as_single_output_node method
...
backported commit: 5fd3d36fe8
2020-10-05 20:24:21 +00:00
Alexander Alekhin
f30aafc3cc
core(test): regression test for 18473
2020-10-05 17:14:22 +00:00
Alexander Alekhin
2f065b8b4c
Merge pull request #18509 from alalek:issue_18392
2020-10-05 17:03:27 +00:00
Alexander Alekhin
aece3e732e
Merge pull request #18507 from sizeofvoid:openbsd
2020-10-05 17:02:38 +00:00
Mario Emmenlauer
102d8f67cd
matrix.cpp::setSize(): fixed out-of-bounds access on cv::Mat steps
2020-10-05 10:19:53 +02:00
Alexander Alekhin
a00fe15abd
dnn: check for empty Net in .forward()
2020-10-05 06:23:47 +00:00
Rafael Sadowski
3acf8cfd63
Add an OpenBSD check
2020-10-05 08:23:23 +02: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
a5b8f163d7
Merge pull request #18488 from alalek:maxflow_missing_check
2020-10-02 15:04:28 +00:00
Alexander Alekhin
6add3b9161
Merge pull request #18487 from aitikgupta:unnecessary-variable
2020-10-02 15:03:59 +00:00
Alexander Alekhin
1ddd61f98a
Merge pull request #18458 from sturkmen72:Update_window_w32_cpp
2020-10-02 15:00:44 +00:00
Alexander Alekhin
3503a36e5e
Merge pull request #18444 from aitikgupta:check-minimum-points
2020-10-02 14:59:07 +00:00
zhuqiang00099
a968eadbf1
fix darknet-relu bug in darknet_io.cpp
2020-10-02 06:16:38 +00:00
Alexander Alekhin
c6b63e0e28
calib3d/imgproc: add GCGraph::maxFlow() missing empty checks
2020-10-02 05:15:20 +00:00
Aitik Gupta
7bd8ddc8fa
removed no-affect variable
2020-10-02 09:27:16 +05:30
Suleyman TURKMEN
14e264f646
Update window_w32.cpp
2020-09-29 21:50:06 +03:00
Alexander Alekhin
969b55036f
Merge pull request #18438 from alalek:dnn_onnx_importer_error_reporting
2020-09-29 13:49:02 +00:00
Aitik Gupta
cbf978d1f7
added minPoints Homography test
2020-09-29 01:04:15 +05:30
Aitik Gupta
94e0ac7d9f
need atleast 4 corresponding points to calculate homography
2020-09-29 01:04:01 +05:30
Alexander Alekhin
d62d880316
Merge pull request #18447 from alalek:fix_17953
2020-09-28 18:45:31 +00:00
Alexander Alekhin
c08f29c803
dnn(opencl): fix convolution kernel w/o bias with activation
2020-09-27 23:42:30 +00:00
Alexander Alekhin
ecb6d03ccd
Merge pull request #18445 from alalek:fix_test_python_ml
2020-09-27 23:12:02 +00:00
Alexander Alekhin
e59793cc75
dnn: improve debugging of ONNX parsing errors
2020-09-27 23:04:48 +00:00
Alexander Alekhin
236ad4aeda
Merge pull request #18441 from alalek:core_check_force_string_literals
2020-09-27 23:03:18 +00:00
Alexander Alekhin
97bb91d5fa
ml: fix python test
2020-09-27 21:14:55 +00:00
Alexander Alekhin
233030e417
core: force check for string literals are used in the message
2020-09-27 06:37:44 +00:00
Tomoaki Teshima
48368dc9a1
loosen threshold for Mali
2020-09-27 00:37:52 +09:00
Tomoaki Teshima
234117800f
brush up by following the comments
2020-09-25 23:57:15 +09:00
Alexander Alekhin
220b37144b
Merge pull request #18395 from tomoaki0705:fixNativePow
2020-09-23 18:27:45 +00:00
Tomoaki Teshima
74c8ccb45b
fix build error of kernel on Mali
2020-09-23 21:38:12 +09:00
Nathan Godwin
2f9072efdc
Fixed assertions on ippe solver
2020-09-21 21:56:28 -05:00
Alexander Alekhin
5e90802b1a
Merge pull request #18363 from alalek:issue_18349
2020-09-19 16:53:34 +00:00
Alexander Alekhin
261ad78122
core: emit more clear messages in OutputArray::create()
2020-09-18 15:25:29 +00:00
Alexander Alekhin
4fa82809df
ocl: avoid rescheduling of async kernels
2020-09-18 14:53:50 +00:00
Alexander Alekhin
3e3787ecb6
Merge pull request #18360 from tomoaki0705:fixClampFailure
2020-09-18 13:10:36 +00:00
Alexander Alekhin
a723aaedd8
Merge pull request #18354 from takehirokj:fix_typo_in_doc
2020-09-18 13:10:10 +00:00
Liubov Batanina
ebb528976f
Merge pull request #18353 from l-bat:issue_18350
...
* Fixed bug in ONNX Mul op
* Replaced node
2020-09-18 13:01:14 +00:00
Tomoaki Teshima
f77c2d700f
add explicit cast for half
2020-09-18 21:04:24 +09:00
Takehiro Kajihara
8c44b8306b
Fix typo in videoio doc
2020-09-18 07:34:10 +09:00
Alexander Alekhin
e668cff573
Merge pull request #18348 from tomoaki0705:fixNppFlipInplace
2020-09-17 13:56:17 +00:00
Sergei Slashchinin
fa953e4205
Merge pull request #18316 from sl-sergei:fix_18253
...
Fix loading of ONNX models with Resize operation with Opset 11 for newer versions of Pytorch
* Add reproducer for Resize operation from newer versions of Pytorch
* Fix loading of scales parameter for Resize layer
* Change check type for better diagnostic messages
2020-09-17 11:05:22 +00:00
Tomoaki Teshima
a61546680b
use only even number for inplace flip
2020-09-16 15:45:03 +09:00
Alexander Alekhin
18440c1faf
Merge pull request #18314 from gilsho:components
2020-09-14 20:15:38 +00:00
Alexander Alekhin
9f69ca503a
Merge pull request #18325 from alalek:issue_18166
2020-09-14 18:17:58 +00:00
Alexander Alekhin
4b24ddd70d
Merge pull request #18317 from sl-sergei:restored_pr_17629
2020-09-13 12:51:41 +00:00
Gil Shotan
1612db5f91
Fix signed integer overflow in connected components
2020-09-13 11:20:42 +00:00
Alexander Alekhin
7dfe68cac6
imgcodecs: lazy on-demand codecs initialization
2020-09-13 11:14:56 +00:00
Shubham Singh
23e71d1aa2
fixes #17187 probably
...
Added Eltwise Layer Support
2020-09-11 18:53:42 +03:00
Liubov Batanina
b542a1804c
Support global reduce ops
2020-09-09 11:56:20 +03:00
Alexander Alekhin
50ff40d684
pre: OpenCV 3.4.12 (version++)
2020-09-06 22:26:32 +00:00
Danny
c31164bf1e
Merge pull request #18126 from danielenricocahall:add-oob-error-sample-weighting
...
Account for sample weights in calculating OOB Error
* account for sample weights in oob error calculation
* redefine oob error functions
* fix ABI compatibility
2020-09-05 18:52:10 +00:00
Alexander Alekhin
3835ab394e
Merge pull request #18265 from alalek:fixup_17489
2020-09-04 17:02:08 +00:00
Danny
20b23da8e2
Merge pull request #18061 from danielenricocahall:fix-kd-tree
...
Fix KD Tree kNN Implementation
* Make KDTree mode in kNN functional
remove docs and revert change
Make KDTree mode in kNN functional
spacing
Make KDTree mode in kNN functional
fix window compilations warnings
Make KDTree mode in kNN functional
fix window compilations warnings
Make KDTree mode in kNN functional
casting
Make KDTree mode in kNN functional
formatting
Make KDTree mode in kNN functional
* test coding style
2020-09-04 17:01:05 +00:00
Alexander Alekhin
f6795d75a6
videoio: repair build of FFmpeg windows wrapper
2020-09-04 15:36:10 +00:00
Alexander Alekhin
fa11b98800
Merge pull request #18255 from alalek:backport_18243
2020-09-02 22:50:21 +00:00
Alexander Alekhin
64c67a93d3
Merge pull request #18246 from YashasSamaga:dnn-permute-fix-unwanted-ocl-init
2020-09-02 21:15:19 +00:00
Alexander Alekhin
154380ccf5
Merge pull request #18234 from l-bat:onnx_reshape
2020-09-02 19:31:22 +00:00
Alexander Alekhin
1f2c83845d
backport: checks and fixes from static code analyzers results
...
original commit: 71f665bd8c
2020-09-02 19:05:47 +00:00
Liubov Batanina
2349a09736
Support Reshape with zero dim
2020-09-02 11:58:43 +03:00
YashasSamaga
1df533c914
fix typo in fusion tests
2020-09-02 14:25:36 +05:30
YashasSamaga
44bf748479
do not allocate UMat in non-OpenCL targets
2020-09-02 12:18:41 +05:30
pemmanuelviel
31dc3e9256
Merge pull request #18211 from pemmanuelviel:pev--handle-dna-vectors
...
* DNA-mode: update miniflann to handle DNA
* DNA-mode: update hierarchical kmeans to handle DNA sequences
2020-09-01 20:38:21 +00:00
Yosshi999
698b2bf729
Merge pull request #18167 from Yosshi999:bit-exact-gaussian
...
Bit exact gaussian blur for 16bit unsigned int
* bit-exact gaussian kernel for CV_16U
* SIMD optimization
* template GaussianBlurFixedPoint
* remove template specialization
* simd support for h3N121 uint16
* test for u16 gaussian blur
* remove unnecessary comments
* fix return type of raw()
* add typedef of native internal type in fixedpoint
* update return type of raw()
2020-09-01 10:28:25 +00:00
Alexander Alekhin
1d42560018
Merge pull request #18235 from alalek:ocl_off_cleanup
2020-08-31 20:37:41 +00:00
Alexander Alekhin
efcf307b4c
ocl: cleanup dead code in case of disabled OpenCL
2020-08-31 11:30:42 +00:00
Yosshi999
7495a4722f
Merge pull request #18053 from Yosshi999:bit-exact-resizeNN
...
Bit-exact Nearest Neighbor Resizing
* bit exact resizeNN
* change the value of method enum
* add bitexact-nn to ResizeExactTest
* test to compare with non-exact version
* add perf for bit-exact resizenn
* use cvFloor-equivalent
* 1/3 scaling is not stable for floating calculation
* stricter test
* bugfix: broken data in case of 6 or 12bytes elements
* bugfix: broken data in default pix_size
* stricter threshold
* use raw() for floor
* use double instead of int
* follow code reviews
* fewer cases in perf test
* center pixel convention
2020-08-28 21:20:05 +03:00
Pierre-Emmanuel Viel
5376863c0c
bugfix
2020-08-27 12:21:02 +02:00
Alexander Alekhin
01324b02e7
Merge pull request #18136 from nglee:dev_cudaEqualizeHistBitExact
2020-08-26 12:11:43 +00:00
Alexander Alekhin
792722865f
Merge pull request #17919 from zhaoyue-zephyrus:flownet2_with_anysize
2020-08-26 11:43:17 +00:00
Sergei Slashchinin
9aa401a7d0
Merge pull request #17978 from sl-sergei:fix_17516_17531
...
* Fix ONNX loading in issues opencv#17516, opencv#17531
* Add tests for Linear and Matmul layers
* Disable tests for IE versions lower than 20.4
* Skip unstable tests with OpenCL FP16 on Intel GPU
* Add correct test filtering for OpenCL FP16 tests
2020-08-26 10:15:59 +00:00
Alexander Alekhin
c7422e4d90
Merge pull request #18171 from catree:fix_pnp_doc
2020-08-25 18:24:30 +00:00
Alexander Alekhin
485d2b593c
Merge pull request #18178 from catree:improve_camera_matrix_doc
2020-08-25 13:33:39 +00:00
Alexander Alekhin
1bea537731
Merge pull request #18165 from catree:fix_hand_eye_calibration_Andreff_NaN_3.4
2020-08-25 13:28:21 +00:00
catree
379b83e946
Fix cubic root computation to be able to handle negative values. Improve doc. Add regression test.
2020-08-25 03:37:56 +02:00
catree
dda1bf1887
Add broken implementation note for DLS and UPnP.
...
Add CV_LOG_DEBUG.
2020-08-25 03:07:00 +02:00
Vadim Levin
f7e524cbe6
fix: libavcodec version check for AVDISCARD_NONINTRA
...
- AVDISCARD_NONINTRA flag is supported only for FFMPEG libraries pack
2020-08-24 23:12:49 +03:00
Vadim Levin
e503ac508e
fix: libavcodec version check for AV_CODEC_FLAG_GLOBAL_HEADER
2020-08-24 23:07:25 +03:00
Liubov Batanina
d392b11dfb
Supported ONNX Pow op
2020-08-24 11:20:18 +03:00
catree
cd01ee9a54
Use camera intrinsic matrix everywhere. Add cameramatrix, distcoeffs and distcoeffsfisheye macros to avoid copy/paste errors.
2020-08-24 05:39:23 +02:00
Alexander Alekhin
f53ff0d01c
Merge pull request #18151 from alalek:core_trace_fix_location
2020-08-21 18:54:40 +00:00
Namgoo Lee
a7ffcaab28
Remove compiler warnings
2020-08-21 23:52:30 +09:00
Namgoo Lee
f617f18e46
bit-exact cuda::equalizeHist
2020-08-21 22:53:40 +09:00
Clement Courbet
da555a2c9b
Optimize opencv dft by vectorizing radix2 and radix3.
...
This is useful for non power-of-two sizes when WITH_IPP is not an option.
This shows consistent improvement over openCV benchmarks, and we measure
even larger improvements on our internal workloads.
For example, for 320x480, `32FC*`, we can see a ~5% improvement}, as
`320=2^6*5` and `480=2^5*3*5`, so the improved radix3 version is used.
`64FC*` is flat as expected, as we do not specialize the functors for `double`
in this change.
```
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, 0, false) 1.239 1.153 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, 0, true) 0.991 0.926 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_COMPLEX_OUTPUT, false) 1.367 1.281 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_COMPLEX_OUTPUT, true) 1.114 1.049 1.06
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE, false) 1.313 1.254 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE, true) 1.027 0.977 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 1.296 1.217 1.06
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 1.039 0.963 1.08
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_ROWS, false) 0.542 0.524 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_ROWS, true) 0.293 0.277 1.06
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_SCALE, false) 1.265 1.175 1.08
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_SCALE, true) 1.004 0.942 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, 0, false) 1.292 1.280 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, 0, true) 1.038 1.030 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_COMPLEX_OUTPUT, false) 1.484 1.488 1.00
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_COMPLEX_OUTPUT, true) 1.222 1.224 1.00
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE, false) 1.380 1.355 1.02
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE, true) 1.117 1.133 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 1.372 1.383 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 1.117 1.127 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_ROWS, false) 0.546 0.539 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_ROWS, true) 0.293 0.299 0.98
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_SCALE, false) 1.351 1.339 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_SCALE, true) 1.099 1.092 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, 0, false) 2.235 2.123 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, 0, true) 1.843 1.727 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_COMPLEX_OUTPUT, false) 2.189 2.109 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_COMPLEX_OUTPUT, true) 1.827 1.754 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE, false) 2.392 2.309 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE, true) 1.951 1.865 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 2.391 2.293 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 1.954 1.882 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_ROWS, false) 0.811 0.815 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_ROWS, true) 0.426 0.437 0.98
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_SCALE, false) 2.268 2.152 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_SCALE, true) 1.893 1.788 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, 0, false) 4.546 4.395 1.03
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, 0, true) 3.616 3.426 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_COMPLEX_OUTPUT, false) 4.843 4.668 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_COMPLEX_OUTPUT, true) 3.825 3.748 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE, false) 4.720 4.525 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE, true) 3.743 3.601 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 4.755 4.527 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 3.744 3.586 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_ROWS, false) 1.992 2.012 0.99
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_ROWS, true) 1.048 1.048 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_SCALE, false) 4.625 4.451 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_SCALE, true) 3.643 3.491 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, 0, false) 4.499 4.488 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, 0, true) 3.559 3.555 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_COMPLEX_OUTPUT, false) 5.155 5.165 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_COMPLEX_OUTPUT, true) 4.103 4.101 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE, false) 5.484 5.474 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE, true) 4.617 4.518 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 5.547 5.509 1.01
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 4.553 4.554 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_ROWS, false) 2.067 2.018 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_ROWS, true) 1.104 1.079 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_SCALE, false) 4.665 4.619 1.01
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_SCALE, true) 3.698 3.681 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, 0, false) 8.774 8.275 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, 0, true) 6.975 6.527 1.07
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_COMPLEX_OUTPUT, false) 8.720 8.270 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_COMPLEX_OUTPUT, true) 6.928 6.532 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE, false) 9.272 8.862 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE, true) 7.323 6.946 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 9.262 8.768 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 7.298 6.871 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_ROWS, false) 3.766 3.639 1.03
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_ROWS, true) 1.932 1.889 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_SCALE, false) 8.865 8.417 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_SCALE, true) 7.067 6.643 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, 0, false) 10.014 10.141 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, 0, true) 7.600 7.632 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_COMPLEX_OUTPUT, false) 11.059 11.283 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_COMPLEX_OUTPUT, true) 8.475 8.552 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE, false) 12.678 12.789 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE, true) 10.445 10.359 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 12.626 12.925 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 10.538 10.553 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_ROWS, false) 5.041 5.084 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_ROWS, true) 2.595 2.607 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_SCALE, false) 10.231 10.330 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_SCALE, true) 7.786 7.815 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, 0, false) 13.597 13.302 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, 0, true) 10.377 10.207 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_COMPLEX_OUTPUT, false) 15.940 15.545 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_COMPLEX_OUTPUT, true) 12.299 12.230 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE, false) 15.270 15.181 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE, true) 12.757 12.339 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 15.512 15.157 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 12.505 12.635 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_ROWS, false) 6.359 6.255 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_ROWS, true) 3.314 3.248 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_SCALE, false) 13.937 13.733 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_SCALE, true) 10.782 10.495 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, 0, false) 18.985 18.926 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, 0, true) 14.256 14.509 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_COMPLEX_OUTPUT, false) 18.696 19.021 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_COMPLEX_OUTPUT, true) 14.290 14.429 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE, false) 20.135 20.296 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE, true) 15.390 15.512 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 20.121 20.354 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 15.341 15.605 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_ROWS, false) 8.932 9.084 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_ROWS, true) 4.539 4.649 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_SCALE, false) 19.137 19.303 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_SCALE, true) 14.565 14.808 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, 0, false) 22.553 21.171 1.07
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, 0, true) 17.850 16.390 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_COMPLEX_OUTPUT, false) 24.062 22.634 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_COMPLEX_OUTPUT, true) 19.342 17.932 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE, false) 28.609 27.326 1.05
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE, true) 24.591 23.289 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 28.667 27.467 1.04
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 24.671 23.309 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_ROWS, false) 9.458 9.077 1.04
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_ROWS, true) 4.709 4.566 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_SCALE, false) 22.791 21.583 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_SCALE, true) 18.029 16.691 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, 0, false) 25.238 24.427 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, 0, true) 19.636 19.270 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_COMPLEX_OUTPUT, false) 28.342 27.957 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_COMPLEX_OUTPUT, true) 22.413 22.477 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE, false) 26.465 26.085 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE, true) 21.972 21.704 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 26.497 26.127 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 22.010 21.523 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_ROWS, false) 11.188 10.774 1.04
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_ROWS, true) 6.094 5.916 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_SCALE, false) 25.728 24.934 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_SCALE, true) 20.077 19.653 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, 0, false) 43.834 40.726 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, 0, true) 35.198 32.218 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_COMPLEX_OUTPUT, false) 43.743 40.897 1.07
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_COMPLEX_OUTPUT, true) 35.240 32.226 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE, false) 46.022 42.612 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE, true) 36.779 33.961 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 46.396 42.723 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 37.025 33.874 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_ROWS, false) 17.334 16.832 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_ROWS, true) 9.212 8.970 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_SCALE, false) 44.190 41.211 1.07
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_SCALE, true) 35.900 32.888 1.09
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, 0, false) 40.948 38.256 1.07
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, 0, true) 33.825 30.759 1.10
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_COMPLEX_OUTPUT, false) 53.210 53.584 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_COMPLEX_OUTPUT, true) 46.356 46.712 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE, false) 47.471 47.213 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE, true) 40.491 41.363 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 46.724 47.049 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 40.834 41.381 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_ROWS, false) 14.508 14.490 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_ROWS, true) 7.832 7.828 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_SCALE, false) 41.491 38.341 1.08
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_SCALE, true) 34.587 31.208 1.11
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, 0, false) 65.155 63.173 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, 0, true) 56.091 54.752 1.02
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_COMPLEX_OUTPUT, false) 71.549 70.626 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_COMPLEX_OUTPUT, true) 62.319 61.437 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE, false) 61.480 59.540 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE, true) 54.047 52.650 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 61.752 61.366 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 54.400 53.665 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_ROWS, false) 20.219 19.704 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_ROWS, true) 11.145 10.868 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_SCALE, false) 66.220 64.525 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_SCALE, true) 57.389 56.114 1.02
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, 0, false) 86.761 88.128 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, 0, true) 75.528 76.725 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_COMPLEX_OUTPUT, false) 86.750 88.223 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_COMPLEX_OUTPUT, true) 75.830 76.809 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE, false) 91.728 92.161 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE, true) 78.797 79.876 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 92.163 92.177 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 78.957 79.863 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_ROWS, false) 24.781 25.576 0.97
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_ROWS, true) 13.226 13.695 0.97
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_SCALE, false) 87.990 89.324 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_SCALE, true) 76.732 77.869 0.99
```
2020-08-21 14:06:09 +02:00
Alexander Alekhin
cd00d8f3f0
core(trace): lazy quering for OPENCV_TRACE_LOCATION
...
- fixes proper initialization of non-trivial variable
2020-08-20 21:48:05 +00:00
Alexander Alekhin
b3755e617c
ocl: silence warning in case of async cleanup
...
- OpenCL kernel cleanup processing is asynchronous and can be called even after forced clFinish()
- buffers are released later in asynchronous mode
- silence these false positive cases for asynchronous cleanup
2020-08-20 19:33:37 +00:00
Alexander Alekhin
fc0f9da7a7
Merge pull request #18084 from pemmanuelviel:pev--add-DNA-distances
2020-08-20 13:26:02 +00:00
Alexander Alekhin
277961fa25
Merge pull request #18085 from pemmanuelviel:pev--add-DbgAssert-checks
2020-08-20 13:25:02 +00:00
Alexander Alekhin
2c1f3487a4
Merge pull request #18037 from danielenricocahall:improve-brisk-init-perf
2020-08-18 20:06:17 +00:00
Alexander Alekhin
acc6189da0
Merge pull request #18022 from SoheibKadi:Update_CornerSubPix_Documentation
2020-08-18 13:19:18 +00:00
danielenricocahall
ac177b849c
Improve initialization performance of Brisk
...
reformatting
Improve initialization performance of Brisk
fix formatting
Improve initialization performance of Brisk
formatting
Improve initialization performance of Brisk
make a lookup table for ring
use cosine/sine lookup table for theta in brisk and utilize trig identity
fix ring lookup table
use cosine/sine lookup table for theta in brisk and utilize trig identity
formatting
use cosine/sine lookup table for theta in brisk and utilize trig identity
move scale radius product to ring loop to ensure it's not recomputed for each rot
revert change
move scale radius product to ring loop to ensure it's not recomputed for each rot
remove rings lookup table
move scale radius product to ring loop to ensure it's not recomputed for each rot
fix formatting of for loop
move scale radius product to ring loop to ensure it's not recomputed for each rot
use sine/cosine approximations for brisk lookup table.
add documentation for sine/cosine lookup tables
Improve initialization performance of BRISK
2020-08-18 07:11:21 -04:00
Alexander Alekhin
29aeebf5bc
Merge pull request #18119 from tomoaki0705:fixFfmpegBuildFailure
2020-08-17 19:25:55 +00:00
Tomoaki Teshima
cc769ff19d
fix build error on odroid-n2-plus
2020-08-17 21:24:54 +09:00
Yosshi999
1834eed809
Merge pull request #18001 from Yosshi999:sift-8bit-descr
...
* 8-bit SIFT descriptors
* use clearer parameter
* update docs
* propagate type info
* overload function for avoiding ABI-break
* bugfix: some values are undefined when CV_SIMD is absent
2020-08-17 10:28:44 +00:00
Alexander Alekhin
7ec9f52509
highgui: don't terminate if we can't initialize GTK backend
...
- allow Users to handle such case
- exception will be thrown instead
2020-08-16 09:30:09 +00:00
nhlsm
68f527267b
Merge pull request #18080 from nhlsm:improve-mat-operator-assign-scalar
...
* improve Mat::operator=(Scalar)
* touch
* remove trailing whitespace
* TEST: check if old code pass test or not
* remove CV_Error
* remove warning
* fix: is -> Scalar
* 1) Mat *mat -> Mat &mat 2) return bool, add output param
* add comment
2020-08-14 17:21:23 +00:00
Alexander Alekhin
7f22b34c78
Merge pull request #18092 from alalek:ocl_fix_image_format
2020-08-14 17:10:36 +00:00
Liubov Batanina
ad63d24dba
Merge pull request #18096 from l-bat:update_onnx_importer
...
* Added ReduceSum to ONNX importer
* Fix comments
* Fix Mul
2020-08-14 16:49:42 +00:00
Alexander Alekhin
3b5813c035
Merge pull request #18078 from l-bat:fix_matmul
2020-08-14 13:46:46 +00:00
Liubov Batanina
339b963e6b
Fix MatMul and Add axes
2020-08-14 11:18:58 +03:00
Alexander Alekhin
00890aecdf
core(ocl): fix ocl::Image2d::isFormatSupported()
...
in case of OPENCV_OPENCL_DEVICE=disabled
2020-08-13 18:33:18 +00:00
Yashas Samaga B L
2171cae8ff
Merge pull request #17976 from YashasSamaga:dnn-fusion-tests-fix-ocl
...
dnn: add exhaustive fusion tests, enable more eltwise fusions
* add eltwise fusion tests, enable more eltwise fusions
* merge weighted eltwise tests with eltwise tests
2020-08-13 10:55:41 +00:00
Pierre-Emmanuel Viel
3f55152ca0
Add debug assert to check in FLANN the vectors size is multiple of the architecture word size
2020-08-12 23:07:35 +02:00
Liubov Batanina
f3cebb3e1b
Merge pull request #18077 from l-bat:reduce_sum
...
* Supported ReduceSum op
* Skip test
2020-08-12 14:32:16 +00:00
Pierre-Emmanuel Viel
98de57c6c4
Refactoring to prepare for other vector types while mutualizing some methods
2020-08-12 00:57:37 +02:00
zhaoyue-zephyrus
e231be86b7
support flownet2 with arbitary input size
...
revise default proto to match the filename in documentations
fix a bug
beautify python codes
fix bug
beautify codes
add test samples with larger/smaller size
remove unless code
using bytearray without creating tmp file
remove useless codes
2020-08-12 00:50:58 +08:00
Alexander Alekhin
3f65c12d0c
Merge pull request #17982 from nglee:dev_cudaGpuMatConvertToInplaceFix
2020-08-09 20:21:17 +00:00
Liubov Batanina
6226ea0085
Fix bug in ONNX Gather op
2020-08-06 15:47:34 +03:00
Vadim Pisarevsky
1537ecd931
* added depth-wise convolution; gives ~20-30% performance improvement in MobileSSD networks
...
* hopefully, eliminated compile warnings, errors, as well as failure in one test
* * fixed a few typos
* decreased buffer size in some cases
* added more optimal im2row branch in the case of 1x1 convolutions
* tuned fastConv to reduce the number of passes over arrays
backport of commit 77b01deb80
2020-08-04 17:34:48 +00:00
Alexander Alekhin
5b5c42d2c7
Merge pull request #18027 from dkurt:dnn_backport_ngraph
2020-08-04 16:24:11 +00:00
Alexander Alekhin
161890dad4
Merge pull request #18017 from danielenricocahall:add-relu-to-darknet
2020-08-04 16:17:07 +00:00
Alexander Alekhin
35846fe735
Merge pull request #18008 from gsmatos:document-patchnans
2020-08-04 16:15:53 +00:00
Gabriel
96ce65f021
Document PatchNANs input type
2020-08-03 22:57:18 -03:00
danielenricocahall
8457e471fd
add relu as activation option in darknet
...
add relu option
add relu as activation option in darknet
simplify the setParams if-else ladder
add relu as activation option in darknet
correct activation_param type
format
format
add relu as activation option in darknet
spacing
spacing
add relu as activation option in darknet
2020-08-03 19:19:35 -04:00
Ilya Churaev
246de2b7f5
Replaced copy_with_new_args to clone_with_new_inputs
2020-08-03 23:08:29 +03:00
Ilya Churaev
e8c26963e9
Fixed removing is_parameter, is_constant, is_output
2020-08-03 23:08:22 +03:00
pemmanuelviel
793e7c0d9f
Merge pull request #18019 from pemmanuelviel:pev--multiple-kmeans-trees
...
* Possibility to set more than one tree for the hierarchical KMeans (default is still 1 tree).
This particularly improves NN retrieval results with binary vectors, allowing better quality
compared to LSH for similar processing time when speed is the criterium.
* Add explanations on the FLANN's hierarchical KMeans for binary data.
2020-08-03 18:29:57 +00:00
Alexander Alekhin
3b337a12c9
Merge pull request #18018 from danielenricocahall:add-compose-panorama-python-binding
2020-08-03 18:28:18 +00:00
Alexander Alekhin
2c32cb743c
Merge pull request #18016 from pemmanuelviel:pev--cleaner-hierarchical-clustering
2020-08-03 18:27:11 +00:00
Alexander Alekhin
883b995fd6
Merge pull request #18012 from sturkmen72:update_doc_and_sample
2020-08-03 18:26:12 +00:00
Alexander Alekhin
a28533933f
Merge pull request #17998 from dkurt:dnn_fix_ngraph
2020-08-03 18:23:11 +00:00
Liubov Batanina
d695208727
Merge pull request #17967 from l-bat:non_const_weights_for_conv
...
* Supported convolution with non-const weights
* Fix opencl blobs
* Update tests
2020-08-03 18:02:49 +00:00
kadi soheib
613ff61de7
Added reference to paper.
2020-08-03 18:07:36 +03:00
Alexander Alekhin
65b02cc8f2
Merge pull request #17742 from SoheibKadi/DetectionOutput_layer_doc
...
Adding comment from source code to DetectionOutputLayer class documentation
2020-08-03 17:17:04 +03:00
Alexander Alekhin
1c8ee3f957
Merge pull request #17885 from alalek:dnn_ocl_slice_update
...
DNN: OpenCL/slice update
* dnn(ocl/slice): make slice kernel VTune friendly
- more unique names
- inline code of copy functions
* dnn(ocl/slice): prefer to spawn more work groups
- even in case with 1D copy
- perf improvement up to 2x of kernel time (due to changed configuration 128x1x1 => 128x32x1)
* dnn(ocl/slice): cache kernel exec info
2020-08-03 14:13:34 +00:00
Yosshi999
922108060d
Merge pull request #17907 from Yosshi999:gsoc_asift-py2cpp
...
* Implement ASIFT in C++
* '>>' should be '> >' within a nested template
* add a sample for asift usage
* bugfix empty keypoints cause crash
* simpler initialization for mask
* suppress the number of lines
* correct tex document
* type casting
* add descriptorsize for asift
* smaller testdata for asift
* more smaller test data
* add OpenCV short license header
2020-08-03 14:11:55 +00:00
Suleyman TURKMEN
c262eea84a
Update warpPerspective_demo.cpp
2020-08-03 12:14:01 +03:00
danielenricocahall
f2ca7e664a
add python binding and tests for composePanorama
...
fix tests
pick 54039c2afd add python binding and tests for composePanorama
2020-08-02 19:29:16 -04:00
Dmitry Kurtaev
cf8f65d806
Do not use size_t for nGraph layers
2020-08-02 20:50:44 +03:00
Pierre-Emmanuel Viel
bc221bdb90
Cleaner code for hierarchical_clustering
2020-08-02 18:05:54 +02:00
kadi soheib
6bed5c181b
Corrected Comment as requested by reviewer.
2020-07-31 23:43:38 +03:00
Maksim Shabunin
0d1d452b79
Merge pull request #17983 from Windfisch:Windfisch-patch-jpeg2000
2020-07-31 09:07:35 +00:00
Pavel Rojtberg
3c3e131c38
Merge pull request #17977 from paroj:hervec
...
* calib3d: calibrateHandEye - allow using Rodrigues vectors for rotation
* calib3d: calibrateHandEye - test rvec representation
2020-07-30 22:59:15 +03:00
Florian Jung
f66fc199a2
Fix build of grfmt_jpeg2000.cpp
...
libjasper has recently changed `jas_matrix_get` from a macro to an inline function
(389951d071 in https://github.com/jasper-software/jasper ), causing the build to fail.
2020-07-30 19:23:52 +02:00
Namgoo Lee
11ac26bfb4
test code
2020-07-30 01:42:44 +09:00
Namgoo Lee
2241bfb0df
Use "src" not "*this" for source GpuMat
2020-07-30 01:03:34 +09:00
Alexander Alekhin
e4d573a080
Merge pull request #17916 from SinM9:mish_functor_sin
2020-07-28 17:05:59 +00:00
Maksim Shabunin
1e18004bdd
Merge pull request #17943 from tomoaki0705:fixPolarToCartRounding
2020-07-27 08:32:03 +00:00
Tomoaki Teshima
19646ad049
let the test pass on Jetson
2020-07-25 23:45:51 +09:00
Maksim Shabunin
5bfa43f7d5
Merge pull request #17489 from Lapshin:ffmpeg_cap_consider_rotation_metadata_3.4
2020-07-23 08:35:51 +00:00
Alexander Smorkalov
7ed37b3fa5
MP4 autorotation tests and various fixes for Windows
...
- Added test for automated rotation for MP4 videos with metadata
- Fix 180 degrees rotation bug
- Moved rotation logic to cv::VideoCapture implementation for FFmpeg and restore binary compatibility with FFmpeg wrapper.
2020-07-23 09:30:18 +03:00
Alexey Lapshin
f0271e54d9
Autorotation for mp4 streams with metadata
...
- Add VideoCapture camera orientation property for mp4 videos with camera orientation meta.
- Add auto rotation for 90, 180, 270 degrees using cv::rotate
2020-07-23 09:27:04 +03:00
Sinitsina
0ac2f0e04c
mish_functor_update
2020-07-23 09:02:00 +03:00
Maksim Shabunin
ef1690ef45
Merge pull request #17913 from asmorkalov:as/connected_components_ref
2020-07-22 16:06:23 +00:00
Maksim Shabunin
0fa06b1db0
Merge pull request #17863 from nglee:dev_cudaDetachOutput
2020-07-22 08:19:32 +00:00
Alexander Smorkalov
abceef74e0
Added reference to Original Wu's articte about SAUF connected components search method.
2020-07-22 10:05:55 +03:00
Namgoo Lee
9411cd6c07
Use in-place npp function for inplace arguments
2020-07-21 10:27:43 +09:00
Liubov Batanina
a35d4f9029
Support Gather for variable inputs
2020-07-20 14:02:45 +03: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
8086afc60a
Merge pull request #17865 from alalek:add_missing_check_17036
2020-07-17 00:28:33 +00:00
Alexander Alekhin
b2ebd37ee2
Merge pull request #17856 from alalek:dnn_openvino_2020.4.0
2020-07-16 20:08:00 +00:00
Alexander Alekhin
83e6813345
imgproc: add missing check into cvtColorTwoPlane()
2020-07-16 20:01:44 +00:00
Alexander Alekhin
09f24a851e
Merge pull request #17764 from alalek:issue_17762
2020-07-16 15:27:21 +00:00
Alexander Alekhin
81e027eef7
dnn: fix OpenCL implementation of Slice layer
2020-07-16 04:33:52 +00:00
Alexander Alekhin
1c371d07b5
dnn(test): adjust tests for OpenVINO 2020.4
2020-07-15 23:47:40 +00:00
Alexander Alekhin
55e8549839
dnn: eliminate IE deprecation warning
2020-07-15 23:39:06 +00:00
Alexander Alekhin
435b6df989
dnn: use OpenVINO 2020.4 defines
...
original commit: 2813aa7eb9
2020-07-15 20:13:40 +00:00
Dmitry Kurtaev
cc584760d3
Fix TensorFlow->ONNX imports
2020-07-15 14:36:13 +03:00
Alexander Alekhin
d41b20b268
Merge pull request #17830 from alalek:fix_17815
2020-07-13 18:52:34 +00:00
Alexander Alekhin
36da867caf
features2d: v_fma => v_muladd for integers
2020-07-13 17:31:08 +00:00
Alexander Alekhin
c5f540e3d7
Merge pull request #17806 from alalek:dnn_ie_num_threads_windows
2020-07-13 17:12:31 +00:00
pemmanuelviel
c90e824342
Merge pull request #17639 from pemmanuelviel:pev--binary-kmeans
...
Pev binary kmeans
* Ongoing work transposing kmeans clustering method for bitfields: the computeClustering method
Ongoing work transposing kmeans clustering method for bitfields: interface computeBitfieldClustering
Fix genericity of computeNodeStatistics
Ongoing work transposing kmeans clustering method for bitfields: adapt computeNodeStatistics()
Ongoing work transposing kmeans clustering method for bitfields: adapt findNN() method
Ongoing work transposing kmeans clustering method for bitfields: allow kmeans with Hamming distance
Ongoing work transposing kmeans clustering method for bitfields: adapt distances code
Ongoing work transposing kmeans clustering method for bitfields: adapt load/save code
Ongoing work transposing kmeans clustering method for bitfields: adapt kmeans hierarchicalClustring()
PivotType -> CentersType Renaming
Fix type casting for ARM SIMD implementation of Hamming
Fix warnings with Win32 compilation
Fix warnings with Win64 compilation
Fix wrong parenthesis position on rounding
* Ensure proper rounding when CentersType is integral
2020-07-13 12:59:10 +00:00
jasonKercher
749bd80091
Merge pull request #17770 from jasonKercher:3.4_triggered
...
3.4 Allow first capture to return false
* fix first capture timeout
* fix first capture timeout
2020-07-13 12:29:54 +00:00
Alexander Alekhin
1c0b70bbd2
Merge pull request #17822 from alalek:issue_17792
2020-07-13 11:08:33 +00:00
Alexander Alekhin
e54040d540
core: use lazy on-demand initialization for param_traceEnable
2020-07-12 11:53:46 +00:00
Alexander Alekhin
b96e9a4a4a
Merge pull request #17800 from Yosshi999:gsoc_sift-universal-intrinsic
2020-07-11 19:09:21 +00:00
Alexander Alekhin
e18df87a15
Merge pull request #17635 from jsxyhelu:3.4
2020-07-10 15:11:53 +00:00
Alexander Alekhin
5cb8619eca
dnn(ie): enable KEY_CPU_THREADS_NUM for Windows
2020-07-10 14:29:21 +00:00
jsxyhelu
476094ad5a
Use“ moms” replace "contourArea"
...
double area = moms.m00;
is same as
double area = contourArea(contours[contourIdx]);
Not to mention
"moms" already calculated here,"contourArea" should not apply
2020-07-10 11:05:24 +00:00
Yosshi999
0df8fb70b4
use bufferarea for allocating buffer
2020-07-09 16:50:20 +00:00
Maksim Shabunin
4dd9a36a3c
Added test for checkMasks with UMat train descs
2020-07-09 16:22:19 +03:00
Maksim Shabunin
41678fe3d3
Fixed checkMasks in DescriptorMatcher with train descs in UMats
2020-07-09 16:05:20 +03:00
Alexander Alekhin
5bc6b6fc26
Merge pull request #17737 from pemmanuelviel:pev--fix-trees-descent
2020-07-08 20:59:29 +00:00
Alexander Alekhin
8931c68b20
Merge pull request #17707 from Yosshi999:gsoc_sift-universal-intrinsic
2020-07-08 20:33:40 +00:00
Alexander Alekhin
f78f908c09
Merge pull request #17674 from alalek:issue_16214
2020-07-08 20:01:35 +00:00
Alexander Alekhin
762a5c8334
imgproc: align GaussianBlur/sepFilter2D OpenCL with CPU version
2020-07-08 15:13:48 +00:00
Alexander Alekhin
2fed41dfa5
imgproc(test): test bitExact cases in OCL/sepFilter2D
2020-07-08 10:14:56 +00:00
Alexander Alekhin
e0f9eac521
cmake: backport CUDA scripts
2020-07-08 07:33:54 +00:00
Alexander Alekhin
950a916952
Merge pull request #17752 from YashasSamaga:generalize-concat-fusion-3.4
2020-07-07 10:36:02 +00:00
Alexander Alekhin
3f13339071
Merge pull request #17728 from sturkmen72:patch-4
2020-07-06 23:01:27 +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
d62e0a3695
Merge pull request #17743 from alalek:test_17666
2020-07-06 22:36:35 +00:00
Alexander Alekhin
dcb7fd8520
Merge pull request #17766 from alalek:backport_17756
2020-07-06 21:50:24 +00:00
Alexander Alekhin
d5713c657b
dnn(slice): disable buggy OCV/OCL implementation
2020-07-06 21:36:19 +00:00
Alexander Alekhin
99c4b76a6d
dnn(test): add YOLOv4-tiny tests
2020-07-06 21:36:19 +00:00
Ilya Churaev
d69a7a3bbf
Fixed header paths for some nGraph ops
...
* Added dependency on IE version
backport of commit: 992c908b56
2020-07-06 19:51:57 +00:00
Maksim Shabunin
e8129429e9
imgcodecs: fix test build with disabled JPEG and PNG libs
2020-07-06 14:52:52 +03:00
Suleyman TURKMEN
2566d13100
Update documentation of imwrite()
2020-07-06 11:02:50 +03:00
Alexander Alekhin
deaf1dd458
Merge pull request #17724 from pemmanuelviel:pev--fix-mix-of-types
2020-07-04 17:16:57 +00:00
pemmanuelviel
65f87b114b
Merge pull request #17722 from pemmanuelviel:pev--replace-asserts
...
* Clean: replace C style asserts by CV_Assert and CV_DbgAssert
* Try fixing warning on Windows compilation
* Another way trying to fix warnings on Win
* Fixing warnings with some compilers:
Some compilers warn on systematic exit preventing to execute the code that follows.
This is why assert(0) that exits only in debug was working, but not CV_Assert or CV_Error
that exit both in release and debug, even if with different behavior.
In addition, other compilers complain when return 0 is removed from getKey(),
even if before we have a statement leading to systematic exit.
* Disable "unreachable code" warnings for Win compilers so we can use proper CV_Error
2020-07-04 20:15:44 +03:00
Alexander Alekhin
8f5b453a96
Merge pull request #17719 from pemmanuelviel:pev--fix-computeNodeStatistics-genericity
2020-07-04 17:14:35 +00:00
YashasSamaga
b7eec216e9
generalize axis for concat fusion
2020-07-04 18:57:28 +05:30
kadi soheib
17c430da88
Updated comment.
2020-07-04 06:37:59 +03:00
kadi soheib
96a501c08b
Adding comment from source code to documentation.
2020-07-04 06:37:58 +03:00
Liubov Batanina
65dbbf712d
Merge pull request #17733 from l-bat:tiny_yolov4
...
* Supported yolov4-tiny
* Added comments
2020-07-03 18:07:08 +00:00
Alexander Alekhin
49497d8e7c
Merge pull request #17725 from pemmanuelviel:pev--precompute-divisor
2020-07-03 11:24:11 +00:00
Pierre-Emmanuel Viel
728684840c
Fix trees parsing behavior in hierarchical_clustering_index:
...
Before, when maxCheck was reached in the first descent of a tree, time was still wasted parsing
the next trees till their best leaves whose points were not used at all.
2020-07-03 01:19:10 +02:00
Alexander Alekhin
73f7d091f8
Merge pull request #17721 from pemmanuelviel:pev--fix-hist-intersect-arguments
2020-07-02 11:54:28 +00:00
Ken Shirriff
00e1bc49c8
Merge pull request #17708 from shirriff:patch-1
...
Clarify component statistics documentation
* Change ConnectedComponentsTypes documentation
Change from "algorithm output formats" to "statistics" because it specifies types of statistics, not formats.
* Documentation: clarify component statistics
Explain that ConnectedComponentTypes selects a statistic.
2020-07-02 13:58:53 +03:00
Pierre-Emmanuel Viel
6a045fd678
Fix arguments list in loadindex for histogram intersection
2020-07-01 18:59:45 +02:00
Pierre-Emmanuel Viel
327f92cc46
Precompute the divisor to ensure that no kind of compiler would process it on the fly at each call.
2020-07-01 18:52:05 +02:00
Pierre-Emmanuel Viel
482cacd420
Mix of 32 and 64bits vector types prevents vectorisation for distance computation.
...
Argument "a" is of type ElementType* that is either int* or float*, while b was double*.
Mixing types prevents the possibility to use SSE or AVX instructions.
On implementation without SIMD instructions, this doesn't show any impact on performance.
2020-07-01 18:27:07 +02:00
Pierre-Emmanuel Viel
93a6be836c
Remove duplicate line
2020-07-01 18:15:01 +02:00
Pierre-Emmanuel Viel
ef7185ce43
Fix genericity of computeNodeStatistics that couldn't compute stats properly on sub-nodes
2020-07-01 12:14:15 +02:00
Yosshi999
920c180052
use universal SIMD intrinsics for SIFT
2020-06-30 06:44:12 +00:00
Alexander Alekhin
a84afb6334
Merge pull request #17640 from pemmanuelviel:pev--fix-lsh-bad-any-cast
2020-06-29 20:53:34 +00:00
Pierre-Emmanuel Viel
cdac7c7bec
Add test checking we don't throw when creating GenericIndex with LshIndexParams()
2020-06-28 19:51:04 +00:00
Pierre-Emmanuel Viel
fe09c79f4b
Fix the 'cvflann::anyimpl::bad_any_cast' error using Lsh
2020-06-28 19:51:04 +00:00
Alexander Alekhin
cabad90d6c
Merge pull request #17636 from okamotoR:3.4
2020-06-27 20:17:16 +00:00