platform/upstream/opencv.git
4 years agoMerge pull request #12670 from alalek:imgproc_getRotationMatrix2D_return_type
Alexander Alekhin [Sat, 28 Sep 2019 18:03:33 +0000 (18:03 +0000)]
Merge pull request #12670 from alalek:imgproc_getRotationMatrix2D_return_type

4 years agoMerge pull request #15591 from alalek:core_persistence_fix
Alexander Alekhin [Thu, 26 Sep 2019 12:59:37 +0000 (12:59 +0000)]
Merge pull request #15591 from alalek:core_persistence_fix

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 25 Sep 2019 15:59:07 +0000 (18:59 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15580 from smbz:dnn-lstm-reverse
Alexander Alekhin [Wed, 25 Sep 2019 15:54:05 +0000 (15:54 +0000)]
Merge pull request #15580 from smbz:dnn-lstm-reverse

4 years agoMerge pull request #15313 from andrey-golubev:map_subst_to_pattern
Andrey Golubev [Wed, 25 Sep 2019 15:19:45 +0000 (18:19 +0300)]
Merge pull request #15313 from andrey-golubev:map_subst_to_pattern

G-API: add transformation logic to GCompiler

* Introduce transformation logic to GCOmpiler

* Remove partialOk() method

* Fix minor issues

* Refactor code according to code review

1. Re-design matchPatternToSubstitute logic
2. Update transformations order
3. Replace check_transformations pass with a
   one time check in GCompiler ctor

* Revert unused nodes handling in pattern matching

* Address minor code review issues

* Address code review comments:

1) Fix some mistakes
2) Add new tests for endless loops
3) Update GCompiler's transformations logic

* Simplify GCompiler check for endless loops

1. Simplify transformations endless loops check:
 - Original idea wasn't a full solution
 - Need to develop a good method (heuristic?) to find loops
   in general case (TODO)
2. Remove irrelevant Endless Loops tests
3. Add new "bad arg" tests and unit tests

* Update comments

4 years agoMerge pull request #15579 from alalek:ocl_use_host_mem_ptr_flag
Alexander Alekhin [Wed, 25 Sep 2019 15:12:58 +0000 (15:12 +0000)]
Merge pull request #15579 from alalek:ocl_use_host_mem_ptr_flag

4 years agodnn: Allow LSTM layer to operate in reverse direction
Andrew Ryrie [Wed, 25 Sep 2019 13:12:43 +0000 (14:12 +0100)]
dnn: Allow LSTM layer to operate in reverse direction

This is useful for bidirectional LSTMs.

4 years agoMerge pull request #15582 from terfendail:pyrdown_oob
Alexander Alekhin [Wed, 25 Sep 2019 12:37:31 +0000 (12:37 +0000)]
Merge pull request #15582 from terfendail:pyrdown_oob

4 years agoMerge pull request #15572 from l-bat:deconv3d
Lubov Batanina [Wed, 25 Sep 2019 12:35:04 +0000 (15:35 +0300)]
Merge pull request #15572 from l-bat:deconv3d

Fix computation of internal shapes in Deconvolution layer

* Fix computation of internal shapes

* Refactoring

4 years agocore(ocl): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR
Alexander Alekhin [Tue, 24 Sep 2019 10:03:29 +0000 (13:03 +0300)]
core(ocl): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR

to control CL_MEM_USE_HOST_PTR usage

4 years agocore(persistence): fix reserveNodeSpace() implementation
Alexander Alekhin [Wed, 25 Sep 2019 11:01:44 +0000 (14:01 +0300)]
core(persistence): fix reserveNodeSpace() implementation

- avoid data copying after buffer block shrink
- resize current block in case of single FileNode

4 years agoMerge pull request #15581 from takacsd:3.4
Alexander Alekhin [Wed, 25 Sep 2019 10:45:49 +0000 (10:45 +0000)]
Merge pull request #15581 from takacsd:3.4

4 years agoFixed OOB reading in pyrDown
Vitaly Tuzov [Tue, 24 Sep 2019 15:41:39 +0000 (18:41 +0300)]
Fixed OOB reading in pyrDown

4 years agoMerge pull request #15573 from alalek:build_cxx11_warnings
Alexander Alekhin [Tue, 24 Sep 2019 22:08:55 +0000 (22:08 +0000)]
Merge pull request #15573 from alalek:build_cxx11_warnings

4 years agoAdd option to disable features in iOS build.
takacsd [Tue, 24 Sep 2019 15:42:35 +0000 (17:42 +0200)]
Add option to disable features in iOS build.

4 years agoMerge pull request #15371 from Wenzhao-Xiang:gsoc_2019
Wenzhao Xiang [Tue, 24 Sep 2019 13:30:42 +0000 (21:30 +0800)]
Merge pull request #15371 from Wenzhao-Xiang:gsoc_2019

[GSoC 2019] Improve the performance of JavaScript version of OpenCV (OpenCV.js)

* [GSoC 2019]

Improve the performance of JavaScript version of OpenCV (OpenCV.js):
1. Create the base of OpenCV.js performance test:
     This perf test is based on benchmark.js(https://benchmarkjs.com). And first add `cvtColor`, `Resize`, `Threshold` into it.
2. Optimize the OpenCV.js performance by WASM threads:
     This optimization is based on Web Worker API and SharedArrayBuffer, so it can be only used in browser.
3. Optimize the OpenCV.js performance by WASM SIMD:
     Add WASM SIMD backend for OpenCV Universal Intrinsics. It's experimental as WASM SIMD is still in development.

* [GSoC2019]

1. use short license header
2. fix documentation node issue
3. remove the unused `hasSIMD128()` api

* [GSoC2019]

1. fix emscripten define
2. use fallback function for f16

* [GSoC2019]

Fix rebase issue

4 years agoMerge pull request #15570 from smirnov-alexey:gapi_threshold_test
Alexander Alekhin [Tue, 24 Sep 2019 13:21:10 +0000 (13:21 +0000)]
Merge pull request #15570 from smirnov-alexey:gapi_threshold_test

4 years agoMerge pull request #15538 from terfendail:wui_checkany
Alexander Alekhin [Mon, 23 Sep 2019 15:52:24 +0000 (15:52 +0000)]
Merge pull request #15538 from terfendail:wui_checkany

4 years agobackport: fixed warnings produced by clang-9.0.0
Maksim Shabunin [Mon, 28 Jan 2019 11:48:00 +0000 (14:48 +0300)]
backport: fixed warnings produced by clang-9.0.0

ea3dc789867564e3727cde46245e35577a0c5d80
https://github.com/opencv/opencv_contrib/commit/83fc27cb99db4435d07974090fbdc77d831931cd

4 years agoMove maxval to threshold tests parameter
smirnov-alexey [Mon, 23 Sep 2019 11:21:33 +0000 (14:21 +0300)]
Move maxval to threshold tests parameter

Fix documentation

4 years agoMerge pull request #15566 from alalek:issue_15558
Alexander Alekhin [Mon, 23 Sep 2019 09:22:06 +0000 (09:22 +0000)]
Merge pull request #15566 from alalek:issue_15558

4 years agoMerge pull request #15565 from alalek:issue_15561
Alexander Alekhin [Mon, 23 Sep 2019 09:21:49 +0000 (09:21 +0000)]
Merge pull request #15565 from alalek:issue_15561

4 years agoMerge pull request #15564 from alalek:issue_15560
Alexander Alekhin [Mon, 23 Sep 2019 09:21:27 +0000 (09:21 +0000)]
Merge pull request #15564 from alalek:issue_15560

4 years agocore(test): fix check conditions
Alexander Alekhin [Sun, 22 Sep 2019 11:28:41 +0000 (11:28 +0000)]
core(test): fix check conditions

4 years agoml: add checks of empty train data
Alexander Alekhin [Sun, 22 Sep 2019 11:11:08 +0000 (11:11 +0000)]
ml: add checks of empty train data

4 years agoimgcodecs: add check image.empty() in imwrite()/imencode()
Alexander Alekhin [Sun, 22 Sep 2019 10:45:00 +0000 (10:45 +0000)]
imgcodecs: add check image.empty() in imwrite()/imencode()

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 20 Sep 2019 21:11:49 +0000 (21:11 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15554 from alalek:pr15422_patch_files
Alexander Alekhin [Fri, 20 Sep 2019 21:07:24 +0000 (00:07 +0300)]
Merge pull request #15554 from alalek:pr15422_patch_files

* 3rdparty: libpng v1.6.37 MSA patch (pr15422)

original files: https://github.com/glennrp/libpng/tree/v1.6.37/mips

* 3rdparty: libwebp MSA asm patch (pr15422)

4 years agoMerge pull request #15422 from mipsopen-fwu:msa-dev
mipsopen-fwu [Fri, 20 Sep 2019 16:52:48 +0000 (00:52 +0800)]
Merge pull request #15422 from mipsopen-fwu:msa-dev

* Added MSA implementations for mips platforms. Intrinsics for MSA and build scripts for MIPS platforms are added.

Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed some unused code in mips.toolchain.cmake.

Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Added comments for mips toolchain configuration and disabled compiling warnings for libpng.

Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Fixed the build error of unsupported opcode 'pause' when mips isa_rev is less than 2.

Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed FP16 related item in MSA option defines in OpenCVCompilerOptimizations.cmake.
2. Use CV_CPU_COMPILE_MSA instead of __mips_msa for MSA feature check in cv_cpu_dispatch.h.
3. Removed hasSIMD128() in intrin_msa.hpp.
4. Define CPU_MSA as 150.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed unnecessary CV_SIMD128_64F guarding in intrin_msa.hpp.
2. Removed unnecessary CV_MSA related code block in dotProd_8u().

Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Defined CPU_MSA_FLAGS_ON as "-mmsa".
2. Removed CV_SIMD128_64F guardings in intrin_msa.hpp.

Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed unused msa_mlal_u16() and msa_mlal_s16 from msa_macros.h.

Signed-off-by: Fei Wu <fwu@wavecomp.com>
4 years agoMerge pull request #15530 from sturkmen72:update_samples_v4
Alexander Alekhin [Fri, 20 Sep 2019 16:41:41 +0000 (16:41 +0000)]
Merge pull request #15530 from sturkmen72:update_samples_v4

4 years agoUpdate samples
Suleyman TURKMEN [Mon, 19 Aug 2019 21:40:45 +0000 (00:40 +0300)]
Update samples

4 years agoExtended v_check_any/v_check_all universal intrinsics to support 64-bit integer
Vitaly Tuzov [Wed, 18 Sep 2019 14:45:34 +0000 (17:45 +0300)]
Extended v_check_any/v_check_all universal intrinsics to support 64-bit integer

4 years agoMerge pull request #15540 from alalek:issue_15278_2
Alexander Alekhin [Wed, 18 Sep 2019 20:12:36 +0000 (20:12 +0000)]
Merge pull request #15540 from alalek:issue_15278_2

4 years agoMerge pull request #15519 from mshabunin:fix-custom-install
Alexander Alekhin [Wed, 18 Sep 2019 15:31:25 +0000 (15:31 +0000)]
Merge pull request #15519 from mshabunin:fix-custom-install

4 years agoMerge pull request #15477 from dab0bby:remove-old-build-java-option
dab0bby [Wed, 18 Sep 2019 15:30:01 +0000 (17:30 +0200)]
Merge pull request #15477 from dab0bby:remove-old-build-java-option

* remove old BUILD_opencv_java option

* replace old build_java option with new BUILD_JAVA option

4 years agocmake: use 'long long' for atomic check
Alexander Alekhin [Wed, 18 Sep 2019 15:18:09 +0000 (15:18 +0000)]
cmake: use 'long long' for atomic check

4 years agoMerge pull request #15515 from dkurt:dnn_detection_model_fix
Alexander Alekhin [Wed, 18 Sep 2019 12:19:14 +0000 (12:19 +0000)]
Merge pull request #15515 from dkurt:dnn_detection_model_fix

4 years agoMerge pull request #15516 from dkurt:dnn_detection_model_fix_3.4
Alexander Alekhin [Wed, 18 Sep 2019 11:22:26 +0000 (11:22 +0000)]
Merge pull request #15516 from dkurt:dnn_detection_model_fix_3.4

4 years agoMerge pull request #15529 from collinbrake:feature_grammar_fixes
Alexander Alekhin [Wed, 18 Sep 2019 11:19:59 +0000 (11:19 +0000)]
Merge pull request #15529 from collinbrake:feature_grammar_fixes

4 years agoMerge pull request #15531 from terfendail:disflow_fix
Maksim Shabunin [Tue, 17 Sep 2019 15:01:06 +0000 (15:01 +0000)]
Merge pull request #15531 from terfendail:disflow_fix

4 years agoMerge pull request #15399 from terfendail:perf_stereobm
Alexander Alekhin [Tue, 17 Sep 2019 14:26:43 +0000 (14:26 +0000)]
Merge pull request #15399 from terfendail:perf_stereobm

4 years agoFixed out of bound reading in DIS optical flow evaluation implementation
Vitaly Tuzov [Tue, 17 Sep 2019 12:53:18 +0000 (15:53 +0300)]
Fixed out of bound reading in DIS optical flow evaluation implementation

4 years agoGrammer fixes on python image display tutorial
collin [Mon, 16 Sep 2019 21:20:39 +0000 (17:20 -0400)]
Grammer fixes on python image display tutorial

4 years agoMerge pull request #15341 from DiebBlue:is5769
Daniel Kapusi [Mon, 16 Sep 2019 21:04:05 +0000 (23:04 +0200)]
Merge pull request #15341 from DiebBlue:is5769

* issue 5769 fixed: cv::stereoRectify fails if given inliers mask of type vector<uchar>

* issue5769 fix using reshape and add regression test

* regression test with outlier detection, testing vector and mat data

* Size comparision of wrong vector within CV_Assert in regression test corrected

* cleanup test code

4 years agoMerge pull request #15517 from mshabunin:fix-osx-avfoundation-auth
Alexander Alekhin [Mon, 16 Sep 2019 15:28:33 +0000 (15:28 +0000)]
Merge pull request #15517 from mshabunin:fix-osx-avfoundation-auth

4 years agoMerge pull request #15491 from terfendail:undistort_fix
Alexander Alekhin [Mon, 16 Sep 2019 15:24:29 +0000 (15:24 +0000)]
Merge pull request #15491 from terfendail:undistort_fix

4 years agoFixed universal intrinsic undistort() implementation
Vitaly Tuzov [Tue, 10 Sep 2019 08:40:14 +0000 (11:40 +0300)]
Fixed universal intrinsic undistort() implementation

4 years agoWindows: partially restore install config generation
Maksim Shabunin [Fri, 13 Sep 2019 12:51:15 +0000 (15:51 +0300)]
Windows: partially restore install config generation

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 13 Sep 2019 17:15:10 +0000 (17:15 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15518 from mshabunin:fix-osx-qt
Alexander Alekhin [Fri, 13 Sep 2019 17:06:00 +0000 (17:06 +0000)]
Merge pull request #15518 from mshabunin:fix-osx-qt

4 years agoMerge pull request #15476 from cancerberoSgx:js-docker
Alexander Alekhin [Fri, 13 Sep 2019 17:04:52 +0000 (17:04 +0000)]
Merge pull request #15476 from cancerberoSgx:js-docker

4 years agoMerge pull request #15449 from mshabunin:cmake-download-params
Alexander Alekhin [Fri, 13 Sep 2019 17:03:28 +0000 (17:03 +0000)]
Merge pull request #15449 from mshabunin:cmake-download-params

4 years agoMerge pull request #15487 from dkurt:fix_ie_2019r1
Alexander Alekhin [Fri, 13 Sep 2019 16:57:34 +0000 (16:57 +0000)]
Merge pull request #15487 from dkurt:fix_ie_2019r1

4 years agoMerge pull request #15511 from pmur:vmuleo-fix-gcc7
Alexander Alekhin [Fri, 13 Sep 2019 16:48:18 +0000 (16:48 +0000)]
Merge pull request #15511 from pmur:vmuleo-fix-gcc7

4 years agoFixed OSX build with Qt
Maksim Shabunin [Fri, 13 Sep 2019 12:23:59 +0000 (15:23 +0300)]
Fixed OSX build with Qt

4 years agoAVFoundation: backported runtime authorization check from master
Maksim Shabunin [Fri, 13 Sep 2019 10:20:29 +0000 (13:20 +0300)]
AVFoundation: backported runtime authorization check from master

4 years agoAVFoundation: fix authorization request not being shown
Maksim Shabunin [Fri, 13 Sep 2019 10:11:35 +0000 (13:11 +0300)]
AVFoundation: fix authorization request not being shown

4 years agoFix DetectionModel in case of out of [0, 1] range detection prediction
Dmitry Kurtaev [Fri, 13 Sep 2019 08:33:24 +0000 (11:33 +0300)]
Fix DetectionModel in case of out of [0, 1] range detection prediction

4 years agoFix dnn object detection sample
Dmitry Kurtaev [Fri, 13 Sep 2019 08:50:50 +0000 (11:50 +0300)]
Fix dnn object detection sample

4 years agoFix OpenVINO 2019R1 compilation
Dmitry Kurtaev [Mon, 9 Sep 2019 16:24:54 +0000 (19:24 +0300)]
Fix OpenVINO 2019R1 compilation

4 years agocore: workaround old gcc vec_mul{e,o} (Issue #15506)
Paul E. Murphy [Thu, 12 Sep 2019 14:45:56 +0000 (09:45 -0500)]
core: workaround old gcc vec_mul{e,o} (Issue #15506)

ISA 2.07 (aka POWER8) effectively extended the expanding multiply
operation to word types. The altivec intrinsics prior to gcc 8 did
not get the update.

Workaround this deficiency similar to other fixes.

This was exposed by commit 33fb253a66275abaa5060ef318c9a5cc87c5fd6e
which leverages the int -> dword expanding multiply.

This fixes Issue #15506

4 years agoMerge pull request #15468 from alalek:ffmpeg_update_master
Alexander Alekhin [Tue, 10 Sep 2019 09:57:57 +0000 (09:57 +0000)]
Merge pull request #15468 from alalek:ffmpeg_update_master

4 years agoMerge pull request #15466 from alalek:ffmpeg_update_3.4
Alexander Alekhin [Tue, 10 Sep 2019 09:57:38 +0000 (09:57 +0000)]
Merge pull request #15466 from alalek:ffmpeg_update_3.4

4 years agoffmpeg/4.x: update FFmpeg plugin
Alexander Alekhin [Thu, 5 Sep 2019 21:10:52 +0000 (21:10 +0000)]
ffmpeg/4.x: update FFmpeg plugin

ffmpeg: 4.1.3 -> 4.2.1
libvpx: 1.8.0 -> 1.8.1

4 years agoMerge pull request #15443 from anton-potapov:fluid_internal_parallellism_fix_review_c...
Maksim Shabunin [Mon, 9 Sep 2019 19:27:58 +0000 (19:27 +0000)]
Merge pull request #15443 from anton-potapov:fluid_internal_parallellism_fix_review_comments

4 years agoMerge pull request #15485 from anton-potapov:gapi_standalone_fix_cmake_warning
Maksim Shabunin [Mon, 9 Sep 2019 14:58:18 +0000 (14:58 +0000)]
Merge pull request #15485 from anton-potapov:gapi_standalone_fix_cmake_warning

4 years agoFluid Internal Parallelism:
Anton Potapov [Tue, 3 Sep 2019 12:03:51 +0000 (15:03 +0300)]
Fluid Internal Parallelism:

  - add comments on signature of custom parallel_for
  - use cv::parallel_for_ by default

4 years agoAdded performance test for StereoBM algorithm
Vitaly Tuzov [Mon, 26 Aug 2019 17:24:39 +0000 (20:24 +0300)]
Added performance test for StereoBM algorithm

4 years agoG-API: fixing CMake warning for standalone build
Anton Potapov [Mon, 9 Sep 2019 13:23:04 +0000 (16:23 +0300)]
G-API: fixing CMake warning for standalone build

4 years agojs docker build docs emcc latest warning
Sebastián Gurín [Fri, 6 Sep 2019 15:56:16 +0000 (12:56 -0300)]
js docker build docs emcc latest warning

4 years agoMerge pull request #15475 from alalek:build_eliminate_warning_array_bounds
Alexander Alekhin [Fri, 6 Sep 2019 15:57:52 +0000 (15:57 +0000)]
Merge pull request #15475 from alalek:build_eliminate_warning_array_bounds

4 years agoMerge pull request #15474 from alalek:gapi_test_valgrind_disable_memory_consuption_check
Alexander Alekhin [Fri, 6 Sep 2019 15:33:01 +0000 (15:33 +0000)]
Merge pull request #15474 from alalek:gapi_test_valgrind_disable_memory_consuption_check

4 years agoMerge pull request #15461 from alalek:imgproc_connectedcomponents_allocation
Alexander Alekhin [Fri, 6 Sep 2019 15:32:04 +0000 (15:32 +0000)]
Merge pull request #15461 from alalek:imgproc_connectedcomponents_allocation

4 years agots: eliminate -Warray-bounds warning
Alexander Alekhin [Fri, 6 Sep 2019 14:48:24 +0000 (17:48 +0300)]
ts: eliminate -Warray-bounds warning

4 years agogapi(test): disable memory consumption check in valgrind runs
Alexander Alekhin [Fri, 6 Sep 2019 14:00:18 +0000 (17:00 +0300)]
gapi(test): disable memory consumption check in valgrind runs

4 years agoffmpeg/3.4: update FFmpeg wrapper
Alexander Alekhin [Thu, 5 Sep 2019 20:52:46 +0000 (20:52 +0000)]
ffmpeg/3.4: update FFmpeg wrapper

4 years agoimgproc: avoid manual memory allocation in connectedcomponents.cpp
Alexander Alekhin [Thu, 5 Sep 2019 12:41:11 +0000 (15:41 +0300)]
imgproc: avoid manual memory allocation in connectedcomponents.cpp

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 5 Sep 2019 11:28:07 +0000 (14:28 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #14872 from AhiyaHiya:feature/topmost_window
Jaime [Thu, 5 Sep 2019 10:55:17 +0000 (06:55 -0400)]
Merge pull request #14872 from AhiyaHiya:feature/topmost_window

* Added mechanism to set/toggle NORMAL window to TOPMOST window.

* highgui: remove unnecessary/legacy code

4 years agoMerge pull request #15170 from sturkmen72:update_samples
Alexander Alekhin [Thu, 5 Sep 2019 10:44:06 +0000 (10:44 +0000)]
Merge pull request #15170 from sturkmen72:update_samples

4 years agoUpdate Samples
Suleyman TURKMEN [Sun, 28 Jul 2019 09:09:17 +0000 (12:09 +0300)]
Update Samples

4 years agoMerge pull request #15444 from alalek:ocl_fix_fft_kernel
Alexander Alekhin [Wed, 4 Sep 2019 16:25:34 +0000 (16:25 +0000)]
Merge pull request #15444 from alalek:ocl_fix_fft_kernel

4 years agoMerge pull request #15440 from everton1984:new_integral_tests
Everton Constantino [Wed, 4 Sep 2019 16:14:00 +0000 (13:14 -0300)]
Merge pull request #15440 from everton1984:new_integral_tests

* Adding all possible data type interactions to the perf tests since some
use SIMD acceleration and others do not.

* Disabling full tests by default.

* Giving proper names, removing magic numbers and sanity checks of new
performance tests for the integral function.

* Giving proper names, making array static.

4 years agoMerge pull request #15451 from mattmyne:calibratecameraRO_fix_emptyJo
Alexander Alekhin [Wed, 4 Sep 2019 16:12:30 +0000 (16:12 +0000)]
Merge pull request #15451 from mattmyne:calibratecameraRO_fix_emptyJo

4 years agoMerge pull request #15433 from huihut:master
huihut [Wed, 4 Sep 2019 15:36:56 +0000 (23:36 +0800)]
Merge pull request #15433 from huihut:master

* fix 'chmod' is not recognized as an internal or external command in Windows

https://github.com/opencv/opencv/issues/14939

* cmake: update PCH command handling

4 years agoPrevent empty _Jo matrix multiplication when using calibrateCameraRO with iFixedPoint > 0
Matt Bennett [Wed, 4 Sep 2019 14:33:03 +0000 (15:33 +0100)]
Prevent empty _Jo matrix multiplication when using calibrateCameraRO with iFixedPoint > 0

4 years agocmake: add directory creation to download helper scripts
Maksim Shabunin [Wed, 4 Sep 2019 10:59:28 +0000 (13:59 +0300)]
cmake: add directory creation to download helper scripts

4 years agocmake: download tries, customizable download parameters
Maksim Shabunin [Wed, 4 Sep 2019 08:20:12 +0000 (11:20 +0300)]
cmake: download tries, customizable download parameters

4 years agoMerge pull request #15063 from dkurt:dnn_ie_ocv_layers
Dmitry Kurtaev [Tue, 3 Sep 2019 15:58:57 +0000 (16:58 +0100)]
Merge pull request #15063 from dkurt:dnn_ie_ocv_layers

* Wrap unsupported by IE layers as custom layers

* Replace pointers to layers blobs to their shapes

* Enable Faster R-CNN with IE backend on CPU

4 years agocore(ocl): fix fft kernel compilation
Alexander Alekhin [Tue, 3 Sep 2019 12:46:53 +0000 (15:46 +0300)]
core(ocl): fix fft kernel compilation

- error: variables in the local address space can only be declared in the outermost scope of a kernel function

4 years agoMerge pull request #15437 from devnexen:fbsd_opencl_build_fix
Alexander Alekhin [Tue, 3 Sep 2019 12:21:02 +0000 (12:21 +0000)]
Merge pull request #15437 from devnexen:fbsd_opencl_build_fix

4 years agoMerge pull request #15442 from alalek:fix_15293
Alexander Alekhin [Tue, 3 Sep 2019 12:05:57 +0000 (12:05 +0000)]
Merge pull request #15442 from alalek:fix_15293

4 years agoMerge pull request #15436 from alalek:update_version_4.1.2-pre
Alexander Alekhin [Tue, 3 Sep 2019 12:05:16 +0000 (12:05 +0000)]
Merge pull request #15436 from alalek:update_version_4.1.2-pre

4 years agoMerge pull request #15435 from alalek:update_version_3.4.8-pre
Alexander Alekhin [Tue, 3 Sep 2019 12:04:22 +0000 (12:04 +0000)]
Merge pull request #15435 from alalek:update_version_3.4.8-pre

4 years agogapi(test): fix 32S->8U type in OwnMatConversion.WithND
Alexander Alekhin [Tue, 3 Sep 2019 11:00:28 +0000 (14:00 +0300)]
gapi(test): fix 32S->8U type in OwnMatConversion.WithND

4 years agoMerge pull request #15424 from mshabunin:add-cmake-docs
Alexander Alekhin [Tue, 3 Sep 2019 10:50:45 +0000 (10:50 +0000)]
Merge pull request #15424 from mshabunin:add-cmake-docs

4 years agoMerge pull request #15419 from OrestChura:gapi_headers_internal_flag_issue
OrestChura [Tue, 3 Sep 2019 10:22:12 +0000 (13:22 +0300)]
Merge pull request #15419 from OrestChura:gapi_headers_internal_flag_issue

* - headers in "infer/" and "infer/ie/" folders are included into gapi_ext_hdrs;
+ because of that a few #includes are required in the headers
- HAVE_INF_ENGINE flag check in headers "infer/ie.hpp" and "infer/ie/util.hpp" is deleted

* - the "ie/util.hpp" header is a private header now as it's used for tests; it's been moved to the scr directory to the place next to the implementation file "ie/giebackend.cpp"
- the path to this header in files "ie/giebackend.cpp" and "test/infer/gapi_infer_ie_test.cpp" is updated
- As it's private header now and explicitly depends on IE, the "HAVE_INF_ENGINE" flag check is returned

4 years agoOpenCL: FreeBSD build fix
David Carlier [Mon, 2 Sep 2019 13:39:31 +0000 (13:39 +0000)]
OpenCL: FreeBSD build fix

4 years agoMerge pull request #15438 from anton-potapov:fluid_internal_parallellism_fix_kw
Alexander Alekhin [Mon, 2 Sep 2019 15:47:21 +0000 (15:47 +0000)]
Merge pull request #15438 from anton-potapov:fluid_internal_parallellism_fix_kw

4 years agoFluid Internal Parallelism
Anton Potapov [Mon, 2 Sep 2019 13:16:01 +0000 (16:16 +0300)]
Fluid Internal Parallelism

   - make static analysis happy