platform/upstream/opencv.git
5 years agoocl: define CL_SILENCE_DEPRECATION on MacOSX
Alexander Alekhin [Tue, 26 Mar 2019 10:11:53 +0000 (13:11 +0300)]
ocl: define CL_SILENCE_DEPRECATION on MacOSX

5 years agoMerge pull request #14141 from dkurt:dnn_ie_relax_lrn
Alexander Alekhin [Mon, 25 Mar 2019 13:45:25 +0000 (13:45 +0000)]
Merge pull request #14141 from dkurt:dnn_ie_relax_lrn

5 years agoExtend LRN layer support with IE backend
Dmitry Kurtaev [Mon, 25 Mar 2019 09:49:02 +0000 (12:49 +0300)]
Extend LRN layer support with IE backend

5 years agoMerge pull request #13972 from Mainvooid:add_cuda_support_for_D3D11_interop
iPanda [Sun, 24 Mar 2019 15:34:09 +0000 (23:34 +0800)]
Merge pull request #13972 from Mainvooid:add_cuda_support_for_D3D11_interop

* Add CUDA support for D3D11 interop. #13888

color_detail.hpp: fixed build error : dynamic initialization is not supported for a __constant__ variable.
directx.cpp: Add CUDA support(cl_nv_d3d11_sharing) for D3D11 interop.  #13888

Update directx.cpp

Format adjustment.

Update directx.cpp

fix error.

Update directx.cpp

Format adjustment

Update directx.cpp

fix trailing whitespace.

fix format errors

convert indentation to spaces .
Trim trailing whitespace.
Add information about source of cl_d3d11_ext.h
Avoid unrelated changes.

Increase compile-time conditional judgment.

Increase the judgment of whether the OCL device has the required extensions at compile time.

Add compilation option  `HAVE_CLNVEXT`.Check CL support in runtime.

Check result of `clGetExtensionFunctionAddressForPlatform` for KHR is invalid.It always can get the address(from OpenCL.dll),So I check NV support(from nvopencl64.dll) before KHR when `HAVE_CLNVEXT` is enabled.

Delete cl_d3d11_ext.h

Modified parameter list

fix "cannot open include file: 'CL/cl_d3d11_ext.h'"

 remove not referenced var

fix C2143: syntax error

Improve compile-time judgment.

dlrectx.cpp Modify the detection order.
initializeContextFromD3D11Device:
```
    // try with NV(Need to check it first)
    // try with KHR
```

fix warnig C4100

Revert "fix warnig C4100"

This reverts commit 76e5becb67780071d0cbde61cc4f5f807ad7c5ac.

fix warning C4100

fix warning C4505

Format alignment

Format adjustment and automatically detect header files.

Automatically detect header files when users are not configured or configuration errors occur.

avoid unrelated changes.

Update .cmake

Update .cmake

* fix build errors

* fix warning:defined but not used

* Revert "fix warning:defined but not used"

This reverts commit 7ab3537cd070f89b15bc2926e4ac9ec74c84a122.

* fix warning:defined but not used

* fix build error for mac

* fix build error for win

* optimizing branch judgment

* Revert "optimizing branch judgment"

This reverts commit 88b72b870ec13fd26f64a5ac374484c5cfe80854.

* fix warning C4702: unreachable code

* remove unused code

* Fix problems that may lead to undefined behavior

* Add status check

* fix error C2664,C2665 : cannot convert argument

* Format adjustment

VSCODE will automatically format the indentation to 4 spaces in some situation.

* fix error C2440

* fix error C2440

* add cl_d3d11_ext.h

* Format adjustment

* remove unnecessary checks

5 years agoMerge pull request #14126 from brad-kelly:integral_avx512_cn1
Alexander Alekhin [Sat, 23 Mar 2019 12:09:46 +0000 (12:09 +0000)]
Merge pull request #14126 from brad-kelly:integral_avx512_cn1

5 years agoImplementing AVX512 Support for 1 channel mats for CV_64F format
Brad Kelly [Sat, 23 Feb 2019 00:57:50 +0000 (16:57 -0800)]
Implementing AVX512 Support for 1 channel mats for CV_64F format

5 years agoMerge pull request #14125 from alalek:cmake_ie_env_vars
Alexander Alekhin [Fri, 22 Mar 2019 15:10:25 +0000 (15:10 +0000)]
Merge pull request #14125 from alalek:cmake_ie_env_vars

5 years agocmake: support OpenVINO env variable: INTEL_OPENVINO_DIR
Alexander Alekhin [Thu, 21 Mar 2019 15:58:22 +0000 (18:58 +0300)]
cmake: support OpenVINO env variable: INTEL_OPENVINO_DIR

5 years agoMerge pull request #14109 from PedroFerreiradaCosta:adding_python_version_to_anisotro...
Pedro Ferreira da Costa [Thu, 21 Mar 2019 19:53:12 +0000 (19:53 +0000)]
Merge pull request #14109 from PedroFerreiradaCosta:adding_python_version_to_anisotropic_tutorial

* Created python version of the code for the anisotropic image segmentation tutorial. Created python/cpp toggles for the markdown file.

* fix doxygen warnings

5 years agoMerge pull request #14121 from seiko2plus:cmake_vsx_fix_aligned_test
Alexander Alekhin [Thu, 21 Mar 2019 13:25:39 +0000 (13:25 +0000)]
Merge pull request #14121 from seiko2plus:cmake_vsx_fix_aligned_test

5 years agoMerge pull request #14108 from alalek:fix_python_samples_3.4
Alexander Alekhin [Thu, 21 Mar 2019 13:22:55 +0000 (13:22 +0000)]
Merge pull request #14108 from alalek:fix_python_samples_3.4

5 years agoMerge pull request #14113 from Bharat123rox:calibration
Alexander Alekhin [Thu, 21 Mar 2019 09:55:31 +0000 (09:55 +0000)]
Merge pull request #14113 from Bharat123rox:calibration

5 years agocmake:vsx Fix compilation fail on aligned runtime test when c++11 enabled
Sayed Adel [Thu, 21 Mar 2019 09:19:15 +0000 (11:19 +0200)]
cmake:vsx Fix compilation fail on aligned runtime test when c++11 enabled

5 years agoRemove dead link in calib3d.hpp
Bharat123Rox [Wed, 20 Mar 2019 16:48:29 +0000 (22:18 +0530)]
Remove dead link in calib3d.hpp

5 years agoMerge pull request #14092 from mattismyname:fix-kmeans
Alexander Alekhin [Wed, 20 Mar 2019 16:20:46 +0000 (16:20 +0000)]
Merge pull request #14092 from mattismyname:fix-kmeans

5 years agoMerge pull request #14110 from seiko2plus:core_vsx_fp16
Alexander Alekhin [Wed, 20 Mar 2019 16:04:20 +0000 (16:04 +0000)]
Merge pull request #14110 from seiko2plus:core_vsx_fp16

5 years agoflann/kmeans: Fix non-determinism of KMeans index
Matthew K. Gumbel [Tue, 19 Mar 2019 22:59:35 +0000 (15:59 -0700)]
flann/kmeans: Fix non-determinism of KMeans index

When running with >1 OpenCV thread, KMeans index generation was
non-deterministic because of a RWW race. Issue is resolved by removing
the offending logic from the parallel section.

5 years agoMerge pull request #14069 from terfendail:transform_wintr
Alexander Alekhin [Wed, 20 Mar 2019 15:39:40 +0000 (15:39 +0000)]
Merge pull request #14069 from terfendail:transform_wintr

5 years agosamples: fix python samples compatibility with demo.py
Alexander Alekhin [Tue, 19 Mar 2019 18:03:58 +0000 (21:03 +0300)]
samples: fix python samples compatibility with demo.py

5 years agocore:vsx Add support for VSX3 half precision conversions
Sayed Adel [Wed, 20 Mar 2019 05:51:32 +0000 (07:51 +0200)]
core:vsx Add support for VSX3 half precision conversions

5 years agoMerge pull request #14099 from seiko2plus:vsx_improvements_3
Alexander Alekhin [Tue, 19 Mar 2019 14:59:58 +0000 (14:59 +0000)]
Merge pull request #14099 from seiko2plus:vsx_improvements_3

5 years agoMerge pull request #14103 from alalek:fixup_test_14089
Alexander Alekhin [Tue, 19 Mar 2019 14:19:00 +0000 (14:19 +0000)]
Merge pull request #14103 from alalek:fixup_test_14089

5 years agocore: fix Core_EigenNonSymmetric.convergence test
Alexander Alekhin [Tue, 19 Mar 2019 12:18:43 +0000 (15:18 +0300)]
core: fix Core_EigenNonSymmetric.convergence test

5 years agoMerge pull request #14089 from alalek:fix_14088
Alexander Alekhin [Tue, 19 Mar 2019 10:33:03 +0000 (10:33 +0000)]
Merge pull request #14089 from alalek:fix_14088

5 years agocore:vsx Several improvements(3)
Sayed Adel [Tue, 19 Mar 2019 07:18:12 +0000 (09:18 +0200)]
core:vsx Several improvements(3)

 * optimize v_lut_deinterleave
 * optimize v_interleave_/pairs/quads/triplets
 * optimize v_lut, use vec_extract instead of aligned store

5 years agotransform() implementation updated to utilize wide universal intrinsics
Vitaly Tuzov [Wed, 19 Sep 2018 11:32:33 +0000 (14:32 +0300)]
transform() implementation updated to utilize wide universal intrinsics

5 years agoMerge pull request #14026 from Palmitoxico:android-ndk
Alexander Alekhin [Mon, 18 Mar 2019 15:40:03 +0000 (15:40 +0000)]
Merge pull request #14026 from Palmitoxico:android-ndk

5 years ago Avoid unexpected line breaks in version_string.inc
Augusto Fraga Giachero [Mon, 18 Mar 2019 14:57:05 +0000 (11:57 -0300)]
 Avoid unexpected line breaks in version_string.inc

The Android NDK 16b has a bug that sets the ANDROID_NDK_REVISION
variable incorrectly, generating an unexpected line break in the
middle of the string. This breaks the build as the generated
version_string.inc presents an invalid C string.

Remove leading and trailing line breaks, warns for line breaks in the
middle of 'msg' and escape them before appending to
OPENCV_BUILD_INFO_STR.

5 years agocore: add iterations limit check in eigenNonSymmetric()
Alexander Alekhin [Mon, 18 Mar 2019 14:47:07 +0000 (17:47 +0300)]
core: add iterations limit check in eigenNonSymmetric()

5 years agoMerge pull request #14083 from PedroFerreiradaCosta:adding_quick_navigation_between_t...
Alexander Alekhin [Mon, 18 Mar 2019 13:13:40 +0000 (13:13 +0000)]
Merge pull request #14083 from PedroFerreiradaCosta:adding_quick_navigation_between_tutorials

5 years agoadding missing quick navigation to ImageProc module
Pedro Ferreira da Costa [Sun, 17 Mar 2019 15:35:14 +0000 (15:35 +0000)]
adding missing quick navigation to ImageProc module

5 years agoMerge pull request #14079 from npochhi:cmake_change
Alexander Alekhin [Sat, 16 Mar 2019 16:54:11 +0000 (16:54 +0000)]
Merge pull request #14079 from npochhi:cmake_change

5 years agochanges cmake_system_name matching condition
npochhi [Sat, 16 Mar 2019 14:54:06 +0000 (20:24 +0530)]
changes cmake_system_name matching condition

5 years agoMerge pull request #14071 from alalek:cmake_remove_unreferenced_functions
Alexander Alekhin [Fri, 15 Mar 2019 17:50:18 +0000 (17:50 +0000)]
Merge pull request #14071 from alalek:cmake_remove_unreferenced_functions

5 years agoMerge pull request #14059 from alalek:imgcodecs_disable_jasper
Alexander Alekhin [Fri, 15 Mar 2019 16:32:57 +0000 (16:32 +0000)]
Merge pull request #14059 from alalek:imgcodecs_disable_jasper

5 years agoMerge pull request #14057 from alalek:fix_libtiff_build
Alexander Alekhin [Fri, 15 Mar 2019 16:31:38 +0000 (16:31 +0000)]
Merge pull request #14057 from alalek:fix_libtiff_build

5 years agocmake: clean unreferenced functions from OpenCV modules too
Alexander Alekhin [Fri, 15 Mar 2019 15:54:08 +0000 (18:54 +0300)]
cmake: clean unreferenced functions from OpenCV modules too

5 years agoMerge pull request #14070 from zuoshaobo:my3.4
Alexander Alekhin [Fri, 15 Mar 2019 13:11:31 +0000 (13:11 +0000)]
Merge pull request #14070 from zuoshaobo:my3.4

5 years agofix the region layer's output anchor size normalization error
zuoshaobo [Thu, 14 Mar 2019 07:08:58 +0000 (03:08 -0400)]
fix the region layer's output anchor size  normalization error

5 years agoMerge pull request #14068 from alalek:fix_python_standalone_build
Alexander Alekhin [Fri, 15 Mar 2019 11:33:08 +0000 (11:33 +0000)]
Merge pull request #14068 from alalek:fix_python_standalone_build

5 years agopython: update CMake install rules
Alexander Alekhin [Fri, 15 Mar 2019 10:11:00 +0000 (13:11 +0300)]
python: update CMake install rules

5 years agoimgcodecs: OPENCV_IO_ENABLE_JASPER runtime parameter
Alexander Alekhin [Thu, 14 Mar 2019 20:52:30 +0000 (20:52 +0000)]
imgcodecs: OPENCV_IO_ENABLE_JASPER runtime parameter

5 years ago3rdparty: fix libtiff build
Alexander Alekhin [Thu, 14 Mar 2019 19:32:45 +0000 (19:32 +0000)]
3rdparty: fix libtiff build

Keep `_FILE_OFFSET_BITS` undefined in Android builds.

5 years agoMerge pull request #14050 from npochhi:mlp_ann_eps_change
Alexander Alekhin [Thu, 14 Mar 2019 13:36:57 +0000 (13:36 +0000)]
Merge pull request #14050 from npochhi:mlp_ann_eps_change

5 years agoMerge pull request #14054 from mshabunin:fix-dc1394
Alexander Alekhin [Thu, 14 Mar 2019 13:04:56 +0000 (13:04 +0000)]
Merge pull request #14054 from mshabunin:fix-dc1394

5 years agoMerge pull request #14040 from seiko2plus:issue13211
Alexander Alekhin [Thu, 14 Mar 2019 13:04:35 +0000 (13:04 +0000)]
Merge pull request #14040 from seiko2plus:issue13211

5 years agoRemoved obsolete functions from cap_dc1394_v2.cpp
Maksim Shabunin [Thu, 14 Mar 2019 09:05:52 +0000 (12:05 +0300)]
Removed obsolete functions from cap_dc1394_v2.cpp

5 years agoChanged eps checking condition
npochhi [Thu, 14 Mar 2019 08:31:34 +0000 (14:01 +0530)]
Changed eps checking condition

5 years agocore:vsx working around gcc aligned memory access bug
Sayed Adel [Wed, 13 Mar 2019 05:52:31 +0000 (07:52 +0200)]
core:vsx working around gcc aligned memory access bug

 - allow cmake to check sanity of vsx aligned ld/st
 - force universal intrinsics v_load_aligned/v_store_aligned
   to failback to unaligned ld/st if cmake runtime vsx aligned test fail

5 years agoMerge pull request #13655 from sturkmen72:update_doc_photo
Alexander Alekhin [Wed, 13 Mar 2019 17:57:17 +0000 (17:57 +0000)]
Merge pull request #13655 from sturkmen72:update_doc_photo

5 years agoMerge pull request #13695 from flyingfalling:3.4
Richard Veale [Wed, 13 Mar 2019 17:53:59 +0000 (02:53 +0900)]
Merge pull request #13695 from flyingfalling:3.4

* Fixed bug that made cuda::filter give corrupted output when different filters called in different threads. This was due to use of global texture variable shared by all filters.

* REV: fixed tab issue for opencv coding style...

5 years agoMerge pull request #14045 from rpici:fix_bug_in_test_tiff
Alexander Alekhin [Wed, 13 Mar 2019 16:17:43 +0000 (16:17 +0000)]
Merge pull request #14045 from rpici:fix_bug_in_test_tiff

5 years agoMerge pull request #14021 from dkurt:init_opencv_wasm
Alexander Alekhin [Wed, 13 Mar 2019 16:09:21 +0000 (16:09 +0000)]
Merge pull request #14021 from dkurt:init_opencv_wasm

5 years agoMerge pull request #14046 from alalek:fix_static_analysis_issues_3.4
Alexander Alekhin [Wed, 13 Mar 2019 16:03:21 +0000 (16:03 +0000)]
Merge pull request #14046 from alalek:fix_static_analysis_issues_3.4

5 years agoFix bug in test_tiff.cpp
rpici [Wed, 13 Mar 2019 14:42:47 +0000 (09:42 -0500)]
Fix bug in test_tiff.cpp

The big endian data in the tiff_sample_data array was never being tested.  This could be observed by e.g. changing the 9th byte in the big endian data from 0xde to something that should fail the test, e.g. 0xdd, and the test would still pass even though it should fail.

5 years agofix static analysis issues
Alexander Alekhin [Wed, 13 Mar 2019 14:14:03 +0000 (17:14 +0300)]
fix static analysis issues

5 years agoMerge pull request #14041 from nglee:dev_cudaarithmLUTPtr
Alexander Alekhin [Wed, 13 Mar 2019 14:15:47 +0000 (14:15 +0000)]
Merge pull request #14041 from nglee:dev_cudaarithmLUTPtr

5 years agoMove Ptr-related code from lut.cu to lut.cpp
Namgoo Lee [Wed, 13 Mar 2019 09:52:11 +0000 (18:52 +0900)]
Move Ptr-related code from lut.cu to lut.cpp

5 years agoBackport commits from
Dmitry Kurtaev [Wed, 13 Mar 2019 10:30:04 +0000 (13:30 +0300)]
Backport commits from
https://github.com/opencv/opencv/pull/12601
https://github.com/opencv/opencv/pull/12622

5 years agoMerge pull request #14029 from LaurentBerger:creategrid
Alexander Alekhin [Tue, 12 Mar 2019 14:46:15 +0000 (14:46 +0000)]
Merge pull request #14029 from LaurentBerger:creategrid

5 years agoMerge pull request #14036 from jveitchmichaelis:Y16_v4l_fix
Alexander Alekhin [Tue, 12 Mar 2019 14:38:37 +0000 (14:38 +0000)]
Merge pull request #14036 from jveitchmichaelis:Y16_v4l_fix

5 years agoMerge pull request #14038 from alalek:update_version_3.4.6-pre
Alexander Alekhin [Tue, 12 Mar 2019 12:43:01 +0000 (12:43 +0000)]
Merge pull request #14038 from alalek:update_version_3.4.6-pre

5 years agorelease frame after disabling convert rgb
Josh Veitch-Michaelis [Tue, 12 Mar 2019 05:26:51 +0000 (05:26 +0000)]
release frame after disabling convert rgb

5 years agopre: OpenCV 3.4.6 (version++)
Alexander Alekhin [Tue, 12 Mar 2019 10:29:42 +0000 (13:29 +0300)]
pre: OpenCV 3.4.6 (version++)

5 years agoTutorial create pattern grid for calibration using gen_pattern.py
LaurentBerger [Mon, 11 Mar 2019 15:48:10 +0000 (16:48 +0100)]
Tutorial create pattern grid for calibration using gen_pattern.py

5 years agoMerge pull request #14013 from alalek:imgproc_dispatch_filter
Alexander Alekhin [Mon, 11 Mar 2019 18:59:30 +0000 (18:59 +0000)]
Merge pull request #14013 from alalek:imgproc_dispatch_filter

5 years agoimgproc: dispatch morph
Alexander Alekhin [Mon, 11 Mar 2019 12:37:17 +0000 (12:37 +0000)]
imgproc: dispatch morph

5 years agoimgproc: dispatch box_filter
Alexander Alekhin [Sat, 9 Mar 2019 20:19:05 +0000 (20:19 +0000)]
imgproc: dispatch box_filter

5 years agoimgproc: dispatch bilateral_filter
Alexander Alekhin [Sat, 9 Mar 2019 19:58:48 +0000 (19:58 +0000)]
imgproc: dispatch bilateral_filter

5 years agoimgproc: dispatch smooth
Alexander Alekhin [Sat, 9 Mar 2019 19:20:24 +0000 (19:20 +0000)]
imgproc: dispatch smooth

5 years agoimgproc: dispatch medianBlur
Alexander Alekhin [Sat, 9 Mar 2019 18:55:42 +0000 (18:55 +0000)]
imgproc: dispatch medianBlur

5 years agoimgproc: get rid of filter.avx2.cpp
Alexander Alekhin [Sat, 9 Mar 2019 12:57:48 +0000 (12:57 +0000)]
imgproc: get rid of filter.avx2.cpp

5 years agoimgproc: dispatch filter.cpp
Alexander Alekhin [Sat, 9 Mar 2019 12:21:23 +0000 (12:21 +0000)]
imgproc: dispatch filter.cpp

5 years agoimgproc: keep history of filters files
Alexander Alekhin [Mon, 11 Mar 2019 13:54:07 +0000 (13:54 +0000)]
imgproc: keep history of filters files

5 years agoimgproc: copy .dispatch.cpp
Alexander Alekhin [Sat, 9 Mar 2019 10:57:05 +0000 (10:57 +0000)]
imgproc: copy .dispatch.cpp

5 years agoimgproc: copy .simd.hpp
Alexander Alekhin [Sat, 9 Mar 2019 10:56:50 +0000 (10:56 +0000)]
imgproc: copy .simd.hpp

5 years agoMerge pull request #14022 from alalek:core_fix_neon_intrinsics
Alexander Alekhin [Mon, 11 Mar 2019 13:52:43 +0000 (13:52 +0000)]
Merge pull request #14022 from alalek:core_fix_neon_intrinsics

5 years agocore(intrin): NEON v_load_expand_q() support unaligned addr
Alexander Alekhin [Mon, 11 Mar 2019 12:01:40 +0000 (12:01 +0000)]
core(intrin): NEON v_load_expand_q() support unaligned addr

5 years agoMerge pull request #14015 from saskatchewancatch:issue-13921
Alexander Alekhin [Mon, 11 Mar 2019 10:08:05 +0000 (10:08 +0000)]
Merge pull request #14015 from saskatchewancatch:issue-13921

5 years agoAdd onRuntimeInitialized for opencv.js
Dmitry Kurtaev [Mon, 11 Mar 2019 08:44:16 +0000 (11:44 +0300)]
Add onRuntimeInitialized for opencv.js

5 years agoMerge pull request #13956 from komakai:java-mat-class-improvements
Giles Payne [Sat, 9 Mar 2019 21:11:04 +0000 (06:11 +0900)]
Merge pull request #13956 from komakai:java-mat-class-improvements

* Expose more C++ functionality in the Java wrapper of the Mat class
In particular expose methods for handling Mat with more than 2 dimensions
* add constructors taking an array of dimension sizes
* add constructor taking an existing Mat and an array of Ranges
* add override of the create method taking an array of dimension sizes
* add overrides of the ones and zeros methods taking an array of dimension sizes
* add override of the submat method taking an array of ranges
* add overrides of put and get taking arrays of indices
* add wrapper for copySize method
* fix crash in the JNI wrapper of the reshape(int cn, int[] newshape) method
* add test for each method added to Mat.java

* Fix broken test

5 years agoissue-13921: Support setting compression setting for writing tiff images
Rajkiran Natarajan [Sat, 9 Mar 2019 20:48:21 +0000 (15:48 -0500)]
issue-13921: Support setting compression setting for writing tiff images

5 years agoMerge pull request #13997 from alalek:imgproc_dispatch_cvtcolor
Alexander Alekhin [Fri, 8 Mar 2019 16:18:44 +0000 (16:18 +0000)]
Merge pull request #13997 from alalek:imgproc_dispatch_cvtcolor

5 years agoMerge pull request #13999 from addyi:fixAndroidLintingErrors
Adrian Renner [Thu, 7 Mar 2019 20:18:22 +0000 (21:18 +0100)]
Merge pull request #13999 from addyi:fixAndroidLintingErrors

* fix android lint error in BaseLoaderCallback (LongLogTag)

Lint Error that was causde by the to long TAG:
BaseLoaderCallback.java:31:
Error: The logging tag can be at most 23 characters,
was 31 (OpenCVLoader/BaseLoaderCallback) [LongLogTag]
Log.e(TAG, "Package installation failed!");

* add requested "OCV" prefix for android logging

5 years agoMerge pull request #13875 from allnes:optimization_fuse
Alexander Alekhin [Thu, 7 Mar 2019 14:38:59 +0000 (14:38 +0000)]
Merge pull request #13875 from allnes:optimization_fuse

5 years agoimgproc: dispatch color*
Alexander Alekhin [Thu, 7 Mar 2019 10:25:37 +0000 (13:25 +0300)]
imgproc: dispatch color*

Lab/XYZ modes have been postponed (color_lab.cpp):
- need to split code for tables initialization and for pixels processing first
- no significant performance improvements for switching between SSE42 / AVX2 code generation

5 years agocore: keep history of color*.cpp
Alexander Alekhin [Thu, 7 Mar 2019 12:36:49 +0000 (15:36 +0300)]
core: keep history of color*.cpp

5 years agoimgproc: clone color*.dispatch.cpp
Alexander Alekhin [Wed, 6 Mar 2019 15:00:43 +0000 (18:00 +0300)]
imgproc: clone color*.dispatch.cpp

5 years agoimgproc: clone color*.simd.hpp
Alexander Alekhin [Wed, 6 Mar 2019 14:59:27 +0000 (17:59 +0300)]
imgproc: clone color*.simd.hpp

5 years agoMerge pull request #13979 from alalek:issue_13772
Alexander Alekhin [Thu, 7 Mar 2019 09:53:25 +0000 (09:53 +0000)]
Merge pull request #13979 from alalek:issue_13772

5 years agoMerge pull request #13986 from alalek:perf_ignore_ovx
Alexander Alekhin [Thu, 7 Mar 2019 09:50:49 +0000 (09:50 +0000)]
Merge pull request #13986 from alalek:perf_ignore_ovx

5 years agoMerge pull request #13993 from liuyuns:issue_13963_thresh_nms_yolov3
Alexander Alekhin [Thu, 7 Mar 2019 07:55:34 +0000 (07:55 +0000)]
Merge pull request #13993 from liuyuns:issue_13963_thresh_nms_yolov3

5 years agoAdd ability to read thresh and nms_threshold from YOLO layer in YOLOV3 cfg file.
Easton Liu [Thu, 7 Mar 2019 01:55:48 +0000 (09:55 +0800)]
Add ability to read thresh and nms_threshold from YOLO layer in YOLOV3 cfg file.

Currently the thresh is hard-coded to be 0.2 and nms_threshold as 0.4.

5 years agoMerge pull request #13988 from raymanfx:gstreamer
Alexander Alekhin [Wed, 6 Mar 2019 20:47:03 +0000 (20:47 +0000)]
Merge pull request #13988 from raymanfx:gstreamer

5 years agovideoio: gst: Fix gst assertion on null msg
Christopher N. Hesse [Wed, 6 Mar 2019 16:14:59 +0000 (17:14 +0100)]
videoio: gst: Fix gst assertion on null msg

According to the gstreamer docs [1], the GstMessage pointer returned by
gst_bus_pop() is nullable, meaning NULL is a valid return value.

Previously, gst_is_missing_plugin_message would throw an assert when its
message object parameter would fail the GST_IS_MESSAGE macro check,
crashing the entire process (unless running in a try-catch block of course).

Instead of relying on valid messages, check if the message object itself is
valid before passing it to other gstreamer functions.

[1] https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html#gst-bus-pop

Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
5 years agoperf: ignore _ovx tests
Alexander Alekhin [Wed, 6 Mar 2019 12:52:23 +0000 (15:52 +0300)]
perf: ignore _ovx tests

5 years agoAdded optimization fuse
Alexander Nesterov [Fri, 8 Feb 2019 14:12:33 +0000 (13:12 -0100)]
Added optimization fuse

5 years agoMerge pull request #13880 from catree:add_hand_eye_calibration
Alexander Alekhin [Tue, 5 Mar 2019 16:02:38 +0000 (16:02 +0000)]
Merge pull request #13880 from catree:add_hand_eye_calibration

5 years agoMerge pull request #13980 from terfendail:bresize3_fix
Alexander Alekhin [Tue, 5 Mar 2019 15:59:21 +0000 (15:59 +0000)]
Merge pull request #13980 from terfendail:bresize3_fix

5 years agoMerge pull request #13962 from Christianwidjaya:master
Alexander Alekhin [Tue, 5 Mar 2019 15:00:55 +0000 (15:00 +0000)]
Merge pull request #13962 from Christianwidjaya:master