platform/upstream/opencv.git
4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 29 Oct 2019 20:46:51 +0000 (20:46 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15692 from alalek:core_tls_handle_thread_termination
Alexander Alekhin [Tue, 29 Oct 2019 20:40:35 +0000 (20:40 +0000)]
Merge pull request #15692 from alalek:core_tls_handle_thread_termination

4 years agoMerge pull request #15791 from alalek:android_camera2_issue_14915
Alexander Alekhin [Tue, 29 Oct 2019 19:10:00 +0000 (19:10 +0000)]
Merge pull request #15791 from alalek:android_camera2_issue_14915

4 years agoMerge pull request #15623 from ChipKerchner:optimizeHOGpipeline
Chip Kerchner [Tue, 29 Oct 2019 10:42:20 +0000 (06:42 -0400)]
Merge pull request #15623 from ChipKerchner:optimizeHOGpipeline

* Use circular lut hustory buffer in computeGradient of HOG

* Initialize prefetch data outside main loop.  Avoid code duplication.

4 years agoMerge pull request #15800 from alalek:issue_15796
Alexander Alekhin [Mon, 28 Oct 2019 20:11:36 +0000 (20:11 +0000)]
Merge pull request #15800 from alalek:issue_15796

4 years agogapi: fix opencv_world build
Alexander Alekhin [Mon, 28 Oct 2019 18:53:14 +0000 (18:53 +0000)]
gapi: fix opencv_world build

4 years agoandroid: use .getRowStride() in JavaCamera2View
Alexander Alekhin [Sun, 27 Oct 2019 11:14:17 +0000 (11:14 +0000)]
android: use .getRowStride() in JavaCamera2View

4 years agoMerge pull request #15777 from dbudniko:dbudniko/add_own_empty
Alexander Alekhin [Mon, 28 Oct 2019 13:31:16 +0000 (13:31 +0000)]
Merge pull request #15777 from dbudniko:dbudniko/add_own_empty

4 years agoMerge pull request #15793 from Cherubin7th:3.4
Alexander Alekhin [Sun, 27 Oct 2019 22:45:19 +0000 (22:45 +0000)]
Merge pull request #15793 from Cherubin7th:3.4

4 years agoFixed typo in assertion
André Lippok [Sun, 27 Oct 2019 16:43:31 +0000 (17:43 +0100)]
Fixed typo in assertion

4 years agoMerge pull request #15761 from alalek:core_trace_itt_parameter
Alexander Alekhin [Sat, 26 Oct 2019 21:39:08 +0000 (21:39 +0000)]
Merge pull request #15761 from alalek:core_trace_itt_parameter

4 years agocore(trace): add ITT control parameter
Alexander Alekhin [Tue, 22 Oct 2019 13:59:59 +0000 (16:59 +0300)]
core(trace): add ITT control parameter

- OPENCV_TRACE_ITT_ENABLE

4 years agoadd empty implementation
Dmitry Budnikov [Fri, 25 Oct 2019 14:50:09 +0000 (17:50 +0300)]
add empty implementation

4 years agoMerge pull request #15764 from ChipKerchner:demosaicingToHal
Alexander Alekhin [Fri, 25 Oct 2019 13:49:46 +0000 (13:49 +0000)]
Merge pull request #15764 from ChipKerchner:demosaicingToHal

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 24 Oct 2019 18:17:40 +0000 (18:17 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #15770 from terfendail:stereobm_fix
Alexander Alekhin [Thu, 24 Oct 2019 17:58:22 +0000 (17:58 +0000)]
Merge pull request #15770 from terfendail:stereobm_fix

4 years agoFixed StereoBM uniqueness check
Vitaly Tuzov [Thu, 24 Oct 2019 14:54:49 +0000 (17:54 +0300)]
Fixed StereoBM uniqueness check

4 years agoMerge pull request #15752 from dkurt:fix_15750
Alexander Alekhin [Thu, 24 Oct 2019 07:06:32 +0000 (07:06 +0000)]
Merge pull request #15752 from dkurt:fix_15750

4 years agocore(tls): implement releasing of TLS on thread termination
Alexander Alekhin [Sun, 13 Oct 2019 11:14:41 +0000 (11:14 +0000)]
core(tls): implement releasing of TLS on thread termination

- move TLS & instrumentation code out of core/utility.hpp
- (*) TLSData lost .gather() method (to dispose thread data on thread termination)
- use TLSDataAccumulator for reliable collecting of thread data
- prefer using of .detachData() + .cleanupDetachedData() instead of .gather() method

(*) API is broken: replace TLSData => TLSDataAccumulator if gather required
(objects disposal on threads termination is not available in accumulator mode)

4 years agoMerge pull request #15736 from akhakim:fix_for_ADE-859_using_namespace_cv_G_TYPED_KER...
Alexander Alekhin [Wed, 23 Oct 2019 17:07:32 +0000 (17:07 +0000)]
Merge pull request #15736 from akhakim:fix_for_ADE-859_using_namespace_cv_G_TYPED_KERNEL_fail_c++

4 years agoMerge pull request #15754 from float13:patch-1
Alexander Alekhin [Wed, 23 Oct 2019 17:02:22 +0000 (17:02 +0000)]
Merge pull request #15754 from float13:patch-1

4 years agoConvert demosaic functions to HAL
ChipKerchner [Wed, 23 Oct 2019 15:47:07 +0000 (10:47 -0500)]
Convert demosaic functions to HAL

4 years agoMerge pull request #15762 from rgarnov:return_exported_mkdatanode
Alexander Alekhin [Wed, 23 Oct 2019 12:05:28 +0000 (12:05 +0000)]
Merge pull request #15762 from rgarnov:return_exported_mkdatanode

4 years agoTutorial - Make required input args positional.
float13 [Tue, 22 Oct 2019 01:36:40 +0000 (21:36 -0400)]
Tutorial - Make required input args positional.

I think it would help to change all 3 of the the input file arguments to be "positional" for consistency with the other tutorials. This also simplifies the command line input to run this tutorial by reducing typing, and helpfully prints the "usage" info if any of the 3 required inputs are missing.

I'm new to OpenCV and working through the tutorials. I kept getting runtime errors with this one until I realized that the arguments weren't positional, and I was missing the "--input1", "--input2, "--input3" flags preceding the filenames. All of the previous tutorials had required filenames as positional arguments and didn't require this.

The original code would require each input to be specified like this:
./compareHist_Demo --input1 filename1 --input2 filename2 --input3 filename3

But with this change, the above command is simplified to:
./compareHist_Demo  filename1 filename2 filename3

This avoids a confusing runtime error to make things simpler for newcomers like me :)

4 years agoGAPI:Fix for using cv makes G_TYPED_KERNEL fail
Anna Khakimova [Wed, 23 Oct 2019 09:17:49 +0000 (12:17 +0300)]
GAPI:Fix for using cv makes G_TYPED_KERNEL fail

4 years agoMerge pull request #15759 from alalek:issue_15758
Alexander Alekhin [Tue, 22 Oct 2019 21:40:10 +0000 (21:40 +0000)]
Merge pull request #15759 from alalek:issue_15758

4 years agoReturned GModel::mkDataNode() overload for external backends
Ruslan Garnov [Tue, 22 Oct 2019 15:57:31 +0000 (18:57 +0300)]
Returned GModel::mkDataNode() overload for external backends

4 years agoMerge pull request #15738 from ChipKerchner:bugInt64x2Comparison
Chip Kerchner [Tue, 22 Oct 2019 13:37:20 +0000 (09:37 -0400)]
Merge pull request #15738 from ChipKerchner:bugInt64x2Comparison

Fixing bug with comparison of v_int64x2 or v_uint64x2

* Casting v_uint64x2 to v_float64x2 and comparing does NOT work in all cases.  Rewrite using epi64 instructions - faster too.

* Fix bad merge.

* Fix equal comparsion for non-SSE4.1. Add test cases for v_int64x2 comparisons.

* Try to fix merge conflict.

* Only test v_int64x2 comparisons if CV_SIMD_64F

* Fix compiler warning.

4 years agogapi: fix build
Alexander Alekhin [Tue, 22 Oct 2019 13:31:40 +0000 (16:31 +0300)]
gapi: fix build

- gcc 4.8.4 (ARMv7)

4 years agoMerge pull request #15739 from dkurt:darknet_shortcut_asymm
Alexander Alekhin [Tue, 22 Oct 2019 12:52:13 +0000 (12:52 +0000)]
Merge pull request #15739 from dkurt:darknet_shortcut_asymm

4 years agoMerge pull request #15756 from dankamongmen:dankamongmen/stitching_surf_default
Alexander Alekhin [Tue, 22 Oct 2019 12:51:29 +0000 (12:51 +0000)]
Merge pull request #15756 from dankamongmen:dankamongmen/stitching_surf_default

4 years agostitching_detailed: use correct match_conf default
nick black [Tue, 22 Oct 2019 06:16:29 +0000 (02:16 -0400)]
stitching_detailed: use correct match_conf default

The usage function states that the default for match_conf is
0.65 if the default SURF feature finder is used, and 0.3 for
orbs. Indeed, if --feature orbs is used, match_conf is set
to 0.3f. This is a NOP, because the real default is also set
to 0.3f. Change it to 0.65f when SURF is in play.

4 years agoMerge pull request #15735 from anton-potapov:gapi_async_documentaion
anton-potapov [Mon, 21 Oct 2019 19:33:18 +0000 (22:33 +0300)]
Merge pull request #15735 from anton-potapov:gapi_async_documentaion

* G-API: Doxygen documentatation for Async API

* G-API: Doxygen documentatation for Async API

 - renamed local variable (reading parameter async) async ->
asyncNumReq in object_detection DNN sample
to avoid Doxygen erroneous linking the sample to cv::gapi::wip::async
documentation

4 years agoFix custom IE layers in case of no MKLDNN plugin
Dmitry Kurtaev [Mon, 21 Oct 2019 16:09:44 +0000 (19:09 +0300)]
Fix custom IE layers in case of no MKLDNN plugin

4 years agoMerge pull request #14827 from YashasSamaga:cuda4dnn-csl-low
Yashas Samaga B L [Mon, 21 Oct 2019 11:28:00 +0000 (16:58 +0530)]
Merge pull request #14827 from YashasSamaga:cuda4dnn-csl-low

CUDA backend for the DNN module

* stub cuda4dnn design

* minor fixes for tests and doxygen

* add csl public api directory to module headers

* add low-level CSL components

* add high-level CSL components

* integrate csl::Tensor into backbone code

* switch to CPU iff unsupported; otherwise, fail on error

* add fully connected layer

* add softmax layer

* add activation layers

* support arbitary rank TensorDescriptor

* pass input wrappers to `initCUDA()`

* add 1d/2d/3d-convolution

* add pooling layer

* reorganize and refactor code

* fixes for gcc, clang and doxygen; remove cxx14/17 code

* add blank_layer

* add LRN layer

* add rounding modes for pooling layer

* split tensor.hpp into tensor.hpp and tensor_ops.hpp

* add concat layer

* add scale layer

* add batch normalization layer

* split math.cu into activations.cu and math.hpp

* add eltwise layer

* add flatten layer

* add tensor transform api

* add asymmetric padding support for convolution layer

* add reshape layer

* fix rebase issues

* add permute layer

* add padding support for concat layer

* refactor and reorganize code

* add normalize layer

* optimize bias addition in scale layer

* add prior box layer

* fix and optimize normalize layer

* add asymmetric padding support for pooling layer

* add event API

* improve pooling performance for some padding scenarios

* avoid over-allocation of compute resources to kernels

* improve prior box performance

* enable layer fusion

* add const layer

* add resize layer

* add slice layer

* add padding layer

* add deconvolution layer

* fix channelwise  ReLU initialization

* add vector traits

* add vectorized versions of relu, clipped_relu, power

* add vectorized concat kernels

* improve concat_with_offsets performance

* vectorize scale and bias kernels

* add support for multi-billion element tensors

* vectorize prior box kernels

* fix address alignment check

* improve bias addition performance of conv/deconv/fc layers

* restructure code for supporting multiple targets

* add DNN_TARGET_CUDA_FP64

* add DNN_TARGET_FP16

* improve vectorization

* add region layer

* improve tensor API, add dynamic ranks

1. use ManagedPtr instead of a Tensor in backend wrapper
2. add new methods to tensor classes
  - size_range: computes the combined size of for a given axis range
  - tensor span/view can be constructed from a raw pointer and shape
3. the tensor classes can change their rank at runtime (previously rank was fixed at compile-time)
4. remove device code from tensor classes (as they are unused)
5. enforce strict conditions on tensor class APIs to improve debugging ability

* fix parametric relu activation

* add squeeze/unsqueeze tensor API

* add reorg layer

* optimize permute and enable 2d permute

* enable 1d and 2d slice

* add split layer

* add shuffle channel layer

* allow tensors of different ranks in reshape primitive

* patch SliceOp to allow Crop Layer

* allow extra shape inputs in reshape layer

* use `std::move_backward` instead of `std::move` for insert in resizable_static_array

* improve workspace management

* add spatial LRN

* add nms (cpu) to region layer

* add max pooling with argmax ( and a fix to limits.hpp)

* add max unpooling layer

* rename DNN_TARGET_CUDA_FP32 to DNN_TARGET_CUDA

* update supportBackend to be more rigorous

* remove stray include from preventing non-cuda build

* include op_cuda.hpp outside condition #if

* refactoring, fixes and many optimizations

* drop DNN_TARGET_CUDA_FP64

* fix gcc errors

* increase max. tensor rank limit to six

* add Interp layer

* drop custom layers; use BackendNode

* vectorize activation kernels

* fixes for gcc

* remove wrong assertion

* fix broken assertion in unpooling primitive

* fix build errors in non-CUDA build

* completely remove workspace from public API

* fix permute layer

* enable accuracy and perf. tests for DNN_TARGET_CUDA

* add asynchronous forward

* vectorize eltwise ops

* vectorize fill kernel

* fixes for gcc

* remove CSL headers from public API

* remove csl header source group from cmake

* update min. cudnn version in cmake

* add numerically stable FP32 log1pexp

* refactor code

* add FP16 specialization to cudnn based tensor addition

* vectorize scale1 and bias1 + minor refactoring

* fix doxygen build

* fix invalid alignment assertion

* clear backend wrappers before allocateLayers

* ignore memory lock failures

* do not allocate internal blobs

* integrate NVTX

* add numerically stable half precision log1pexp

* fix indentation, following coding style,  improve docs

* remove accidental modification of IE code

* Revert "add asynchronous forward"

This reverts commit 1154b9da9da07e9b52f8a81bdcea48cf31c56f70.

* [cmake] throw error for unsupported CC versions

* fix rebase issues

* add more docs, refactor code, fix bugs

* minor refactoring and fixes

* resolve warnings/errors from clang

* remove haveCUDA() checks from supportBackend()

* remove NVTX integration

* changes based on review comments

* avoid exception when no CUDA device is present

* add color code for CUDA in Net::dump

4 years agoMerge pull request #15747 from TH3CHARLie:imshow-fix
Alexander Alekhin [Sun, 20 Oct 2019 13:08:40 +0000 (13:08 +0000)]
Merge pull request #15747 from TH3CHARLie:imshow-fix

4 years agoMerge pull request #15743 from collinbrake:feature_grammar_fixes_2
Alexander Alekhin [Sun, 20 Oct 2019 13:08:28 +0000 (13:08 +0000)]
Merge pull request #15743 from collinbrake:feature_grammar_fixes_2

4 years agoMerge pull request #14518 from SSteve:intersectConvexConvex-example
Alexander Alekhin [Sun, 20 Oct 2019 13:06:27 +0000 (13:06 +0000)]
Merge pull request #14518 from SSteve:intersectConvexConvex-example

4 years agoAdd documentation and example program for intersectConvexConvex
Steve Nicholson [Thu, 9 May 2019 00:54:17 +0000 (17:54 -0700)]
Add documentation and example program for intersectConvexConvex

4 years agofix incorrect imshow behavior
TH3CHARLie [Sat, 19 Oct 2019 12:34:18 +0000 (20:34 +0800)]
fix incorrect imshow behavior

4 years agoFix Darknet eltwise
Dmitry Kurtaev [Sat, 19 Oct 2019 09:54:15 +0000 (12:54 +0300)]
Fix Darknet eltwise

4 years agogrammar corrections for python gui docs
collin [Fri, 18 Oct 2019 21:42:56 +0000 (17:42 -0400)]
grammar corrections for python gui docs

4 years agoMerge pull request #15685 from pmur:cnz64f-simd
Alexander Alekhin [Fri, 18 Oct 2019 20:19:40 +0000 (20:19 +0000)]
Merge pull request #15685 from pmur:cnz64f-simd

4 years agoMerge pull request #15740 from xerus:fix_typo
Alexander Alekhin [Fri, 18 Oct 2019 18:41:35 +0000 (18:41 +0000)]
Merge pull request #15740 from xerus:fix_typo

4 years agoMerge pull request #15741 from mipsopen-fwu:issue_15730
Alexander Alekhin [Fri, 18 Oct 2019 18:40:25 +0000 (18:40 +0000)]
Merge pull request #15741 from mipsopen-fwu:issue_15730

4 years agoFix issue 15730.
Fei Wu [Fri, 18 Oct 2019 16:36:18 +0000 (00:36 +0800)]
Fix issue 15730.

4 years agoOpenCVFindMKL: Fix a typo
Pavel Grunt [Fri, 18 Oct 2019 16:04:48 +0000 (18:04 +0200)]
OpenCVFindMKL: Fix a typo

4 years agoMerge pull request #15216 from dmatveev:dm/ng-0010-g-api-streaming-api
Dmitry Matveev [Fri, 18 Oct 2019 16:29:58 +0000 (19:29 +0300)]
Merge pull request #15216 from dmatveev:dm/ng-0010-g-api-streaming-api

* G-API-NG/Streaming: Introduced a Streaming API

Now a GComputation can be compiled in a special "streaming" way
and then "played" on a video stream.

Currently only VideoCapture is supported as an input source.

* G-API-NG/Streaming: added threading & real streaming

* G-API-NG/Streaming: Added tests & docs on Copy kernel

- Added very simple pipeline tests, not all data types are covered yet
  (in fact, only GMat is tested now);
- Started testing non-OCV backends in the streaming mode;
- Added required fixes to Fluid backend, likely it works OK now;
- Added required fixes to OCL backend, and now it is likely broken
- Also added a UMat-based (OCL) version of Copy kernel

* G-API-NG/Streaming: Added own concurrent queue class

- Used only if TBB is not available

* G-API-NG/Streaming: Fixing various issues

- Added missing header to CMakeLists.txt
- Fixed various CI issues and warnings

* G-API-NG/Streaming: Fixed a compile-time GScalar queue deadlock

- GStreamingExecutor blindly created island's input queues for
  compile-time (value-initialized) GScalars which didn't have any
  producers, making island actor threads wait there forever

* G-API-NG/Streaming: Dropped own version of Copy kernel

One was added into master already

* G-API-NG/Streaming: Addressed GArray<T> review comments

- Added tests on mov()
- Removed unnecessary changes in garray.hpp

* G-API-NG/Streaming: Added Doxygen comments to new public APIs

Also fixed some other comments in the code

* G-API-NG/Streaming: Removed debug info, added some comments & renamed vars

* G-API-NG/Streaming: Fixed own-vs-cv abstraction leak

- Now every island is triggered with own:: (instead of cv::)
  data objects as inputs;
- Changes in Fluid backend required to support cv::Mat/Scalar were
  reverted;

* G-API-NG/Streaming: use holds_alternative<> instead of index/index_of test

- Also fixed regression test comments
- Also added metadata check comments for GStreamingCompiled

* G-API-NG/Streaming: Made start()/stop() more robust

- Fixed various possible deadlocks
- Unified the shutdown code
- Added more tests covering different corner cases on start/stop

* G-API-NG/Streaming: Finally fixed Windows crashes

In fact the problem hasn't been Windows-only.
Island thread popped data from queues without preserving the Cmd
objects and without taking the ownership over data acquired so when
islands started to process the data, this data may be already freed.

Linux version worked only by occasion.

* G-API-NG/Streaming: Fixed (I hope so) Windows warnings

* G-API-NG/Streaming: fixed typos in internal comments

- Also added some more explanation on Streaming/OpenCL status

* G-API-NG/Streaming: Added more unit tests on streaming

- Various start()/stop()/setSource() call flow combinations

* G-API-NG/Streaming: Added tests on own concurrent bounded queue

* G-API-NG/Streaming: Added more tests on various data types, + more

- Vector/Scalar passed as input;
- Vector/Scalar passed in-between islands;
- Some more assertions;
- Also fixed a deadlock problem when inputs are mixed (1 constant, 1 stream)

* G-API-NG/Streaming: Added tests on output data types handling

- Vector
- Scalar

* G-API-NG/Streaming: Fixed test issues with IE + Windows warnings

* G-API-NG/Streaming: Decoupled G-API from videoio

- Now the core G-API doesn't use a cv::VideoCapture directly,
  it comes in via an abstract interface;
- Polished a little bit the setSource()/start()/stop() semantics,
  now setSource() is mandatory before ANY call to start().

* G-API-NG/Streaming: Fix STANDALONE build (errors brought by render)

4 years agoEnable Eltwise layer with different numbers of inputs channels
Dmitry Kurtaev [Fri, 18 Oct 2019 15:51:52 +0000 (18:51 +0300)]
Enable Eltwise layer with different numbers of inputs channels

4 years agoMerge pull request #15737 from alalek:issue_15705
Alexander Alekhin [Fri, 18 Oct 2019 14:52:25 +0000 (14:52 +0000)]
Merge pull request #15737 from alalek:issue_15705

4 years agocore(simd): v_reverse() for MSA backend
Alexander Alekhin [Fri, 18 Oct 2019 13:05:03 +0000 (16:05 +0300)]
core(simd): v_reverse() for MSA backend

4 years agoMerge pull request #15716 from alalek:javadoc_fix
Alexander Alekhin [Thu, 17 Oct 2019 22:35:14 +0000 (22:35 +0000)]
Merge pull request #15716 from alalek:javadoc_fix

4 years agoMerge pull request #15180 from terfendail:wintr_stereobm
Alexander Alekhin [Thu, 17 Oct 2019 20:18:30 +0000 (20:18 +0000)]
Merge pull request #15180 from terfendail:wintr_stereobm

4 years agoMerge pull request #15699 from TolyaTalamanov:at/graph-ocv-render-backend-skeleton
atalaman [Thu, 17 Oct 2019 18:04:03 +0000 (21:04 +0300)]
Merge pull request #15699 from TolyaTalamanov:at/graph-ocv-render-backend-skeleton

G-API: Implement OpenCV render backend

* Implement render opencv backend

* Fix comment to review

* Add comment

* Add wrappers for kernels

* Fix comments to review

* Fix comment to review

4 years agoMerge pull request #15709 from alalek:js_simd_reverse
Alexander Alekhin [Thu, 17 Oct 2019 13:14:50 +0000 (13:14 +0000)]
Merge pull request #15709 from alalek:js_simd_reverse

4 years agoMerge pull request #15708 from alalek:js_simd_support_1.38.48
Alexander Alekhin [Thu, 17 Oct 2019 13:14:34 +0000 (13:14 +0000)]
Merge pull request #15708 from alalek:js_simd_support_1.38.48

4 years agoMerge pull request #15718 from alalek:pylint_warnings
Alexander Alekhin [Thu, 17 Oct 2019 10:46:02 +0000 (10:46 +0000)]
Merge pull request #15718 from alalek:pylint_warnings

4 years agoMerge pull request #15720 from alalek:cmake_fix_uwp
Alexander Smorkalov [Thu, 17 Oct 2019 10:35:27 +0000 (10:35 +0000)]
Merge pull request #15720 from alalek:cmake_fix_uwp

4 years agoMerge pull request #15722 from jasjuang:3.4
Alexander Smorkalov [Thu, 17 Oct 2019 10:19:47 +0000 (10:19 +0000)]
Merge pull request #15722 from jasjuang:3.4

4 years agodocument CC_STAT_MAX in ConnectedComponentsTypes
jasjuang [Thu, 17 Oct 2019 00:22:25 +0000 (17:22 -0700)]
document CC_STAT_MAX in ConnectedComponentsTypes

4 years agocmake: fix UWP scripts path
Alexander Alekhin [Wed, 16 Oct 2019 21:42:31 +0000 (21:42 +0000)]
cmake: fix UWP scripts path

4 years agoMerge pull request #15715 from adamrankin:patch-1
Alexander Alekhin [Wed, 16 Oct 2019 18:52:10 +0000 (18:52 +0000)]
Merge pull request #15715 from adamrankin:patch-1

4 years agofix pylint warnings
Alexander Alekhin [Wed, 16 Oct 2019 15:49:33 +0000 (18:49 +0300)]
fix pylint warnings

pylint 1.8.3

4 years agojavadoc: fix generation with OpenJDK 11
Alexander Alekhin [Wed, 16 Oct 2019 14:42:20 +0000 (17:42 +0300)]
javadoc: fix generation with OpenJDK 11

4 years agoCOMP: Enabling build with recent VTK version
Adam Rankin [Wed, 16 Oct 2019 14:04:41 +0000 (10:04 -0400)]
COMP: Enabling build with recent VTK version

VTK_MAJOR_VERSION not found unless header is included

4 years agoMerge pull request #15701 from alalek:issue_15691
Alexander Alekhin [Wed, 16 Oct 2019 11:13:07 +0000 (11:13 +0000)]
Merge pull request #15701 from alalek:issue_15691

4 years agoMerge pull request #15700 from alalek:issue_12943
Alexander Alekhin [Wed, 16 Oct 2019 11:12:49 +0000 (11:12 +0000)]
Merge pull request #15700 from alalek:issue_12943

4 years agojs(simd): v_reverse implementation
Alexander Alekhin [Tue, 15 Oct 2019 15:46:08 +0000 (18:46 +0300)]
js(simd): v_reverse implementation

4 years agoMerge pull request #15704 from alalek:gapi_avoid_dynamic_initializers_in_optimized_code
Alexander Alekhin [Tue, 15 Oct 2019 15:22:09 +0000 (15:22 +0000)]
Merge pull request #15704 from alalek:gapi_avoid_dynamic_initializers_in_optimized_code

4 years agojs(simd): support Emscripten 1.38.48-upstream
Alexander Alekhin [Tue, 15 Oct 2019 12:29:10 +0000 (15:29 +0300)]
js(simd): support Emscripten 1.38.48-upstream

4 years agocore(alloc): force initialization of memalign flag
Alexander Alekhin [Mon, 14 Oct 2019 15:39:54 +0000 (18:39 +0300)]
core(alloc): force initialization of memalign flag

- before main() launch

4 years agogapi: avoid dynamic initialization in dispatched files
Alexander Alekhin [Mon, 14 Oct 2019 22:55:20 +0000 (22:55 +0000)]
gapi: avoid dynamic initialization in dispatched files

4 years agocore(ipp): skip huge input in flip()
Alexander Alekhin [Mon, 14 Oct 2019 15:10:32 +0000 (18:10 +0300)]
core(ipp): skip huge input in flip()

- IPP/SSE4.2 works well

4 years agoMerge pull request #15684 from OrestChura:id_helper_class_semicolon_issue
Alexander Alekhin [Mon, 14 Oct 2019 09:46:41 +0000 (09:46 +0000)]
Merge pull request #15684 from OrestChura:id_helper_class_semicolon_issue

4 years agoMerge pull request #15659 from malfet:use-atomic-in-getExpTab32f
Alexander Alekhin [Sat, 12 Oct 2019 20:27:57 +0000 (20:27 +0000)]
Merge pull request #15659 from malfet:use-atomic-in-getExpTab32f

4 years agoMerge pull request #15655 from malfet:use-atomic-in-parallel-for
Alexander Alekhin [Sat, 12 Oct 2019 20:26:15 +0000 (20:26 +0000)]
Merge pull request #15655 from malfet:use-atomic-in-parallel-for

4 years agoMerge pull request #15688 from JamesNewton:3.4
Alexander Smorkalov [Sat, 12 Oct 2019 18:05:54 +0000 (18:05 +0000)]
Merge pull request #15688 from JamesNewton:3.4

4 years agoUpdate js_image_arithmetics.markdown
JamesNewton [Fri, 11 Oct 2019 17:07:22 +0000 (10:07 -0700)]
Update js_image_arithmetics.markdown

4 years agoMerge pull request #15662 from ChipKerchner:addVReverseIntrinsic
Chip Kerchner [Fri, 11 Oct 2019 15:34:17 +0000 (11:34 -0400)]
Merge pull request #15662 from ChipKerchner:addVReverseIntrinsic

* New v_reverse HAL intrinsic for reversing the ordering of a vector

* Fix conflict.

* Try to resolve conflict again.

* Try one more time.

* Add _MM_SHUFFLE. Remove non-vectorize code in SSE2. Fix copy and paste issue with NEON.

* Change v_uint16x8 SSE2 version to use shuffles

4 years agoMerge pull request #15527 from everton1984:faster_acc
Everton Constantino [Fri, 11 Oct 2019 15:32:59 +0000 (12:32 -0300)]
Merge pull request #15527 from everton1984:faster_acc

* Adding support for vectorized masking for uchar/ushort.

* Fixing bug where mask was zeroing the dst. Improved the way to calculate
the mask and tweaked for further performance improvements.

* Fixing mask comparison test.

* Restricting to one channel.

* Adding support for 3 channels, switch old approach to start using HAL's
v_select.

4 years agocore: vectorize countNonZero64f
Paul E. Murphy [Wed, 28 Aug 2019 17:09:07 +0000 (12:09 -0500)]
core: vectorize countNonZero64f

Improves performance a bit. 2.2x on P9 and 2 - 3x on coffee lake
x86-64.

4 years agoMerge pull request #15681 from mshabunin:fix-gapi-ie-test
Alexander Alekhin [Fri, 11 Oct 2019 13:12:45 +0000 (13:12 +0000)]
Merge pull request #15681 from mshabunin:fix-gapi-ie-test

4 years agoFix warning issue:
OrestChura [Thu, 10 Oct 2019 15:48:27 +0000 (18:48 +0300)]
Fix warning issue:
- unnecessary extra semicolon after member function definition removed

4 years agoG-API: removed deprecated IE call from test
Maksim Shabunin [Tue, 8 Oct 2019 12:50:56 +0000 (15:50 +0300)]
G-API: removed deprecated IE call from test

4 years agoMerge tag '4.1.2'
Alexander Alekhin [Wed, 9 Oct 2019 23:01:31 +0000 (23:01 +0000)]
Merge tag '4.1.2'

4 years agorelease: OpenCV 4.1.2
Alexander Alekhin [Wed, 9 Oct 2019 22:53:14 +0000 (22:53 +0000)]
release: OpenCV 4.1.2

OpenCV 4.1.2

4 years agoMerge tag '4.1.2-openvino'
Alexander Alekhin [Wed, 9 Oct 2019 22:52:29 +0000 (22:52 +0000)]
Merge tag '4.1.2-openvino'

4 years agoMerge pull request #15673 from TolyaTalamanov:at/fix-valgrind-issue
Alexander Alekhin [Wed, 9 Oct 2019 22:48:24 +0000 (22:48 +0000)]
Merge pull request #15673 from TolyaTalamanov:at/fix-valgrind-issue

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 9 Oct 2019 19:46:18 +0000 (19:46 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge tag '3.4.8'
Alexander Alekhin [Wed, 9 Oct 2019 15:33:35 +0000 (18:33 +0300)]
Merge tag '3.4.8'

4 years agoOpenCV release (3.4.8)
Alexander Alekhin [Wed, 9 Oct 2019 11:42:29 +0000 (14:42 +0300)]
OpenCV release (3.4.8)

OpenCV 3.4.8

4 years agoMerge pull request #15544 from mshabunin:disable_posix_memalign
Maksim Shabunin [Wed, 9 Oct 2019 11:06:12 +0000 (14:06 +0300)]
Merge pull request #15544 from mshabunin:disable_posix_memalign

* Disable posix_memalign by default

* core: fix memalign parameter handling

4 years agoMerge pull request #15666 from seanm:Wnewline
Alexander Smorkalov [Wed, 9 Oct 2019 11:04:44 +0000 (11:04 +0000)]
Merge pull request #15666 from seanm:Wnewline

4 years agoDefine operator<< for cv::gapi::wip::draw::Prim
Talamanov, Anatoliy [Wed, 9 Oct 2019 10:41:36 +0000 (13:41 +0300)]
Define operator<< for cv::gapi::wip::draw::Prim

4 years agoMerge pull request #15658 from tolysz:patch-1
Marcin Tolysz [Wed, 9 Oct 2019 08:38:10 +0000 (09:38 +0100)]
Merge pull request #15658 from tolysz:patch-1

* Cuda + OpenGL on ARM

There might be multiple ways of getting OpenCV compile on Tegra (NVIDIA Jetson) platform, but mainly they modify CUDA(8,9,10...) source code, this one fixes it for all installations.
( https://devtalk.nvidia.com/default/topic/1007290/jetson-tx2/building-opencv-with-opengl-support-/post/5141945/#5141945 et al.).
This way is exactly the same as the one proposed but the code change happens in OpenCV.

* Updated,
The link provided mentions: cuda8 + 9, I have cuda 10 + 10.1 (and can confirm it is still defined this way).
NVIDIA is probably using some other "secret" backend with Jetson.

4 years agoFixed clang -Wnewline-eof warning by adding newline to end of file
Sean McBride [Tue, 8 Oct 2019 18:16:11 +0000 (14:16 -0400)]
Fixed clang -Wnewline-eof warning by adding newline to end of file

4 years agoMerge pull request #15661 from alalek:fix_android_build_avx2
Alexander Alekhin [Tue, 8 Oct 2019 23:36:26 +0000 (23:36 +0000)]
Merge pull request #15661 from alalek:fix_android_build_avx2

4 years agoMerge pull request #15664 from alalek:build_eliminate_cuda_warnings
Alexander Alekhin [Tue, 8 Oct 2019 15:27:54 +0000 (15:27 +0000)]
Merge pull request #15664 from alalek:build_eliminate_cuda_warnings

4 years agobuild: eliminate CUDA warnings
Alexander Alekhin [Tue, 8 Oct 2019 12:30:02 +0000 (15:30 +0300)]
build: eliminate CUDA warnings

4 years agobuild: update AVX2 check
Alexander Alekhin [Tue, 8 Oct 2019 10:12:02 +0000 (13:12 +0300)]
build: update AVX2 check

- _mm256_bslli_epi128() works in GCC 4.9.3+ only
- Android NDK r10 doesn't support this instruction