platform/upstream/opencv.git
5 years agoMerge pull request #12894 from alalek:c_api_drop_samples
Alexander Alekhin [Wed, 24 Oct 2018 15:40:03 +0000 (15:40 +0000)]
Merge pull request #12894 from alalek:c_api_drop_samples

5 years agoMerge pull request #12922 from alalek:fix_merge_12787
Alexander Alekhin [Wed, 24 Oct 2018 15:15:13 +0000 (15:15 +0000)]
Merge pull request #12922 from alalek:fix_merge_12787

5 years agoMerge pull request #12887 from alalek:fix_cmake_conditions
Alexander Alekhin [Wed, 24 Oct 2018 13:17:54 +0000 (13:17 +0000)]
Merge pull request #12887 from alalek:fix_cmake_conditions

5 years agocore: fix merge from 3.4
Alexander Alekhin [Wed, 24 Oct 2018 11:45:45 +0000 (14:45 +0300)]
core: fix merge from 3.4

`CV_ErrorNoReturn` should not be used in OpenCV

5 years agoMerge pull request #12857 from dmatveev:hld
Dmitry Matveev [Wed, 24 Oct 2018 04:47:56 +0000 (07:47 +0300)]
Merge pull request #12857 from dmatveev:hld

* G-API Documentation: first submission

This PR introduces a number of new OpenCV documentation chapters for
Graph API module.

In particular, the following topics are covered:
- Introduction & background information;
- High-level design overview;
- Kernel API;
- Pipeline example.

All changes are done in Markdown files, no headers, etc modified.

Doxygen references for main API classes will be added later.

Also, a tutorial will be introduced soon (in the common Tutorials place)

* G-API Documentation - fix warnings & trailing whitespaces

* G-API Documentation: address review issues

* G-API Documentation: export code snippets to compileable files

* gapi: move documentation samples

5 years agorewrote the line segment intersection function to make the static analyzer happy...
Vadim Pisarevsky [Tue, 23 Oct 2018 14:09:23 +0000 (17:09 +0300)]
rewrote the line segment intersection function to make the static analyzer happy (#12902)

* rewrote the line segment intersection function to make the static analyzer happy

* fixed bug with improper "no intersection" detection in some of corner cases

* fixed bug with improper "no intersection" detection in some of corner cases

5 years agodrop C-API sample code
Alexander Alekhin [Mon, 22 Oct 2018 17:22:11 +0000 (17:22 +0000)]
drop C-API sample code

5 years agocmake: fix variable expand in CMake conditions
Alexander Alekhin [Sun, 21 Oct 2018 15:02:40 +0000 (15:02 +0000)]
cmake: fix variable expand in CMake conditions

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 20 Oct 2018 11:37:54 +0000 (11:37 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #12871 from UnderscoreAsterisk:document-Distance
Apoorv Goel [Sat, 20 Oct 2018 08:15:13 +0000 (13:45 +0530)]
Merge pull request #12871 from UnderscoreAsterisk:document-Distance

* Document distance functors in dist.h

* Add spec for Distance

* Generate appropriate links for symbols

5 years agoMerge pull request #12875 from dkurt:dnn_enet_accuracy
Alexander Alekhin [Fri, 19 Oct 2018 15:33:48 +0000 (15:33 +0000)]
Merge pull request #12875 from dkurt:dnn_enet_accuracy

5 years agoMerge pull request #12870 from dmatveev:gapi_fluid_basic_hetero_support
Dmitry Matveev [Fri, 19 Oct 2018 15:32:48 +0000 (18:32 +0300)]
Merge pull request #12870 from dmatveev:gapi_fluid_basic_hetero_support

* G-API Fluid basic heterogeneity support: initial upload

* G-API Fluid heterogeneity: address some coding style issues

* G-API Fluid heterogeneity: fix compiler warnings

* G-API Fluid heterogeneity: fix warnings on Windows & ARMv7

* G-API Fluid heterogeneity: finally fix Windows warnings

* G-API Fluid heterogeneity: fix dangling reference problem

5 years agoFix ENet test
Dmitry Kurtaev [Fri, 19 Oct 2018 14:43:26 +0000 (17:43 +0300)]
Fix ENet test

5 years agoMerge pull request #12867 from UnderscoreAsterisk:document-radiusSearch
Alexander Alekhin [Thu, 18 Oct 2018 07:52:49 +0000 (07:52 +0000)]
Merge pull request #12867 from UnderscoreAsterisk:document-radiusSearch

5 years agoMerge pull request #12832 from kmansoo:fix-compile-errors-on-nvcc10
Alexander Alekhin [Thu, 18 Oct 2018 07:51:47 +0000 (07:51 +0000)]
Merge pull request #12832 from kmansoo:fix-compile-errors-on-nvcc10

5 years agoAdd documentation for radiusSearch
Apoorv [Wed, 17 Oct 2018 22:39:16 +0000 (04:09 +0530)]
Add documentation for radiusSearch

5 years agocuda: fix build with CUDA 10.x
Mansoo Kim [Wed, 17 Oct 2018 17:35:40 +0000 (17:35 +0000)]
cuda: fix build with CUDA 10.x

5 years agoMerge pull request #12852 from nangchoo:bugfix/increase_magic_threshold_for_perf_test
Alexander Alekhin [Wed, 17 Oct 2018 17:31:19 +0000 (17:31 +0000)]
Merge pull request #12852 from nangchoo:bugfix/increase_magic_threshold_for_perf_test

5 years agoMerge pull request #12844 from jasjuang:3.4
Alexander Alekhin [Wed, 17 Oct 2018 17:31:00 +0000 (17:31 +0000)]
Merge pull request #12844 from jasjuang:3.4

5 years agoMerge pull request #12864 from dkurt:dnn_ie_get_batch_size
Alexander Alekhin [Wed, 17 Oct 2018 14:02:25 +0000 (14:02 +0000)]
Merge pull request #12864 from dkurt:dnn_ie_get_batch_size

5 years agoMerge pull request #12863 from alalek:disable_wshadow_gcc_4.x
Alexander Alekhin [Wed, 17 Oct 2018 13:59:13 +0000 (13:59 +0000)]
Merge pull request #12863 from alalek:disable_wshadow_gcc_4.x

5 years agoImplement getBatchSize for Intel's Inference Engine networks
Dmitry Kurtaev [Wed, 17 Oct 2018 11:02:37 +0000 (14:02 +0300)]
Implement getBatchSize for Intel's Inference Engine networks

5 years agoMerge pull request #12838 from dmatveev:gapi_fluid_resize_lpi
Alexander Alekhin [Wed, 17 Oct 2018 09:22:28 +0000 (09:22 +0000)]
Merge pull request #12838 from dmatveev:gapi_fluid_resize_lpi

5 years agobuild: eliminate warnings
Alexander Alekhin [Wed, 17 Oct 2018 08:41:18 +0000 (08:41 +0000)]
build: eliminate warnings

5 years agoMerge pull request #12860 from janisozaur:include-guards
Alexander Alekhin [Wed, 17 Oct 2018 08:20:31 +0000 (08:20 +0000)]
Merge pull request #12860 from janisozaur:include-guards

5 years agoMerge pull request #12859 from janisozaur:empty-block
Alexander Alekhin [Wed, 17 Oct 2018 08:20:08 +0000 (08:20 +0000)]
Merge pull request #12859 from janisozaur:empty-block

5 years agoMerge pull request #12858 from janisozaur:catch-by-ref
Alexander Alekhin [Wed, 17 Oct 2018 08:19:11 +0000 (08:19 +0000)]
Merge pull request #12858 from janisozaur:catch-by-ref

5 years agoFix clashing include guards
Michał Janiszewski [Tue, 16 Oct 2018 19:15:54 +0000 (21:15 +0200)]
Fix clashing include guards

Relevant guards can be found in
https://github.com/opencv/opencv/blob/ef5579dc8667e5eb5e149acc4af898421eed99da/modules/features2d/src/kaze/AKAZEConfig.h#L8
and
https://github.com/opencv/opencv/blob/ef5579dc8667e5eb5e149acc4af898421eed99da/modules/ml/include/opencv2/ml.hpp#L44

5 years agoRemove unused empty block
Michał Janiszewski [Tue, 16 Oct 2018 19:13:23 +0000 (21:13 +0200)]
Remove unused empty block

5 years agoCatch exceptions by const-reference
Michał Janiszewski [Tue, 16 Oct 2018 19:09:26 +0000 (21:09 +0200)]
Catch exceptions by const-reference

Exceptions caught by value incur needless cost in C++, most of them can
be caught by const-reference, especially as nearly none are actually
used. This could allow compiler generate a slightly more efficient code.

5 years agoIncreased the acceptable error margin for perf testing
Paul Shin [Tue, 16 Oct 2018 03:03:39 +0000 (20:03 -0700)]
Increased the acceptable error margin for perf testing

- This is to accommodate the variabiilty in floating-point operations in new platforms/compilers
- Specifically due to the error margin found in NVIDIA Jetson TX2

5 years agoMerge tag '4.0.0-beta'
Alexander Alekhin [Mon, 15 Oct 2018 20:33:41 +0000 (20:33 +0000)]
Merge tag '4.0.0-beta'

5 years agorelease: OpenCV 4.0.0-beta (version++)
Alexander Alekhin [Mon, 15 Oct 2018 20:31:53 +0000 (20:31 +0000)]
release: OpenCV 4.0.0-beta (version++)

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 15 Oct 2018 20:15:42 +0000 (20:15 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #12848 from alalek:issue_12337
Alexander Alekhin [Mon, 15 Oct 2018 20:09:36 +0000 (20:09 +0000)]
Merge pull request #12848 from alalek:issue_12337

5 years agoMerge pull request #12845 from alalek:workaround_12824
Alexander Alekhin [Mon, 15 Oct 2018 20:09:06 +0000 (20:09 +0000)]
Merge pull request #12845 from alalek:workaround_12824

5 years agoMerge pull request #12846 from alalek:issue_12834
Alexander Alekhin [Mon, 15 Oct 2018 19:19:46 +0000 (19:19 +0000)]
Merge pull request #12846 from alalek:issue_12834

5 years agoMerge pull request #12843 from alalek:fix_qrdecode_input_validation
Alexander Alekhin [Mon, 15 Oct 2018 19:18:58 +0000 (19:18 +0000)]
Merge pull request #12843 from alalek:fix_qrdecode_input_validation

5 years agoMerge pull request #12829 from tomoaki0705:fixTestVideoOpenCLPyrLK
Alexander Alekhin [Mon, 15 Oct 2018 19:18:24 +0000 (19:18 +0000)]
Merge pull request #12829 from tomoaki0705:fixTestVideoOpenCLPyrLK

5 years agoMerge pull request #12837 from dkurt:dnn_fix_ie
Alexander Alekhin [Mon, 15 Oct 2018 19:17:18 +0000 (19:17 +0000)]
Merge pull request #12837 from dkurt:dnn_fix_ie

5 years agocore: update solveLP() interface
Alexander Alekhin [Mon, 15 Oct 2018 18:58:11 +0000 (18:58 +0000)]
core: update solveLP() interface

5 years agovideoio: return -1 is incorrect for function with 'bool' result
Alexander Alekhin [Mon, 15 Oct 2018 18:20:15 +0000 (18:20 +0000)]
videoio: return -1 is incorrect for function with 'bool' result

5 years agoocl: bailout from unsupported types
Alexander Alekhin [Mon, 15 Oct 2018 18:06:06 +0000 (18:06 +0000)]
ocl: bailout from unsupported types

5 years agoadd support for latest Turing gpu and cuda 10
jasjuang [Mon, 15 Oct 2018 17:40:24 +0000 (10:40 -0700)]
add support for latest Turing gpu and cuda 10

5 years agoobjdetect: validate QRdecode inputs
Alexander Alekhin [Mon, 15 Oct 2018 17:13:16 +0000 (17:13 +0000)]
objdetect: validate QRdecode inputs

- drop unnecessary matrix initialization

5 years agoMerge pull request #12836 from dmatveev:gapi_upd151018
Alexander Alekhin [Mon, 15 Oct 2018 16:20:52 +0000 (16:20 +0000)]
Merge pull request #12836 from dmatveev:gapi_upd151018

5 years agoMerge pull request #12775 from radomsak:radomsak_dnn_fix_caffe_importer_reused_layers
Alexander Alekhin [Mon, 15 Oct 2018 14:44:23 +0000 (14:44 +0000)]
Merge pull request #12775 from radomsak:radomsak_dnn_fix_caffe_importer_reused_layers

5 years agoMerge pull request #12799 from alalek:update_build_js
Alexander Alekhin [Mon, 15 Oct 2018 14:35:21 +0000 (17:35 +0300)]
Merge pull request #12799 from alalek:update_build_js

* js: update build script

- support emscipten 1.38.12 (wasm is ON by default)
- verbose build messages

* js: use builtin Math functions

* js: disable tracing code completelly

5 years agoMerge pull request #12826 from alalek:issue_8413
Alexander Alekhin [Mon, 15 Oct 2018 14:24:56 +0000 (14:24 +0000)]
Merge pull request #12826 from alalek:issue_8413

5 years agoMerge pull request #12825 from alalek:issue_8413_3.4
Alexander Alekhin [Mon, 15 Oct 2018 14:23:21 +0000 (14:23 +0000)]
Merge pull request #12825 from alalek:issue_8413_3.4

5 years agoG-API: Introduce LPI (multiple Lines-Per-Iteration) support for Resize
Dmitry Matveev [Mon, 15 Oct 2018 14:08:18 +0000 (17:08 +0300)]
G-API: Introduce LPI (multiple Lines-Per-Iteration) support for Resize

Several Resize optimizations count on fetching multiple input lines at
once to do interpolation more efficiently.

At the moment, Fluid backend supports only LPI=1 for Resize kernels.

This patch introduces scheduling support for Resizes with LPI>1 and
covers these cases with new tests.

The support is initially written by Ruslan Garnov.

5 years agofix test failure of PyrLKOpticalFlow.Mat
Tomoaki Teshima [Mon, 15 Oct 2018 13:57:08 +0000 (22:57 +0900)]
fix test failure of PyrLKOpticalFlow.Mat
  * remove race condition
  * upload _prevPts to OpenCL device explicitly before calling "sparse"

5 years agoMerge pull request #12344 from terfendail:core_wintr
Alexander Alekhin [Mon, 15 Oct 2018 13:48:15 +0000 (13:48 +0000)]
Merge pull request #12344 from terfendail:core_wintr

5 years agoFix Pooling and Convolution layers from Intel's Inference Engine
Dmitry Kurtaev [Mon, 15 Oct 2018 13:40:28 +0000 (16:40 +0300)]
Fix Pooling and Convolution layers from Intel's Inference Engine

5 years agoG-API: Fixed static analysis issue in own::Mat
Dmitry Matveev [Mon, 15 Oct 2018 13:31:31 +0000 (16:31 +0300)]
G-API: Fixed static analysis issue in own::Mat

Tool reported a false alarm on possible out-of-bounds access which
was work-arounded to make code more clear

5 years agoMerge pull request #12516 from seiko2plus:changeUnvMultiply16
Alexander Alekhin [Mon, 15 Oct 2018 12:07:40 +0000 (12:07 +0000)]
Merge pull request #12516 from seiko2plus:changeUnvMultiply16

5 years agoAdded test caffe importer layers sharing weights
Adam Radomski [Mon, 15 Oct 2018 09:42:26 +0000 (11:42 +0200)]
Added test caffe importer layers sharing weights

5 years agoReplaced core module calls to universal intrinsics with wide universal intrinsics
Vitaly Tuzov [Wed, 5 Sep 2018 13:17:43 +0000 (16:17 +0300)]
Replaced core module calls to universal intrinsics with wide universal intrinsics

5 years agoMerge pull request #12697 from tellowkrinkle:FasterCocoaWindows
tellowkrinkle [Sun, 14 Oct 2018 18:18:05 +0000 (13:18 -0500)]
Merge pull request #12697 from tellowkrinkle:FasterCocoaWindows

* Make cocoa windows draw faster

* Use a CALayer for rendering when possible Uses GPU to scale images, which is important because retina macs will want window sizes much larger (in pixels) than the image

* Fix mouse logic for cocoa windows

* Only halve resolution on retina if image is larger than display

5 years agoMerge pull request #12823 from tompollok:3.4
Alexander Alekhin [Sun, 14 Oct 2018 13:33:23 +0000 (13:33 +0000)]
Merge pull request #12823 from tompollok:3.4

5 years agogapi(test): disable divide tests with zeros
Alexander Alekhin [Sun, 14 Oct 2018 03:47:40 +0000 (03:47 +0000)]
gapi(test): disable divide tests with zeros

5 years agocore: follow IEEE 754 rules for floating-point division
Alexander Alekhin [Sun, 14 Oct 2018 00:37:10 +0000 (00:37 +0000)]
core: follow IEEE 754 rules for floating-point division

5 years agocore(test): zero values divide test (4.0+)
Alexander Alekhin [Sun, 14 Oct 2018 01:28:54 +0000 (01:28 +0000)]
core(test): zero values divide test (4.0+)

5 years agoMerge branch 'issue_8413_3.4'
Alexander Alekhin [Sun, 14 Oct 2018 03:46:01 +0000 (03:46 +0000)]
Merge branch 'issue_8413_3.4'

5 years agocore(test): zero values divide test (3.x)
Alexander Alekhin [Sun, 14 Oct 2018 02:21:13 +0000 (02:21 +0000)]
core(test): zero values divide test (3.x)

5 years agocore(ocl): replace ambiguous 'depth' to 'DEPTH_dst'
Alexander Alekhin [Sun, 14 Oct 2018 01:49:14 +0000 (01:49 +0000)]
core(ocl): replace ambiguous 'depth' to 'DEPTH_dst'

- always pass DEPTH_dst value to core/arithm kernel

5 years agochange area() emptiness checks to empty()
tompollok [Sat, 13 Oct 2018 19:35:10 +0000 (21:35 +0200)]
change area() emptiness checks to empty()

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 13 Oct 2018 15:13:45 +0000 (15:13 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #12805 from drkoller:imwritedoc
Alexander Alekhin [Sat, 13 Oct 2018 13:20:33 +0000 (13:20 +0000)]
Merge pull request #12805 from drkoller:imwritedoc

5 years agoMerge pull request #12815 from alalek:issue_12812
Alexander Alekhin [Sat, 13 Oct 2018 13:12:55 +0000 (13:12 +0000)]
Merge pull request #12815 from alalek:issue_12812

5 years agoMerge pull request #12641 from dkurt:dnn_samples_args_autofill
Alexander Alekhin [Sat, 13 Oct 2018 12:28:08 +0000 (12:28 +0000)]
Merge pull request #12641 from dkurt:dnn_samples_args_autofill

5 years agoMerge pull request #12802 from alalek:cmake_pdb
Alexander Alekhin [Sat, 13 Oct 2018 12:25:35 +0000 (12:25 +0000)]
Merge pull request #12802 from alalek:cmake_pdb

5 years agoClean up documentation for imread and imwrite
drkoller [Thu, 11 Oct 2018 20:27:13 +0000 (16:27 -0400)]
Clean up documentation for imread and imwrite

5 years agocore: re-throw allocation exception if there is no fallback
Alexander Alekhin [Fri, 12 Oct 2018 19:10:06 +0000 (19:10 +0000)]
core: re-throw allocation exception if there is no fallback

5 years agoMerge pull request #12811 from take1014:resize_large_image
Alexander Alekhin [Fri, 12 Oct 2018 16:59:25 +0000 (16:59 +0000)]
Merge pull request #12811 from take1014:resize_large_image

5 years agoMerge pull request #12806 from seiko2plus:imgprocPyramidsVSX
Alexander Alekhin [Fri, 12 Oct 2018 16:59:01 +0000 (16:59 +0000)]
Merge pull request #12806 from seiko2plus:imgprocPyramidsVSX

5 years agoresolves 11283
take1014 [Fri, 12 Oct 2018 14:08:03 +0000 (23:08 +0900)]
resolves 11283

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 11 Oct 2018 23:40:55 +0000 (23:40 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoimgproc: Enable VSX on pyrDown & pyrUp
Sayed Adel [Thu, 11 Oct 2018 23:03:57 +0000 (23:03 +0000)]
imgproc: Enable VSX on pyrDown & pyrUp

5 years agoMerge pull request #12803 from alalek:samples_use_cmake_from_msvs
Alexander Alekhin [Thu, 11 Oct 2018 19:30:49 +0000 (19:30 +0000)]
Merge pull request #12803 from alalek:samples_use_cmake_from_msvs

5 years agoMerge pull request #12796 from alalek:fix_openmp_performance
Alexander Alekhin [Thu, 11 Oct 2018 19:29:04 +0000 (19:29 +0000)]
Merge pull request #12796 from alalek:fix_openmp_performance

5 years agoMerge pull request #12791 from alalek:win32_dllmain_detect_termination
Alexander Alekhin [Thu, 11 Oct 2018 19:28:29 +0000 (19:28 +0000)]
Merge pull request #12791 from alalek:win32_dllmain_detect_termination

5 years agoMerge pull request #12784 from terfendail:pyramids_wintr
Alexander Alekhin [Thu, 11 Oct 2018 19:26:36 +0000 (19:26 +0000)]
Merge pull request #12784 from terfendail:pyramids_wintr

5 years agoMerge pull request #12748 from terfendail:resize_wintr2
Alexander Alekhin [Thu, 11 Oct 2018 19:26:17 +0000 (19:26 +0000)]
Merge pull request #12748 from terfendail:resize_wintr2

5 years agoMerge pull request #12623 from sturkmen72:videoio-4
Alexander Alekhin [Thu, 11 Oct 2018 19:24:56 +0000 (19:24 +0000)]
Merge pull request #12623 from sturkmen72:videoio-4

5 years agoMerge pull request #12450 from sturkmen72:update_HOGDescriptor
Alexander Alekhin [Thu, 11 Oct 2018 19:23:35 +0000 (19:23 +0000)]
Merge pull request #12450 from sturkmen72:update_HOGDescriptor

5 years agoMerge pull request #12792 from tomoaki0705:fixCudaImgprocColorGray
Alexander Alekhin [Thu, 11 Oct 2018 16:32:11 +0000 (16:32 +0000)]
Merge pull request #12792 from tomoaki0705:fixCudaImgprocColorGray

5 years agosamples: prefer CMake from MSVS
Alexander Alekhin [Thu, 11 Oct 2018 16:15:52 +0000 (19:15 +0300)]
samples: prefer CMake from MSVS

MSVS is shipped with CMake compoment.

5 years agocmake: improve PDB support
Alexander Alekhin [Wed, 10 Oct 2018 16:16:32 +0000 (19:16 +0300)]
cmake: improve PDB support

5 years agoupdate the threshold
Tomoaki Teshima [Thu, 11 Oct 2018 09:45:20 +0000 (18:45 +0900)]
update the threshold
  * fix test failure of cudaimgproc convert color bgr2lab series

5 years agoMerge pull request #12521 from allnes:detect_qr_code
Alexander Alekhin [Thu, 11 Oct 2018 09:42:05 +0000 (12:42 +0300)]
Merge pull request #12521 from allnes:detect_qr_code

Objdetect: QRCode detect + decode

5 years agoimgproc:simd Enable VSX and wide universal intrinsics for accumulate operations
Sayed Adel [Tue, 2 Oct 2018 18:44:03 +0000 (20:44 +0200)]
imgproc:simd Enable VSX and wide universal intrinsics for accumulate operations

  - improve cpu dispatching calls to allow more SIMD extentions
    (SSE4.1, AVX2, VSX)
  - wide universal intrinsics
  - replace dummy v_expand with v_expand_low
  - replace v_expand + v_mul_wrap with v_mul_expand for product accumulate operations
  - use FMA for accumulate operations
  - add mask and more types to accumulate's performance tests

5 years agoChange behaviour of 16-bit multiply operator
Sayed Adel [Wed, 12 Sep 2018 19:32:34 +0000 (21:32 +0200)]
Change behaviour of 16-bit multiply operator

  - redefine 16-bit multiply operator to perform saturating multiply
    instead of non-saturating multiply
  - implement 8-bit multiply operator to perform saturating multiply
  - implement v_mul_wrap() for 8-bit, 16-bit non-saturating multiply
  - improve performance of v_mul_hi() for VSX
  - update intrin tests with new changes
  - replace unv 16-bit multiplication operator with v_mul_wrap due behavior changes

  - Several improvements depend on vpisarev review

    * initial forward declarations for universal intrinsics
    * move emulating SSE intrinsics into separate file
    * implement v_mul_expand for 8-bit
    * reimplement saturating multiply using v_mul_expand + v_pack
    * map v_expand, v_load_expand, v_load_expand_q to sse4.1
    * fix overflow avx2::v_pack(uint32)
    * implement two universal intrinsics v_expand_low and v_expand_high

5 years agoFixed meanStdDev() implementation for the case input matrix has more than 4 channels
Vitaly Tuzov [Mon, 10 Sep 2018 17:05:45 +0000 (20:05 +0300)]
Fixed meanStdDev() implementation for the case input matrix has more than 4 channels

5 years agojs: enable calib3d code (no bindings)
Alexander Alekhin [Thu, 11 Oct 2018 00:49:45 +0000 (00:49 +0000)]
js: enable calib3d code (no bindings)

5 years agoMerge pull request #12795 from mshabunin:fix-win-python
Alexander Alekhin [Wed, 10 Oct 2018 20:55:32 +0000 (20:55 +0000)]
Merge pull request #12795 from mshabunin:fix-win-python

5 years agoMerge pull request #12794 from alalek:fix_warnings
Alexander Alekhin [Wed, 10 Oct 2018 20:22:07 +0000 (20:22 +0000)]
Merge pull request #12794 from alalek:fix_warnings

5 years agoMerge pull request #12793 from alalek:cmake_fix_python_standalone
Alexander Alekhin [Wed, 10 Oct 2018 20:03:02 +0000 (20:03 +0000)]
Merge pull request #12793 from alalek:cmake_fix_python_standalone

5 years agoMerge pull request #12781 from alalek:videoio_drop_rectification_dc1394
Alexander Alekhin [Wed, 10 Oct 2018 20:01:05 +0000 (20:01 +0000)]
Merge pull request #12781 from alalek:videoio_drop_rectification_dc1394

5 years agocmake: fix Python detection for standalone bindings
Alexander Alekhin [Wed, 10 Oct 2018 13:03:57 +0000 (16:03 +0300)]
cmake: fix Python detection for standalone bindings